Skip to content
OperationsX (Twitter)

Get a tweet

One tweet on X (Twitter), by its address or its id: its text, counts, media, author, the tweet it quotes or answers, read with your connected X account.

x/tweets/get1 credit a callv1.4.0

When to use it

You have a tweet's address (https://x.com/nasa/status/...) or its id and want the tweet as it is now: its text, its counts of replies, reposts, likes and views, its media, its author. One call, one tweet. A reply says which tweet it answers (in_reply_to); a quote comes with the tweet quoted. It needs one of your X accounts connected (POST /v2/accounts), and X counts each account's requests: about 300 tweets for 15 minutes. For a tweet's replies, use x/replies/list; for an account's tweets, x/tweets/list; for tweets about a subject, x/tweets/search.

It runs with one of your own X (Twitter) accounts, connected once: Accounts.

Try it

The options on the left write the call; the answer on the right is the contract's example. With your API key, the same call returns live data.

1Request
The tweet: its address on x.com (https://x.com/nasa/status/2122404409292337592) or its id alone (2122404409292337592).
The connected X account to read with (GET /v2/accounts).
1 credit a call
Code, from the fields above
curl https://api.lobstr.io/v2/run \
  -H "Authorization: Bearer $LOBSTR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "source": "x",
    "operation": "tweets/get",
    "options": {
      "tweet": "https://x.com/NASA/status/2122000000000000001"
    }
  }'
2Response

An example answer, from the contract. Run it on your own input with your API key.

{
  "object": "run",
  "id": "run_mn3rrpopd6s6ehpat52ukwawhu",
  "livemode": true,
  "source": "x",
  "operation": "tweets/get",
  "version": "1.4.0",
  "schema_url": "https://api.lobstr.io/v2/catalog/x/tweets/get",
  "options": {
    "tweet": "https://x.com/NASA/status/2122000000000000001"
  },
  "fields": null,
  "status": "succeeded",
  "count": 1,
  "has_more": true,
  "next": {
    "source": "x",
    "operation": "tweets/get",
    "options": {
      "tweet": "https://x.com/NASA/status/2122000000000000001",
      "profile": "nasa",
      "cursor": "gAAAAABpGn1a_sealed_cursor_of_the_next_page_as_the_answer_gives_it_0123456789"
    }
  },
  "cost": {
    "credits": 1
  },
  "results": [
    {
      "object": "tweet",
      "id": "2122000000000000001",
      "url": "https://x.com/NASA/status/2122000000000000001",
      "text": "Liftoff of the resupply mission to the International Space Station. https://t.co/abc123",
      "language": "en",
      "created_at": "2026-11-15T18:42:10Z",
      "reply_count": 312,
      "retweet_count": 1840,
      "quote_count": 96,
      "like_count": 12950,
      "bookmark_count": 410,
      "view_count": 1204500,
      "author": {
        "id": "11348282",
        "handle": "NASA",
        "name": "NASA",
        "url": "https://x.com/NASA",
        "description": "Exploring the secrets of the universe for the benefit of all.",
        "description_language": "en",
        "description_urls": [],
        "location": "Pale Blue Dot",
        "website_url": "https://www.nasa.gov/",
        "created_at": "2007-12-19T20:20:32Z",
        "follower_count": 86000000,
        "following_count": 170,
        "tweet_count": 73000,
        "media_count": 28000,
        "like_count": 16000,
        "is_blue_verified": true,
        "is_verified": false,
        "verified_type": "government",
        "is_protected": false,
        "is_possibly_sensitive": false,
        "professional": null,
        "avatar_url": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_normal.jpg",
        "banner_url": "https://pbs.twimg.com/profile_banners/11348282/1763000000",
        "avatar_shape": "square",
        "pinned_tweet_ids": [],
        "affiliation": null
      },
      "in_reply_to": null,
      "reply_policy": null,
      "is_quote": false,
      "quoted_tweet": null,
      "retweeted_tweet": null,
      "urls": [
        {
          "url": "https://www.nasa.gov/live",
          "display": "nasa.gov/live",
          "short_url": "https://t.co/abc123"
        }
      ],
      "hashtags": [],
      "symbols": [],
      "smart_tags": [],
      "mentions": [],
      "media": [],
      "card": null,
      "article": null,
      "place": null,
      "community_note": null,
      "community_id": null,
      "grok_conversation": null,
      "posted_with": null,
      "is_paid_promotion": null,
      "has_ai_generated_media": null,
      "is_possibly_sensitive": false,
      "is_long": false,
      "edit": {
        "tweet_ids": [
          "2122000000000000001"
        ],
        "editable_until": "2026-11-15T19:42:10Z",
        "edits_remaining": 5
      },
      "ids": {
        "tweet_id": "2122000000000000001",
        "conversation_id": "2122000000000000001",
        "author_id": "11348282",
        "quoted_tweet_id": null
      },
      "source_url": "https://x.com/NASA/status/2122000000000000001",
      "observed_at": "2026-11-16T15:00:00Z"
    }
  ]
}

