x

X user posts

Get a page of the posts on an X user's profile by handle, newest first; tab chooses the posts, replies or media tab. The posts tab holds the account's retweets: ext.is_retweet marks them, with the original post's ID and its author's ID.

Price: $0.002 per call.

20 items on a usual page, 60 at most. A cursor is valid for 3600 seconds.

With username, tab=media: without hashtags, mentions.

An account that does not exist is not answered with a 404: it is reported as an error that may be retried once and is not charged.

get/v1/x/users/posts/list

Request

  • Base URL
    https://api.dataxapi.com
  • Auth
    HTTP bearer

Query parameters

usernamestring required

X handle, without the @

tab'posts' | 'replies' | 'media'

Which tab of the profile: posts (retweets among them), replies (the account's own only: the posts of others it replies to are left out, and parent_id names them), or media

cursorstring

The next_cursor of the previous page. A new page is a new call.

view'compact' | 'standard' | 'full'

How much of each item: compact (the most used fields, long text cut short), standard, or full (adds ext).

fieldsstring[]

Return only these fields of each item, by path (author.name).

Response

OK

code'ok' required
request_idstring uuid required

Changes

No recorded changes to this operation across all 1 revision of this API.