Skip to main content
GET
Get tweet by ID

Authorizations

Authorization
string
header
required

Authentication token passed in the Authorization header as 'Bearer '

Path Parameters

id
string
required

The tweet ID (snowflake ID)

Query Parameters

expanded
enum<string>
default:false

When set to true, returns enhanced tweet data including full text for long-form tweets and complete article content with rich formatting. When false or omitted, returns standard tweet data. Default: false

Available options:
true,
false

Response

Tweet data retrieved successfully

Complete detailed version of a Twitter/X post

id
string
required

The tweet's snowflake ID

type
enum<string>
required

The type of the tweet

Available options:
TWEET,
RETWEET,
QUOTE,
REPLY
created_at
number
required

UNIX timestamp of when the tweet was created in milliseconds

author
object
required

Complete detailed version of a Twitter/X user profile

body
object
required
media
object
required
metrics
object
required
subtweet
any | null

The subtweet (reply, quote, retweet) referenced by this tweet (if any)

reply
object | null

Information about who the tweet is replying to (if any)

quoted
object | null

Information about who the tweet is quoting (if any)

grok
object | null

Embedded Grok xAI conversation preview in the tweet (if any)

card
object | null

Information about an embedded card within the tweet (if any)

poll
object | null

Information about a poll within the tweet (if any)

article
object | null

Information about an article within the tweet (if any)

community
object | null

Information about the community the tweet belongs to (if any). Only available when expanded=true