x

Get Posts authored by an X user

Return a cursor-paginated timeline of Posts authored by an X user, newest first, optionally dropping replies via the exclude parameter. Each page carries a cursor for fetching older Posts — useful for profiling an account's content, monitoring an author, or archiving a feed.

get/x/users/{id}/tweets

Request

  • Base URL: https://api.unifapi.com
  • URL: https://api.unifapi.com/x/users/{id}/tweets
  • Auth: HTTP bearer

Path parameters

idstring required

X resource id.

Query parameters

expansionsstring
tweet.fieldsstring
user.fieldsstring
media.fieldsstring
place.fieldsstring
poll.fieldsstring
pagination_tokenstring
next_tokenstring
max_resultsinteger
excludestring

Comma-separated X timeline exclusions, e.g. replies.

Headers

Unifapi-Version'2026-07-01'

Pin the API version an integration was built against (date-based, e.g. 2026-07-01). Omit to use the current version. Public URL paths stay stable and unversioned; breaking changes ship under a new dated version and are announced with Deprecation and Sunset response headers. The served version is echoed in every response's Unifapi-Version header. Policy: https://unifapi.com/versioning.md

Response

OK

request_idstring required

UnifAPI request id for support and ledger correlation.

Changes

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