X Post Info (twitter)
Usar en masa con DataflowEjecuta este endpoint sobre un archivo o una lista, una vez o con una programación.
X Post Info API: fetch public tweet data (text, likes, retweets, views, media) from a status URL or tweet ID via browser rendering.
Credit cost: 2 credits per call
ApiKeyAuthx-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringX tweet to retrieve. Accepts a full status URL or numeric tweet ID.
Examples:
https://x.com/example-user/status/00000000000000000012070215849970119090Notes:
- Legacy
twitter.comstatus URLs are supported. created_atandnamemay be null when not shown on the rendered page.
return_page_source?booleanWhen true, return the raw HTML page source as {"result": "..."} instead of structured JSON. Defaults to false.
fields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
falseSuccessful response
application/json- response
url?stringname?unknowntext?stringmedia?array<string>tweet_id?stringusername?stringverified?booleancreated_at?unknownlike_count?integerview_count?integerreply_count?integerretweet_count?integercurl -X GET 'https://api.piloterr.com/v2/x/post/info?query=string'{
"url": "https://x.com/example-user/status/0000000000000000001",
"name": null,
"text": "Grok Imagine Video has become the clear leader in @vercel AI Gateway, now amounting to ~50% of videos generated by developers 🤯 vercel.com/ai-gateway/lea…",
"media": [
"https://pbs.twimg.com/media/HLrgznVbwAAG4y8.png"
],
"tweet_id": "0000000000000000001",
"username": "example-user",
"verified": true,
"created_at": null,
"like_count": 2517,
"view_count": 232,
"reply_count": 279,
"retweet_count": 791
}