tx twitterxapi.com docs

API reference

Lists

Read posts and members from a public X List.

GET

List posts

/v1/lists/{listId}/posts?cursor={cursor}

Get one page from a public List timeline.

curl "https://twitterxapi.com/api/v1/lists/123456789/posts?level=moderate" \
  -H "Authorization: Bearer $TWITTERXAPI_KEY"
GET

List members

/v1/lists/{listId}/members?cursor={cursor}

Get one page of accounts in a public List.

curl "https://twitterxapi.com/api/v1/lists/123456789/members?level=moderate" \
  -H "Authorization: Bearer $TWITTERXAPI_KEY"