Fetch a post
Fetch a single public X post by id or URL. Returns the full record: author, text, media, engagement metrics, and any quoted/reposted post.
GET /v1/x/post/{tweet_id}
Path parameter
| Parameter | Type | Description |
|---|---|---|
tweet_id | string | Required. A numeric tweet id (e.g. 1234567890123456789) or a full post URL (e.g. https://x.com/nasa/status/1234567890123456789). URLs from the search endpoint can be passed verbatim. |
Example
curl "$LISTENX_BASE/v1/x/post/1234567890123456789" \
-H "X-API-Key: $LISTENX_KEY"
With a full URL (URL-encode it):
curl -G "$LISTENX_BASE/v1/x/post/https%3A%2F%2Fx.com%2Fnasa%2Fstatus%2F1234567890123456789" \
-H "X-API-Key: $LISTENX_KEY"
Response
{
"id": "1234567890123456789",
"created_at": "Mon Oct 27 10:00:00 +0000 2025",
"text": "We're going back to the Moon. …",
"lang": "en",
"type": "post",
"url": "https://x.com/nasa/status/1234567890123456789",
"conversation_id": "1234567890123456789",
"is_quote": false,
"possibly_sensitive": false,
"metrics": {
"replies": 320, "retweets": 1500, "likes": 22000,
"quotes": 140, "bookmarks": 980, "views": 1800000
},
"entities": {
"hashtags": ["Artemis"], "symbols": [],
"mentions": [], "urls": ["https://www.nasa.gov/…"]
},
"media": [
{
"type": "video",
"media_url": "https://pbs.twimg.com/…",
"video_url": "https://video.twimg.com/…/1280x720.mp4",
"duration_ms": 45000,
"alt_text": null
}
],
"author": {
"id": "11348282",
"screen_name": "NASA",
"name": "NASA",
"description": "Explore the universe …",
"verified": true,
"blue_verified": false,
"followers": 79000000,
"following": 180,
"tweets": 70000
},
"quoted": null,
"retweeted": null,
"fetched_at": "2026-10-30T12:00:00+00:00",
"billing": { "endpoint": "x.post", "units": 1, "unit_price": "0.010000", "amount": "0.010000", "balance_after": "96.99", "request_id": "…" }
}
Fields
| Field | Description |
|---|---|
id | Numeric tweet id. |
type | post, reply, quote, or repost. |
text | Full post text (long-form posts included). |
metrics | Engagement counts — see Overview. |
entities | Hashtags, cashtags (symbols), mentions, and URLs. |
media[] | Attached photos / videos / gifs, with a direct video_url for playable media. |
author | The posting account. |
quoted / retweeted | The nested quoted / reposted post, when present. |
fetched_at | UTC timestamp when the post was captured (metrics are a snapshot from that moment). |
Billing
Billed per request — 1 unit per call. See Billing.
Errors
| Status | Code | Meaning |
|---|---|---|
400 | invalid_tweet_id | No tweet id could be parsed from the input. |
404 | not_found | The post is deleted, protected, or does not exist. |
See Errors for the full catalogue.