X Post Details
Look up one X post by ID. This is not an X keyword search, timeline export or streaming endpoint.
- Endpoint
- POST https://api.serpbase.dev/x/post
- Price
- 1 credit
- Authentication
- X-API-Key
You pay for successful requests only. Each endpoint has a fixed price in credits — most cost 1 or 2 — and a request that fails gives its credits back automatically. Billing →
Need the whole Google results page instead? The Google SERP API returns organic results, AI Overviews and People Also Ask as JSON.
Example
curl -X POST 'https://api.serpbase.dev/x/post' \
-H "Content-Type: application/json" \
-H 'X-API-Key: YOUR_API_KEY' \
--max-time 60 \
-d '{"id":"20"}'{
"status": 0,
"credits_charged": 1,
"request_id": "r-4b27fe8a36d9ac303a5da7dd",
"product_id": "x_post",
"action": "post",
"post": {
"author": {
"link": "https://x.com/jack",
"name": "jack",
"url": "https://x.com/jack",
"username": "jack"
},
"id": "20",
"link": "https://x.com/jack/status/20",
"text": "just setting up my twttr",
"url": "https://x.com/jack/status/20"
},
"source": "x",
"url": "https://x.com/jack/status/20"
}Frequently asked questions
How much does the X Post Details API cost?
Each request costs 1 credit. Credits come from prepaid packs or the monthly plan, and new accounts start with free credits.
How do I call the X Post Details API?
Send a POST request to https://api.serpbase.dev/x/post with your API key in the X-API-Key header. The response is JSON; check status (0 means success).
Which devices does it support?
Supported devices: desktop. The default is desktop.
Is the X Post Details API available now?
Yes. Any active API key can call it.