KonbiniAPI

Get post from X with KonbiniAPI

Returns a public X post including text, author, engagement counts, and media attachments.

This API endpoint returns a public X post including text, author, engagement counts, and media attachments.

Perfect for

  • Retrieve full post metadata for content analysis
  • Track engagement on specific posts over time
  • Archive public posts for research or compliance

1. Make the request

const response = await fetch("https://api.konbiniapi.com/v1/x/posts/2024515585569083437", {
  headers: { "Authorization": "Bearer YOUR_API_KEY" }
});

const data = await response.json();

2. Get clean JSON

Response (200 OK)
{
  "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
    }
  }
}