Twitter

List Twitter profile tweets

List tweets from an X profile by handle or numeric user id.

get/v1/twitter/profiles/{handle}/tweets

Request

  • Base URL: https://api.socialfetch.dev
  • URL: https://api.socialfetch.dev/v1/twitter/profiles/{handle}/tweets
  • Auth: one of:
    • API key in header x-api-key
    • none

Path parameters

handlestring required

X (Twitter) profile handle without the leading @, or a numeric user id.

Query parameters

limitinteger

Requested page size (1–100). Best-effort; the actual page size may differ.

cursorstring

Opaque pagination cursor returned by a previous response.

includeRepliesboolean

When true, includes reply tweets. Defaults to false.

includePinnedboolean

When true, includes the pinned tweet when available.

by'id' | 'handle'

Treat the path value as a handle or a numeric user id. Defaults to id when the value is all digits.

Response

Tweets for the requested profile.

Changes

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