Twitter Search API
Discover post IDs from a query before looking up a focal result.
Twitter Search API →Workflow · Tweet lookup API
Turn a tweet ID into a stable record with text, author ID, an available timestamp, engagement metrics, language, entities, and public context fields.
Copyable request + contract response example
The response example is generated from the endpoint docs manifest and its field names are backed by the public OpenAPI schema.
curl 'https://api.xfetch.io/v1/tweets/2055734812669865997' \ -H "Authorization: Bearer $XFETCH_API_KEY"
{
"data": {
"id": "2055734812669865997",
"text": "These come from court transcripts",
"author_id": "44196397",
"created_at": "2026-05-16T19:39:07.000Z",
"lang": "en",
"conversation_id": "2055734812669865997",
"possibly_sensitive": false,
"like_count": 45028,
"retweet_count": 9207,
"reply_count": 2190,
"quote_count": 236,
"bookmark_count": 3116,
"is_quote_status": true,
"entities": {
"hashtags": [],
"urls": [],
"mentions": []
},
"display_text_range": [
0,
33
],
"quoted_tweet_id": "2055714457343471890"
},
"meta": {
"request_id": "req_01HXFETCHEXAMPLE",
"credits": {
"charged": 1,
"remaining": 999
}
}
}One workflow
Use single-tweet lookup after a search hit, webhook event, saved citation, or user-provided URL has already identified the post you need.
Extract or store the tweet's numeric ID in your application.
Call the single-tweet endpoint with bearer authentication.
Use the normalized record directly or follow a related context workflow.
Code-derived cost
The rule and worked charge below come from the shared endpoint-pricing catalog used by billing and the API reference.
Current rule
The endpoint returns one tweet object and maps to the single-object lookup pricing key.
Documented response example
1 creditsThe example contains 1 primary record. Failed validation, authentication, insufficient-credit, rate-limit, service-side, and internal failures are not charged.
FAQ
Google sign-in opens the dashboard playground with this endpoint selected.