Get the posts an X account highlights
get_x_user_highlightsGet the posts an X account highlights. Returns the profile's Highlights tab: posts the account chose to feature. Only accounts with X Premium can highlight, so for others the list is empty. 404 when the account does not exist, or is protected: a protected account's posts and connections are visible only to accounts it approved. Billed per post returned. The first page also bills one profile lookup, to resolve {user}; later pages carry the account in the cursor and do not. Costs 1 credit + 2 credits per profile returned + 1 credit per post returned. When meta.nextCursor is set, call again with cursor set to it for the next page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | X handle with or without @, a numeric user id, or an x.com profile URL. | |
| limit | No | Most posts to return. X may return fewer. | |
| cursor | No | Opaque cursor from the previous page's `meta.nextCursor`. Pass it back unchanged, with the same path and query parameters; a cursor from another request is rejected with 400. |