Twitter (X) Search Scraper API
Search posts with the operators you use on x.com: from:, since:, exact phrases, hashtags, lang:. Newest or most engaged first.
Query
Endpoint
curl "https://api.toolzerhub.com/v1/x/search?query=openai" \
-H "x-api-key: $TOOLZERHUB_API_KEY"{
"data": {
"count": 20,
"cursor": "ab~DAADDAABCgABHYHF8wGaodUKAAIdgcVMxFtQ5wAIAAIAAAACCAADAAAAAAgABAAAAAAKAAUdgcYGIEAnEAoABh2BxgYgP9jwCwAHAAAA8EVtUEM2d0FBQWZRL2dHSk4wdkdwL0…",
"has_more": true,
"posts": [
{
"id": "2126198146590220757",
"url": "https://…",
"text": "@gao9498 Grok BotsやOpenAI DotsにGoogleも参入となると、エージェントの主戦場が「モデル」から「常駐するBot」へ移りつつある感じですね。Gemini 4 Neonの発表(11/18)が事実なら、Bot化はその延長線として自然。権限管理と誤作…",
"created_at": "2026-11-27T06:15:15.000Z",
"like_count": 0,
"repost_count": 0,
"view_count": 0,
"author": {
"handle": "hidden"
}
},
{
"id": "2126198082714877968",
"url": "https://…",
"text": "📌 ChatGPT kullanım limitlerinde değişiklik: Sınıra ulaşma riski arttı\n\nOpenAI, ChatGPT’deki Sohbet (Chat) ve İş (Work) deneyimlerini tek …",
"created_at": "2026-11-27T06:15:00.000Z",
"like_count": 0,
"repost_count": 0,
"view_count": 9,
"author": {
"handle": "hidden"
}
},
{
"id": "2126198082501017700",
"url": "https://…",
"text": "盘完这周的牌桌,才发现奥特曼现在已经彻底被逼到墙角了:\n\n最大金主微软偷偷掏出只要 5% 价格的 MAI Code 2 背刺;谷歌反手上线官方蒸馏服务,直接帮全行业合法白嫖推理能力;国内开源模型把 OpenRouter 69% 的账单全吃干抹净。\n\n产品打不过、价格卷不动,…",
"created_at": "2026-11-27T06:15:00.000Z",
"like_count": 0,
"repost_count": 0,
"view_count": 0,
"author": {
"handle": "hidden"
}
}
]
}
}- 5
- 20
- $0.42
- $0.23
Inputs
What you send
GET /v1/x/search with your key in the x-api-key header.
| Parameter | Example | Notes |
|---|---|---|
| queryrequired | openai | Any X search, operators included. |
| sort | latest | latest or top. |
| cursor | ab~DAAD… | From the previous response. |
Limits
Good to know
- sort=latest returns newest first; narrow broad queries with since: and until:.
How it works
From key to JSON
- 01x-api-key••••••••••Get a key
- 02GET/v1/x/searchSend a request
- 03{ data, status }200Get JSON
Pricing
1,000 posts cost $0.42
50 calls at 5 credits each is 250 credits: $0.42 on the $5 3K pack, down to $0.23 on the largest plan. The free 100 credits a month cover about 400 posts, and failed calls are not charged.
FAQ
Questions
- Which operators work?
- What does monitoring a brand cost?
- Can I search profiles instead?
Related
Often used with it
Same key, same credits. Every X (Twitter) endpoint is on the X (Twitter) API page.
Try the Twitter (X) Search API free
Every new workspace gets 100 credits a month. Buy credits only when you need more.
Get free API key(opens in new tab)