Search X (Twitter) posts and accounts by keyword or query.
No credit card required · Pay only for what you use
curl -X POST "https://api.dataguru.cc/api/v1/x/search" \
-H "Authorization: Api-Key YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"limit": "5", "query": "example"}'{
"x_search": {
"query": "string",
"search_url": "https://example.com/...",
"total_results": 0,
"results": [
{
"post_id": "1234567890",
"post_url": "https://example.com/...",
"author_username": "string",
"author_name": "string",
"author_id": "1234567890",
"author_profile_image": "string",
"text": "string",
"embedded_hashtags": [
"string"
],
"create_time": "string",
"reply_count": 0,
"retweet_count": 0,
"like_count": 0,
"quote_count": 0,
"view_count": 0,
"save_count": 0,
"is_retweet": false,
"is_pinned": false
}
]
},
"_metadata": {
"request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e",
"execution_time_ms": 842,
"endpoint": "X (Twitter) Search",
"mode": "live",
"format": "json",
"timestamp": "2026-01-01T12:00:00+00:00"
}
}Data
Every response follows the same schema, so you can map it once and rely on it.
| Name | Type | Description |
|---|---|---|
| limit | integer | Maximum number of search results to return (1-50). |
| queryrequired |
Features
DataGuru handles proxies, retries and anti-bot measures for you. You just send a request.
Every response uses the same 4 fields, so your parser never breaks.
Send query and get results back. No browser automation or HTML parsing on your side.
Use cases
Find creators by audience, topic and engagement to build better campaigns.
Follow mentions and conversations about your brand as they happen.
Understand who engages with you and your competitors.
Who it's for
Get started
Sign up in seconds and get $1.00 of free balance to test with.
Generate a key in the Developer Portal and send it in the Authorization header.
Call POST /api/v1/x/search with your parameters.
FAQ
More APIs
Get a public Instagram profile: name, bio, link, follower and following counts and more.
Social MediaGet the details of a public Instagram post or reel: caption, hashtags, tagged users, media and engagement.
Social MediaGet the public comments on an Instagram post or reel.
| string |
| Search query or topic, e.g. "openai" or "AI". |
Get the data in the response, or add ?async=true and poll the job for long-running requests.
Up to 60 requests per minute and 10,000 per day on this endpoint.
No subscription or monthly minimum. Usage is deducted from your prepaid balance.
Add public profile details to the leads already in your CRM.
Spot rising topics and formats before they peak.
Compare follower growth and engagement against competitors.
Use the response straight away in your app, spreadsheet or pipeline.
Get a public TikTok profile: username, name, bio, follower and following counts, likes, verification, stats and profile photo.