Skip to documentation

List posts by an X account

x.account.posts
Sync

List posts from an X handle and continue with the returned cursor.

X API
Unit price$0.002 / 1 request
Try in the console

Request parameters

ParameterTypeDescription
screen_nameRequired
string

X handle without @

Minimum length: 1Up to 256 characters
cursor
string

Pagination token from the previous response

Minimum length: 1Up to 16384 characters

Response data

Business data is in execution.result.data. Executions also include status, final cost and an Anyuse request ID.

ParameterTypeDescription
itemsRequired
array

items

items[].idRequired
string

items[].id

items[].text
string

items[].text

items[].title
string

items[].title

items[].username
string

items[].username

next
object

Merge these fields into the original input for the next page, when available

next.cursorRequired
string

Pagination token from the previous response

Minimum length: 1Up to 16384 characters
Execution states and recovery