Twitter User Replies API
Get an X (Twitter) account's tweets and replies timeline with full metrics. $0.01 per call.
Pull the "Tweets & replies" timeline of any public X account by username or user id. Each item is a full Tweet with text, metrics, media, links, reply-to fields, and author profile, with cursor pagination.
Try it live
Fill in the fields and hit Run to see a real response.
{
"ok": true,
"data": {
"cursor": "DAAHCgABHV69Sf9___ILAAIAAAATMjExNDgwMTUy…",
"tweets": [
{
"author": {
"avatar": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_400x400.jpg",
"banner": "https://pbs.twimg.com/profile_banners/11348282/1788992290",
"created_at": "2007-12-19T20:20:32+00:00",
"description": "Making the seemingly impossible, possible. ✨",
"followers_count": 92298687,
"following_count": 115,
"id": "11348282",
"is_blue_verified": true,
"likes_count": 17049,
"listed_count": 96842,
"location": "Pale Blue Dot",
"media_count": 28221,
"name": "NASA",
"pinned_tweet_ids": [
"2116263878807998722"
],
"protected": false,
"tweet_count": 74477,
"url": "https://x.com/NASA",
"username": "NASA",
"verified": false,
"verified_type": null,
"website": "http://www.nasa.gov/"
},
"bookmarks": 29,
"conversation_id": "2116263878807998722",
"created_at": "2026-10-30T20:20:01+00:00",
"hashtags": [],
"id": "2116263878807998722",
"in_reply_to_tweet_id": null,
"in_reply_to_username": null,
"is_quote": false,
"is_retweet": false,
"lang": "en",
"likes": 681,
"media": [
{
"alt_text": "Three jet aircraft, each with a white nose and blue body, fly in a triangle formation against a clear blue sky. White trails follow each jet. ",
"duration_ms": null,
"height": 1280,
"type": "photo",
"url": "https://pbs.twimg.com/media/HV56yHnXcAAwYJ2.jpg",
"video_url": null,
"width": 1920
}
],
"mentions": [],
"possibly_sensitive": false,
"quoted_tweet": null,
"quotes": 4,
"replies": 38,
"retweeted_tweet": null,
"retweets": 86,
"text": "MAX POWER, America’s newest aerospace expo and air show, is just a week away!\n\nThis showcase will be packed with events—from aircraft flyovers to a chance to meet NASA astronauts and experts. Here's w…",
"url": "https://x.com/NASA/status/2116263878807998722",
"urls": [
"https://go.nasa.gov/4zjj9BD"
],
"views": 202236
}
]
}
}Features
The same "Replies" tab you see on a profile, including the account's replies to other people.
in_reply_to_tweet_id, in_reply_to_username, and conversation_id show what each reply answered.
likes, retweets, replies, quotes, bookmarks, and views on every item.
Pass either; count and cursor work the same as every timeline endpoint.
Use cases
Support Monitoring
See how a brand account answers its customers.
Engagement Research
Find who an account talks to most.
Complete Archives
Capture replies that a tweets-only timeline leaves out.
Quick start
Copy this snippet and start making calls.
const res = await fetch('https://api.yepapi.com/v1/twitter/user-replies', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"username": "NASA",
"count": 20
}),
});
const data = await res.json();
console.log(data);The Twitter User Replies API for tweets and replies
The YepAPI Twitter User Replies API returns an account's "Tweets & replies" timeline. Send a username to /v1/twitter/user-replies and get back tweets and replies with full metrics, reply context, media, and author profile, at $0.01 per call.
Use it when the conversations matter as much as the posts, for example to see how a brand handles support on X.
What does the Twitter User Replies API return?
A tweets array of Tweet objects and a cursor. Replies carry in_reply_to_tweet_id, in_reply_to_username, and conversation_id, so you can group them by thread or open the original with the Tweet API.
Build a reply tracker
Poll /v1/twitter/user-replies for a brand account, filter items where in_reply_to_username is set, and measure response volume and engagement. Group by in_reply_to_username to find the people an account interacts with most.
Twitter User Replies API pricing: $0.01 per call
Every call costs a flat $0.01 and failed calls are free. There is no monthly tier to buy, no developer account to get approved, and no separate Twitter API key: one YepAPI key covers every endpoint. Timelines are cached for 10 minutes.
Choosing a timeline endpoint
Tweet Scraper API (user-tweets) for an account's own tweets, User Replies API for tweets plus replies, and Twitter Media API for tweets with photos or video.
Try the Twitter User Replies API free
Sign up and get $5 in free credit with no card required. That is 500 calls at $0.01 each to test the Twitter User Replies API on live X data before you spend anything. All Twitter / X endpoints share the same key.
Start making API calls in 30 seconds
$5 free credit on signup. No credit card required. Pay per call.
What developers say
“Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.”
“One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.”
“The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.”
Frequently asked questions
Pull the "Tweets & replies" timeline of any public X account by username or user id. Each item is a full Tweet with text, metrics, media, links, reply-to fields, and author profile, with cursor pagination.
Each API call costs $0.01. No monthly minimums or subscriptions — you only pay for what you use.
Sign up for a free API key, then send a POST request to /v1/twitter/user-replies. Check the code example above for a ready-to-use snippet in JavaScript, cURL, or Python.
YepAPI bundles SEO, AI, and web scraping APIs under one key with no monthly minimums. You get lower per-call pricing, a unified dashboard, and one billing account instead of managing multiple providers.
Ready to integrate?
Get your API key and start making calls in 30 seconds. $5 free credit on signup — no credit card required.
More Twitter / X API endpoints
Twitter Media API
$0.01Get the photos and videos an X (Twitter) account has posted, with media URLs. $0.01 per call.
Twitter Followers API
$0.01List the followers of any X (Twitter) account with full profiles. $0.01 per call.
Twitter Following API
$0.01List the accounts any X (Twitter) user follows, with full profiles. $0.01 per call.
Twitter User API (X Profile API)
$0.01Get any X (Twitter) profile by username: followers, following, tweets, bio, and verification. $0.01 per call.
X About This Account API
$0.01Get X's "About this account" data: country, username changes, verified-since date, and affiliation. $0.01 per call.
Twitter Bulk Users API
$0.01Look up to 100 X (Twitter) profiles by user id in a single call. $0.01 per call.