KonbiniAPI

Get user highlights — X API

Returns the public Highlights tab selection as visible to not logged in users. This feed is not guaranteed to be chronological. Pages may overlap: a pinned post is repeated on every page, so deduplicate by id when paging.

GET/v1/x/users/{username}/highlights1 credit per request
Example response200OK
{
  "data": {
    "type": "OrderedCollectionPage",
    "partOf": "https://api.konbiniapi.com/v1/x/users/KhabyLame/highlights",
    "itemCount": 5,
    "orderedItems": [
      {
        "type": "Note",
        "id": "https://x.com/KhabyLame/status/2024515585569083437",
        "entityId": "2024515585569083437",
        "content": "Keep it simple.",
        "likeCount": 124000,
        "published": "2026-05-01T10:00:00.000Z"
      }
    ]
  }
}

Make the request.

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

  • Extract pinned or curated content from public profiles
  • Identify key posts a creator wants to surface
  • Content curation and archiving workflows
const response = await fetch("https://api.konbiniapi.com/v1/x/users/KhabyLame/highlights", {
  headers: { "Authorization": "Bearer YOUR_API_KEY" }
});

const data = await response.json();
Parameters3
  • usernamerequiredIn · PathType · stringX username (with or without @ symbol)
  • countIn · QueryType · integerNumber of highlighted posts to return per page (maximum: 100)1–100default 40
  • 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.