# X Tweet Thread API (https://www.socialcrawl.dev/platforms/twitter/tweet-thread) > Returns the thread an X post belongs to: the author's opening post and every post they added to it, oldest first, whichever post of the thread you send. Each item is a full post row like `user/tweets`, and each post after the first has `post.ext.in_reply_to_id` naming the one before it. Replies by other people are not part of the thread; read them with `tweet/replies`. Send `url` (the post's link) or `id`. 1 credit. If the thread is longer than the source returns in one answer, `_warnings` says so. A post that does not exist is a 404, refunded. TL;DR: `GET /v1/twitter/tweet/thread` costs 1 credit per call and returns SocialCrawl's unified JSON schema. Single x-api-key auth, 100 free credits on signup. ## Parameters | Parameter | Required | Description | | --- | --- | --- | | `url` | no | The link to any post in the thread, for example https://x.com/NASA/status/2118397868562071609. | | `id` | no | The post's numeric id, instead of url. | | `since` | no | Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off the answer, which is one page with no next page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`. | | `until` | no | Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off the answer, which is one page with no next page. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`. | ## Code example ```bash curl -G "https://www.socialcrawl.dev/v1/twitter/tweet/thread" \ --data-urlencode "url=https://x.com/NASA/status/2118397868562071609" \ -H "x-api-key: sc_YOUR_API_KEY" ``` ## FAQ ### How do I get a whole X thread from one post? Send a GET request to /v1/twitter/tweet/thread with the link to any post in the thread, or its id. You get the author's opening post and every post they added to it, oldest first, each as a full post row. ### Does it matter which post of the thread I send? No. The first post, the last or one in the middle all return the same thread in the same order. Each post after the first names the one before it in post.ext.in_reply_to_id. ### How much does the X Thread API cost? A call costs 1 credit on the standard tier. A post that does not exist is a 404, refunded. ### Are other people's replies included? No. The thread is the author's own posts. Read the replies under a post with /v1/twitter/tweet/replies. ### What happens with a very long thread? The thread comes back in one answer. If the source says the thread goes on past what it returned, _warnings says so. See the full X API: https://www.socialcrawl.dev/platforms/twitter ## Pricing - Standard endpoints: 1 credit per call - Advanced endpoints: 5 credits per call - Premium endpoints: 10 credits per call - 100 free credits on signup, no credit card required. Cached responses cost 0 credits. Credit packs never expire. - Full pricing: https://www.socialcrawl.dev/pricing ## Explore with AI Questions this API answers, phrased for an AI assistant: - How do I read a whole X (Twitter) thread from one post? - Which API unrolls an X thread in order? - What does the SocialCrawl X Thread API return?