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": {
    "@context": [
      "https://www.w3.org/ns/activitystreams#",
      "https://konbiniapi.com/ns/social#"
    ],
    "permission": {
      "comment": "members"
    },
    "type": "Note",
    "id": "https://x.com/elonmusk/status/2110913107094606330",
    "url": "https://x.com/elonmusk/status/2110913107094606330",
    "entityId": "2110913107094606330",
    "content": "Turns out the future does have flying cars https://t.co/6fexPp6SXI",
    "published": "2026-10-16T01:57:58.000Z",
    "likeCount": 824681,
    "replyCount": 46110,
    "viewCount": 73268619,
    "repostCount": 99345,
    "quoteCount": 32050,
    "saveCount": 63751,
    "contentFormat": "post",
    "language": "en",
    "isAdult": false,
    "isEdited": false,
    "attributedTo": {
      "type": "Person",
      "id": "https://x.com/elonmusk",
      "url": "https://x.com/elonmusk",
      "entityId": "44196397",
      "preferredUsername": "elonmusk",
      "name": "Elon Musk",
      "icon": {
        "type": "Image",
        "url": "https://pbs.twimg.com/amplify_video_thumb/2110913027490934784/img/Ya3Xqn9K4XmCb-h5.jpg",
        "name": "Starship lifting off",
        "summary": "Starship on the launch pad at Starbase",
        "status": "Dmcaed",
        "tag": [
          {
            "type": "Tag",
            "name": "Starship",
            "href": "https://x.com/hashtag/Starship",
            "startIndex": 3,
            "endIndex": 7
          }
        ],
        "width": 1920,
        "height": 1080
      },
      "role": "Member",
      "isPrivate": false,
      "isVerified": false,
      "isPaidVerified": true,
      "summary": "https://t.co/ZdBx5WABYx",
      "attachment": [
        {
          "type": "Link",
          "href": "http://Terafab.AI",
          "rel": "preferred"
        }
      ],
      "affiliation": {
        "name": "NASA"
      },
      "withheldIn": [
        "IN"
      ],
      "followerCount": 241511987,
      "followingCount": 1420,
      "likeCount": 253904,
      "postCount": 110457,
      "mediaCount": 4741,
      "listedCount": 171022,
      "location": "Austin, Texas"
    },
    "inReplyTo": "https://x.com/elonmusk/status/1519480761749016577",
    "context": {
      "type": "Note",
      "id": "https://x.com/elonmusk/status/2110913107094606330",
      "url": "https://x.com/elonmusk/status/2110913107094606330",
      "entityId": "2110913107094606330"
    },
    "audience": {
      "type": "Group",
      "id": "https://x.com/i/communities/1669501013441806336",
      "url": "https://x.com/i/communities/1669501013441806336",
      "entityId": "1669501013441806336",
      "name": "Memes"
    },
    "quote": {
      "permission": {
        "comment": "members"
      },
      "type": "Note",
      "id": "https://x.com/elonmusk/status/2110913107094606330",
      "url": "https://x.com/elonmusk/status/2110913107094606330",
      "entityId": "2110913107094606330",
      "content": "Turns out the future does have flying cars https://t.co/6fexPp6SXI",
      "published": "2026-10-16T01:57:58.000Z",
      "likeCount": 824681,
      "replyCount": 46110,
      "viewCount": 73268619,
      "repostCount": 99345,
      "quoteCount": 32050,
      "saveCount": 63751,
      "contentFormat": "post",
      "language": "en",
      "isAdult": false,
      "isEdited": false,
      "attributedTo": {
        "type": "Person",
        "id": "https://x.com/elonmusk",
        "url": "https://x.com/elonmusk",
        "entityId": "44196397",
        "preferredUsername": "elonmusk",
        "name": "Elon Musk",
        "icon": {
          "type": "Image",
          "url": "https://pbs.twimg.com/amplify_video_thumb/2110913027490934784/img/Ya3Xqn9K4XmCb-h5.jpg",
          "name": "Starship lifting off",
          "summary": "Starship on the launch pad at Starbase",
          "status": "Dmcaed",
          "tag": [
            {
              "type": "Tag",
              "name": "Starship",
              "href": "https://x.com/hashtag/Starship",
              "startIndex": 3,
              "endIndex": 7
            }
          ],
          "width": 1920,
          "height": 1080
        },
        "role": "Member",
        "isPrivate": false,
        "isVerified": false,
        "isPaidVerified": true,
        "summary": "https://t.co/ZdBx5WABYx",
        "attachment": [
          {
            "type": "Link",
            "href": "http://Terafab.AI",
            "rel": "preferred"
          }
        ],
        "affiliation": {
          "name": "NASA"
        },
        "withheldIn": [
          "IN"
        ],
        "followerCount": 241511987,
        "followingCount": 1420,
        "likeCount": 253904,
        "postCount": 110457,
        "mediaCount": 4741,
        "listedCount": 171022,
        "location": "Austin, Texas"
      },
      "inReplyTo": "https://x.com/elonmusk/status/1519480761749016577",
      "context": {
        "type": "Note",
        "id": "https://x.com/elonmusk/status/2110913107094606330",
        "url": "https://x.com/elonmusk/status/2110913107094606330",
        "entityId": "2110913107094606330"
      },
      "audience": {
        "type": "Group",
        "id": "https://x.com/i/communities/1669501013441806336",
        "url": "https://x.com/i/communities/1669501013441806336",
        "entityId": "1669501013441806336",
        "name": "Memes"
      },
      "image": [
        {
          "type": "Image",
          "url": "https://pbs.twimg.com/amplify_video_thumb/2110913027490934784/img/Ya3Xqn9K4XmCb-h5.jpg",
          "name": "Starship lifting off",
          "summary": "Starship on the launch pad at Starbase",
          "status": "Dmcaed",
          "tag": [
            {
              "type": "Tag",
              "name": "Starship",
              "href": "https://x.com/hashtag/Starship",
              "startIndex": 3,
              "endIndex": 7
            }
          ],
          "width": 1920,
          "height": 1080
        }
      ],
      "attachment": [
        {
          "type": "Video",
          "url": [
            "https://video.twimg.com/amplify_video/2110913027490934784/vid/avc1/480x270/-5TS0Hah7_RnCNYX.mp4?tag=29"
          ],
          "mediaType": "video/mp4",
          "width": 1920,
          "height": 1080,
          "name": "Starship lifting off",
          "summary": "Starship on the launch pad at Starbase",
          "status": "Dmcaed",
          "tag": [
            {
              "type": "Tag",
              "name": "Starship",
              "href": "https://x.com/hashtag/Starship",
              "startIndex": 3,
              "endIndex": 7
            }
          ],
          "bitrate": 10368000,
          "duration": 15.395
        }
      ],
      "tag": [
        {
          "type": "Tag",
          "name": "Starship",
          "href": "https://x.com/hashtag/Starship",
          "startIndex": 3,
          "endIndex": 7
        }
      ],
      "generator": {
        "type": "Application",
        "name": "Twitter for iPhone",
        "url": "https://help.x.com/en/using-x/how-to-post"
      }
    },
    "image": [
      {
        "type": "Image",
        "url": "https://pbs.twimg.com/amplify_video_thumb/2110913027490934784/img/Ya3Xqn9K4XmCb-h5.jpg",
        "name": "Starship lifting off",
        "summary": "Starship on the launch pad at Starbase",
        "status": "Dmcaed",
        "tag": [
          {
            "type": "Tag",
            "name": "Starship",
            "href": "https://x.com/hashtag/Starship",
            "startIndex": 3,
            "endIndex": 7
          }
        ],
        "width": 1920,
        "height": 1080
      }
    ],
    "attachment": [
      {
        "type": "Video",
        "url": [
          "https://video.twimg.com/amplify_video/2110913027490934784/vid/avc1/480x270/-5TS0Hah7_RnCNYX.mp4?tag=29"
        ],
        "mediaType": "video/mp4",
        "width": 1920,
        "height": 1080,
        "name": "Starship lifting off",
        "summary": "Starship on the launch pad at Starbase",
        "status": "Dmcaed",
        "tag": [
          {
            "type": "Tag",
            "name": "Starship",
            "href": "https://x.com/hashtag/Starship",
            "startIndex": 3,
            "endIndex": 7
          }
        ],
        "bitrate": 10368000,
        "duration": 15.395
      }
    ],
    "tag": [
      {
        "type": "Tag",
        "name": "Starship",
        "href": "https://x.com/hashtag/Starship",
        "startIndex": 3,
        "endIndex": 7
      }
    ],
    "generator": {
      "type": "Application",
      "name": "Twitter for iPhone",
      "url": "https://help.x.com/en/using-x/how-to-post"
    }
  }
}

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/2110913107094606330", {
  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.