Highlighted posts of an X account
x_user_highlightsThe posts an X account highlights on its profile, paginated.
The posts an account has added to its Highlights tab, newest highlighted first, paginated with after. Empty for accounts that highlight nothing.
Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"username": "<username>"
},
"name": "x_user_highlights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Cursor: the previous page's `meta.next_token`. | |
| username | Yes | Handle, with or without the @, or a profile URL. |