X · Handle
User Tweets
Send a handle, get their posts. Costs 1 credit a post
01
Request
POST /x/tweets/handle with your bearer API key.
handle takes the handle however you have it. nasa, @nasa and https://x.com/nasa all name the same account, and X’s own pages — home, search, i — are refused rather than fetched and parsed as somebody’s timeline.
| handle | nasa, @nasa, or a profile link |
| pagination_token | the previous response’s token; leave out for the first page |
One credit per returned post ($0.0001 at the Starter rate). Each call fetches one page. If the wallet cannot cover that page, the call fails and its charge is refunded. X decides how many posts are returned.
02
Response sample
Response example for handle: netflix
▸ ▾ profile {} — profile fields beside data.posts
{
"id": "16573941",
"name": "Netflix",
"handle": "@netflix",
"verified": true,
"blue_verified": true,
"bio": "deborah & rashida & shaquille & amir & hazel & kojo",
"location": "California, USA",
"website": "http://netflix.com/netflixandchills",
"joined": "2008-10-03T04:16:17Z",
"followers": 29280761,
"following": 2241,
"post_count": 67849,
"media_count": 26218,
"avatar": "https://pbs.twimg.com/profile_images/1996301804053868544/Xrwvbe1q_normal.jpg",
"banner": "https://pbs.twimg.com/profile_banners/16573941/1790866557",
"screen_name": "netflix",
"url": "https://x.com/netflix",
"standard_verified": false,
"pinned_post_ids": null,
"professional": null,
"affiliation": {},
"protected": false,
"subscription_eligible": false,
"verified_type": "Business",
"can_dm": true,
"favourites_count": 16814,
"possibly_sensitive": false,
"bio_links": null,
"website_links": [
{
"display_url": "netflix.com/netflixandchil…",
"expanded_url": "http://netflix.com/netflixandchills",
"indices": [
0,
23
],
"url": "https://t.co/n2nrYM3H0S"
}
],
"is_automated": false,
"automated_by": null,
"withheld_in_countries": null,
"translator_type": "none",
"is_translator": null,
"has_custom_timelines": null,
"unavailable": false,
"unavailable_reason": null,
"unavailable_message": null
}▸ ▾ posts [] — one post from the captured JSON page
[
{
"id": "2105679740917129669",
"url": "https://x.com/netflix/status/2105679740917129669",
"posted_at": "2026-10-01T15:22:26Z",
"text": "RT @yugyienz: BOW DOWN TO MOTHER",
"lang": "en",
"author": {
"id": "16573941",
"name": "Netflix",
"screen_name": "netflix",
"handle": "@netflix",
"url": "https://x.com/netflix",
"avatar": "https://pbs.twimg.com/profile_images/1996301804053868544/Xrwvbe1q_normal.jpg",
"verified": true,
"blue_verified": true,
"standard_verified": false,
"followers": 29280761,
"following": 2241,
"bio": "deborah & rashida & shaquille & amir & hazel & kojo",
"location": "California, USA",
"website": "http://netflix.com/netflixandchills",
"joined_at": "2008-10-03T04:16:17Z",
"post_count": 67849,
"media_post_count": 26218,
"banner": "https://pbs.twimg.com/profile_banners/16573941/1790866557",
"pinned_post_ids": null,
"professional": null,
"affiliation": {},
"protected": false,
"subscription_eligible": false,
"verified_type": "Business",
"can_dm": true,
"favourites_count": 16814,
"possibly_sensitive": false,
"bio_links": null,
"website_links": [
{
"display_url": "netflix.com/netflixandchil…",
"expanded_url": "http://netflix.com/netflixandchills",
"indices": [
0,
23
],
"url": "https://t.co/n2nrYM3H0S"
}
],
"is_automated": false,
"automated_by": null,
"withheld_in_countries": null,
"translator_type": "none",
"is_translator": null,
"has_custom_timelines": null,
"unavailable": false,
"unavailable_reason": null,
"unavailable_message": null
},
"reply_count": 0,
"reposts": 1,
"likes": 0,
"quotes": 0,
"bookmarks": 0,
"views": 12588,
"conversation_id": "2105679740917129669",
"in_reply_to_id": null,
"in_reply_to_user_id": null,
"photos": [],
"videos": [],
"possibly_sensitive": null,
"quoted_text": null,
"context": null,
"quoted_post_id": "2105674095182451059",
"reposted_post_id": "2105675866533724508",
"hashtags": [],
"mentions": [
{
"id_str": "995924951357014017",
"indices": [
3,
12
],
"name": "laves 🦀",
"screen_name": "yugyienz"
}
],
"links": null,
"edit_ids": [
"2105679740917129669"
],
"edit_eligible": false,
"editable_until_msecs": "1790871746529",
"edits_remaining": "5",
"posting_client_html": "<a href=\"https://mobile.twitter.com\" rel=\"nofollow\">Twitter Web App</a>",
"display_text_range": [
0,
32
],
"in_reply_to_handle": null,
"is_reply": false,
"is_quote": true,
"is_repost": true,
"is_pinned": false,
"text_source": "legacy",
"is_long_form": false,
"cashtags": [],
"photo_details": [],
"card": null,
"quoted_author": null,
"reposted_author": {
"affiliation": {},
"automated_by": null,
"avatar": "https://pbs.twimg.com/profile_images/2056937164827754496/B3x9MmGs_normal.jpg",
"banner": "https://pbs.twimg.com/profile_banners/995924951357014017/1779247154",
"bio": "brinity pilled",
"bio_links": null,
"blue_verified": false,
"can_dm": true,
"favourites_count": 336470,
"followers": 780,
"following": 1119,
"handle": "@yugyienz",
"has_custom_timelines": null,
"id": "995924951357014017",
"is_automated": false,
"is_translator": null,
"joined_at": "2018-05-14T07:13:06Z",
"location": "she/her",
"media_post_count": 4231,
"name": "laves 🦀",
"pinned_post_ids": [
"2073130910116164028"
],
"possibly_sensitive": false,
"post_count": 48077,
"professional": null,
"protected": false,
"screen_name": "yugyienz",
"standard_verified": false,
"subscription_eligible": false,
"translator_type": "none",
"unavailable": false,
"unavailable_message": null,
"unavailable_reason": null,
"url": "https://x.com/yugyienz",
"verified": false,
"verified_type": null,
"website": "",
"website_links": null,
"withheld_in_countries": null
},
"quoted_post": null,
"reposted_post": {
"article": null,
"article_summary": null,
"article_text": null,
"author": {
"affiliation": {},
"automated_by": null,
"avatar": "https://pbs.twimg.com/profile_images/2056937164827754496/B3x9MmGs_normal.jpg",
"banner": "https://pbs.twimg.com/profile_banners/995924951357014017/1779247154",
"bio": "brinity pilled",
"bio_links": null,
"blue_verified": false,
"can_dm": true,
"favourites_count": 336470,
"followers": 780,
"following": 1119,
"handle": "@yugyienz",
"has_custom_timelines": null,
"id": "995924951357014017",
"is_automated": false,
"is_translator": null,
"joined_at": "2018-05-14T07:13:06Z",
"location": "she/her",
"media_post_count": 4231,
"name": "laves 🦀",
"pinned_post_ids": [
"2073130910116164028"
],
"possibly_sensitive": false,
"post_count": 48077,
"professional": null,
"protected": false,
"screen_name": "yugyienz",
"standard_verified": false,
"subscription_eligible": false,
"translator_type": "none",
"unavailable": false,
"unavailable_message": null,
"unavailable_reason": null,
"url": "https://x.com/yugyienz",
"verified": false,
"verified_type": null,
"website": "",
"website_links": null,
"withheld_in_countries": null
},
"bookmarks": 1,
"card": null,
"cashtag_entities": null,
"cashtags": [],
"conversation_control": null,
"conversation_id": "2105675866533724508",
"coordinates": null,
"geo": null,
"hashtag_entities": null,
"hashtags": [],
"id": "2105675866533724508",
"in_reply_to_id": null,
"in_reply_to_user_id": null,
"is_conversation_controlled": null,
"is_limited_reply": null,
"is_long_form": false,
"lang": "en",
"likes": 16,
"limited_actions": null,
"links": null,
"mentions": null,
"photo_details": [],
"photos": [],
"place": null,
"possibly_sensitive": null,
"posted_at": "2026-10-01T15:07:02Z",
"quotes": 0,
"reply_count": 1,
"reposts": 1,
"text": "BOW DOWN TO MOTHER",
"text_source": "legacy",
"unavailable": false,
"unavailable_message": null,
"unavailable_reason": null,
"url": "https://x.com/yugyienz/status/2105675866533724508",
"videos": [],
"views": 4309,
"withheld_in_countries": null
},
"conversation_control": null,
"limited_actions": null,
"is_limited_reply": null,
"is_conversation_controlled": null,
"place": null,
"geo": null,
"coordinates": null,
"withheld_in_countries": null,
"article": null,
"article_summary": null,
"article_text": null,
"hashtag_entities": null,
"cashtag_entities": null,
"unavailable": false,
"unavailable_reason": null,
"unavailable_message": null
}
]▸ ▾ pagination {} — pass your own response token unchanged; this example is abbreviated
{
"has_next_page": true,
"pagination_token": "…"
}03
Fields
Profile fields sit beside data.posts. Missing values are null; counts are numbers and verification is boolean. Text keeps emoji. Every post groups its author under author, with available account details and counts. Send data.pagination.pagination_token unchanged with the same handle to fetch another page. If X marks the account unavailable, the response includesunavailable, its supplied reason and message, and an empty posts array. Missing legacy account flags remain null.
profile {}
▸ ▾ automated_byobjectManaging account named by X’s automation label.
posts []
▸ ▾ authorobjectThe author of this post.
▸ ▾ automated_byobjectManaging account named by X’s automation label.
▸ ▾ quoted_authorobjectQuoted author details when accessible; also present under quoted_post.author.
▸ ▾ automated_byobjectManaging account named by X’s automation label.
▸ ▾ reposted_authorobjectOriginal author details when accessible; also present under reposted_post.author.
▸ ▾ automated_byobjectManaging account named by X’s automation label.
▸ ▾ quoted_postobjectQuoted post with its author, metrics and media; null when absent. An explicitly unavailable quote retains its ID and supplied explanation. Related posts expand one level.
▸ ▾ authorobjectThe author of this post.
▸ ▾ automated_byobjectManaging account named by X’s automation label.
▸ ▾ reposted_postobjectOriginal post with its author, metrics and media; null when absent. Explicitly unavailable originals retain their supplied state. The outer row keeps the repost wrapper’s text and author.
▸ ▾ authorobjectThe author of this post.
▸ ▾ automated_byobjectManaging account named by X’s automation label.
pagination {}