KonbiniAPI

Get user profile — X API

Returns profile information for a public X account including bio, follower counts, verification flags, and profile images.

GET/v1/x/users/{username}1 credit per request
Example response200OK
{
  "data": {
    "@context": [
      "https://www.w3.org/ns/activitystreams#",
      "https://konbiniapi.com/ns/social#"
    ],
    "affiliation": {
      "name": "NASA"
    },
    "withheldIn": [
      "IN"
    ],
    "type": "Person",
    "id": "https://x.com/elonmusk",
    "url": "https://x.com/elonmusk",
    "entityId": "44196397",
    "name": "Elon Musk",
    "preferredUsername": "elonmusk",
    "summary": "https://t.co/ZdBx5WABYx",
    "attachment": [
      {
        "type": "Link",
        "href": "http://Terafab.AI",
        "rel": "preferred"
      }
    ],
    "published": "2009-06-02T20:12:29.000Z",
    "isPrivate": false,
    "isVerified": false,
    "isPaidVerified": true,
    "verifiedSince": "2023-11-09T00:00:00.000Z",
    "followerCount": 241511977,
    "followingCount": 1420,
    "likeCount": 253904,
    "postCount": 110457,
    "mediaCount": 4741,
    "memberCount": 87,
    "listedCount": 171022,
    "language": "en",
    "category": "Engineer",
    "pinned": [
      {
        "type": "Note",
        "id": "https://x.com/elonmusk/status/2110913107094606330",
        "url": "https://x.com/elonmusk/status/2110913107094606330",
        "entityId": "2110913107094606330"
      }
    ],
    "tag": [
      {
        "type": "Tag",
        "name": "Starship",
        "href": "https://x.com/hashtag/Starship",
        "startIndex": 3,
        "endIndex": 7
      }
    ],
    "location": "Pretoria, South Africa",
    "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
    },
    "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
      }
    ]
  }
}

Make the request.

One authenticated GET to /v1/x/users/{username}. 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

  • Influencer research and audience size verification
  • Competitor account monitoring and benchmarking
  • Brand account metadata extraction
const response = await fetch("https://api.konbiniapi.com/v1/x/users/elonmusk", {
  headers: { "Authorization": "Bearer YOUR_API_KEY" }
});

const data = await response.json();
Parameters1
  • usernamerequiredIn · PathType · stringX username (with or without @ symbol)

What you will probably call next.

The X endpoints around this one — the same object at a different depth, or the same kind of read.

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.