X Unified API
X (Twitter) social data: profiles, posts, conversations, batch lookup, recent and date-filtered search, trending topics, curated creator catalog and realtime profile activity streams.
Independent service, not affiliated with X Unified API. X Unified API is a trademark of its owner.
What you can get
- Profile lookup by username or ID, batch profile lookup (up to 100) and user search
- Recent posts, conversation timelines, quote posts, mentions, media and published articles
- Bounded recent and date-filtered post search, trending topics and curated creator catalog
- Real-time profile activity SSE stream for up to 100 tracked usernames
First request
Example: GET /2/tweets/search/recent. Send your key in the X-Hub-Key header.
curl -sS -H "X-Hub-Key: $API_HUB_KEY" \
"https://openapihub.dev/run/x_unified_api/2/tweets/search/recent?query=from:jack&max_results=5"Response
The provider's JSON arrives unchanged in data. Abridged example; values change with the market.
{
"source": "x_unified_api",
"status": 200,
"data": {
"data": [{
"id": "1850000000000000000",
"text": "Latest post text…",
"author_username": "jack"
}]
}
}Limits and key
80 requests per second per key, bursts up to 160, 60 requests in flight. On 429, wait for Retry-After. Limits · Pricing · OpenAPI JSON
Get a free key in the Telegram bot: one key per account, issued in a few seconds.
Use cases
All endpoints
Server-sent events
GET
/stream/x_unified_api/profiles/{username}/events [SSE] — Stream posts and available profile activityPosts
Profiles