Skip to main content
GET
Look up an X post by id or URL

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Query Parameters

id
string
required

Numeric post id or a post URL (e.g. https://x.com/user/status/123).

account_id
string

Connected X account to act as (sacct_ prefix id). Optional: a platform connects once per account, so the X account is resolved automatically.

Response

The X post

id
string

X post id.

text
string
created
string

Publication time (ISO 8601).

conversation_id
string

Root post of the thread this belongs to.

in_reply_to_tweet_id
string | null

The post this replies to, if any.

lang
string
author
object
like_count
integer
reply_count
integer
retweet_count
integer
quote_count
integer
platform
string