KonbiniAPI

Get user posts — X API

Returns public posts from a user's profile. This feed is not guaranteed to be chronological and is often a ranked public selection. Pages may overlap: a pinned post is repeated on every page, so deduplicate by id when paging.

GET/v1/x/users/{username}/posts1 credit per request
Example response200OK
{
  "data": {
    "@context": [
      "https://www.w3.org/ns/activitystreams#",
      "https://konbiniapi.com/ns/social#"
    ],
    "type": "OrderedCollectionPage",
    "partOf": "https://api.konbiniapi.com/v1/x/users/elonmusk/posts",
    "totalItems": null,
    "cursor": null,
    "nextCursor": "DAABCgABHOkX2xF__-8LAAIAAAATMj",
    "next": "https://api.konbiniapi.com/v1/x/users/elonmusk/posts?cursor=DAABCgABHOkX2xF__-8LAAIAAAATMj",
    "itemCount": 30,
    "orderedItems": [
      {
        "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/users/{username}/posts. 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

  • Content analysis and posting frequency tracking
  • Brand mention monitoring across accounts
  • Competitor content strategy research
const response = await fetch("https://api.konbiniapi.com/v1/x/users/elonmusk/posts", {
  headers: { "Authorization": "Bearer YOUR_API_KEY" }
});

const data = await response.json();
Parameters2
  • usernamerequiredIn · PathType · stringX username (with or without @ symbol)
  • cursorIn · QueryType · stringPagination cursor

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.