---
name: x.tweets.search
slug: tweets-search
title: "Search tweets"
subject: x
topics: [social]
managed: true
url: https://duang.ai/data/x/tweets-search
---

# Search tweets (`x.tweets.search`)

Asks the providers the team has connected, one after another, for tweets that match `query`, which takes X's own search syntax (`from:nasa`, `"exact phrase"`, `since:2026-01-01`, `-filter:replies`). `sort` is `latest` (the default) or `top`. `limit` is how many tweets, up to 20; a provider gives one page. Returns `tweets`, each with its `id`, `url`, `text` and, where the provider says them, its author's handle (`author`), when it was posted (`created_at`) and its `likes`, `retweets`, `replies`, `quotes` and `views` counts. A query that finds nothing is not an error: the call ends with no result.

- **Platform**: [X](https://duang.ai/data/x)
- **Pricing**: Pay per call from $0.000015 / call, or use your own provider key
- **Billing & safety**: Prepaid USD wallet from $10 via Stripe (no virtual credits, no auto-recharge). Failed upstream calls cost $0. Team connections never silently fall back to paid billing.

## Providers & Per-Call Pricing

| Provider | Operation | Price |
| :--- | :--- | :--- |
| [TwitterAPI.io](https://duang.ai/providers/twitterapi-io) | `GET api.twitterapi.io/twitter/tweet/advanced_search` | $0.000015 / unit |
| [Just One API](https://duang.ai/providers/justoneapi) | `GET api.justoneapi.com/api/twitter/search/v1` | $0.00225 / unit |
| [Scrape Creators](https://duang.ai/providers/scrapecreators) | `GET api.scrapecreators.com/v1/twitter/search/posts` | $0.00282 / unit |
| [TikHub](https://duang.ai/providers/tikhub) | `GET api.tikhub.io/api/v1/twitter/web/fetch_search_timeline` | Usage-based USD |

## Input Parameters

| Parameter | Type | Required | Description |
| :--- | :--- | :--- | :--- |
| `query` | `string` | yes | - |
| `sort` | `string` | no | - |
| `limit` | `integer` | no | - |

## Call via Duang
- Remote MCP endpoint: `https://api.duang.ai/mcp` (exposes 4 meta-tools: `discover`, `inspect`, `call`, `get_call`)
- Agent skill: https://duang.ai/SKILL.md
- CLI: `duang inspect x.tweets.search`