Options

tweetstringrequired
The tweet: its address on x.com (https://x.com/nasa/status/2122404409292337592) or its id alone (2122404409292337592).
accountstring
The connected X account to read with (GET /v2/accounts). Left out, the platform takes the first of your X accounts with a free slot.

Record

Each record of results, in the envelope every call returns (Run an operation).

objectstring
idstring
The tweet's id.
urlstring
The tweet on x.com.
textstring
The whole text, a long tweet's included (is_long). Links are X's short ones (t.co), given in full in urls and media.
languagestring
The language X detected: ISO 639-1, or X's own codes (und, zxx, qme...).
created_atdate
When it was posted, UTC.
reply_countinteger
retweet_countinteger
Reposts.
quote_countinteger
like_countinteger
bookmark_countinteger
view_countinteger
Null when X shows no view count for it.
author.idstring
The account's id.
author.handlestring
Its @handle, without the @.
author.namestring
author.urlstring
author.descriptionstring
The bio.
author.description_languagestring
author.description_urlslist
The links of the bio
author.locationstring
As the account wrote it.
author.website_urlstring
The profile's link, in full.
author.created_atdate
author.follower_countinteger
author.following_countinteger
author.tweet_countinteger
author.media_countinteger
author.like_countinteger
The tweets the account liked.
author.is_blue_verifiedboolean
The blue check of a paying subscriber.
author.is_verifiedboolean
X's earlier verification.
author.verified_typestring
business or government, when X says so.
author.is_protectedboolean
author.is_possibly_sensitiveboolean
author.professional.typestring
business or creator.
author.professional.categorieslist
author.avatar_urlstring
author.banner_urlstring
author.avatar_shapestring
circle, square (organizations), hexagon.
author.pinned_tweet_idslist
author.affiliation.namestring
The organization's name on the badge.
author.affiliation.urlstring
The organization's profile, as X links it.
author.affiliation.badge_urlstring
The badge's image.
author.affiliation.typestring
business_label for an organization's badge, automated_label for an account X labels as automated.
author.affiliation.detailstring
The label's own sentence when it has one: Automated by @marc_krenn.
author.affiliation.account.idstring
author.affiliation.account.handlestring
in_reply_to.tweet_idstring
in_reply_to.user_idstring
in_reply_to.handlestring
reply_policystring
Who may reply, when the conversation's author restricted it, in X's own word: ByInvitation (the accounts the author follows or mentions), Community (the members of its community). Null when anyone may reply.
is_quoteboolean
quoted_tweetobject
The tweet it quotes, with a tweet's fields but position, quoted_tweet, retweeted_tweet, source_url and observed_at. Null when it quotes none, or one X no longer shows (ids.quoted_tweet_id still says which).
retweeted_tweetobject
The tweet it reposts, with the same fields as quoted_tweet.
urlslist
hashtagslist
Without the #.
symbolslist
Cashtags, without the $.
smart_tagslist
The assets the tweet tags, a kind of tag X added in November 2026 (tokens so far); empty on most tweets. Not the cashtags of symbols.
mentionslist
medialist
card.typestring
X's name of the card: summary, summary_large_image, player...
card.urlstring
card.titlestring
card.descriptionstring
card.domainstring
card.image_urlstring
article.idstring
article.titlestring
article.preview_textstring
article.cover_urlstring
article.published_atdate
article.modified_atdate
place.idstring
X's id of the place.
place.namestring
place.full_namestring
The name with its region or country, as the page writes it.
place.typestring
city, admin, country, neighborhood, poi.
place.countrystring
place.country_codestring
Two letters.
place.bounding_boxlist
The corners of the box around the place, each longitude then latitude.
community_note.idstring
The note's id.
community_note.titlestring
X's own heading over the note: Readers added context they thought people might want to know.
community_note.textstring
The note's text; its links are X's short ones (t.co), given in full in urls.
community_note.languagestring
The note's language, when X says it: en.
community_note.urlstring
The note's own page on X.
community_note.urlslist
community_idstring
The id of the X community the tweet was posted in (x.com/i/communities/); null for a tweet posted to everyone.
grok_conversationlist
The Grok conversation the tweet shares, when it shares one: its messages in X's own order. X names no speaker; on every conversation read the first message is the person's question and the second Grok's answer. Null for a tweet that shares none.
posted_withstring
The app it was posted with, when X says it: Twitter Web App.
is_paid_promotionboolean
The author's own disclosure of a paid partnership.
has_ai_generated_mediaboolean
X's label of media made with AI.
is_possibly_sensitiveboolean
is_longboolean
A tweet longer than 280 characters; text holds it whole.
edit.tweet_idslist
Its versions, the first to the last.
edit.editable_untildate
edit.edits_remaininginteger
ids.tweet_idstring
ids.conversation_idstring
The first tweet of its thread.
ids.author_idstring
ids.quoted_tweet_idstring
source_urlstring
The tweet's page on x.com.
observed_atdate
When it was read, UTC.

Errors

Its own, besides those of every call (Errors). A failed call is free.

CodeStatusWhat it means
invalid_tweet422Pass a tweet's address (https://x.com/nasa/status/2122404409292337592) or its id.
tweet_not_found404X has no tweet with this id (not charged).
tweet_unavailable404X no longer shows this tweet: deleted, or its author is suspended or protected from your connected X account (not charged).
account_required422You have no connected X account. Connect one with POST /v2/accounts {"site": "x", "cookies": ...}: the cookies of a browser where you are logged in to x.com (https://docs.lobstr.io/accounts).
account_rate_limited429This X account cannot read a tweet right now: it pauses a couple of seconds between two tweets, and X counts each account's requests (about 300 tweets for 15 minutes). retry_after says when it can again, in seconds. Retrying before then gets this same answer: nothing is queued. Retryable.
account_unusable409X logged this account out, or locked it. Open x.com in the browser the account comes from, then connect it again with POST /v2/accounts and fresh cookies (the same account keeps its id).
site_unavailable503X did not answer properly; retry later (not charged). Retryable.
unexpected_answer424X answered in a shape we do not read yet; we are told and fix it (not charged).

Price

1 credit per call that returns the tweet. A failed call (no such tweet, a tweet X no longer shows) and a busy account are free. What a credit costs on each plan: Credits and pricing.

Each connected account makes one call every 2 seconds, plus 0 to 2 seconds; a busy account answers at once with account_rate_limited and retry_after.

Changelog

1.4.02026-11-22
New field grok_conversation: the Grok conversation a tweet shares, its messages in order with the images, web pages and posts each carries.
1.3.02026-11-20
Two new fields in the author's affiliation: detail, the label's own sentence (Automated by @x), and account, the account that sentence names.
1.2.02026-11-20
Two new fields on a tweet: community_note, the Community Note X shows under it (its text, links and page), and community_id, the X community it was posted in.
1.1.02026-11-19
New field reply_policy: who may reply to the tweet when its conversation's author restricted it, in X's own word (ByInvitation, Community); null when anyone may.
1.0.02026-11-19
First version: one tweet by its address or its id, with the same fields as a tweet of x/tweets/list and x/tweets/search, read with your own connected X account.