Get post — X API
Returns a public X post including text, author, engagement counts, and media attachments.
GET
/v1/x/posts/{postId}1 credit per requestExample response200OK
Make the request.
One authenticated GET to /v1/x/posts/{postId}. Authentication and error conventions stay consistent across endpoints. This page shows the path, parameters, response shape, limits, and credit rule for this operation.
Built for
- Retrieve full post metadata for content analysis
- Track engagement on specific posts over time
- Archive public posts for research or compliance
const response = await fetch("https://api.konbiniapi.com/v1/x/posts/2024515585569083437", {
headers: { "Authorization": "Bearer YOUR_API_KEY" }
});
const data = await response.json();
Parameters1
- postIdrequiredIn · PathType · stringX post ID
Try it on your own data.
Get a free API key and make this request in minutes. Failed and timed-out requests are automatically refunded.