KonbiniAPI

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 request
Example response200OK
{
  "data": {
    "type": "Note",
    "id": "https://x.com/KhabyLame/status/2024515585569083437",
    "entityId": "2024515585569083437",
    "content": "Keep it simple.",
    "likeCount": 124000,
    "replyCount": 3200,
    "repostCount": 18000,
    "published": "2026-05-01T10:00:00.000Z",
    "attributedTo": {
      "type": "Person",
      "preferredUsername": "KhabyLame",
      "name": "Khabane Lame",
      "isVerified": true
    }
  }
}

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.