
One call returns a user's profile plus tweets that carry media. One item in timeline[] is a tweet with photo or video. Our call held 10 tweets (3 shown plus '… 7 more'). Pass next_cursor as the cursor parameter for the next page.
1 live route on X, from $0.00009 per call. Every route below answered our last live test on 2026-10-06; the gateway re-tests them daily.
The upstream price you are metered at, cheapest first. A route without a published price says so.
| Provider | Endpoint | Price |
|---|---|---|
twitter-api45RapidAPI listing | User's MediaGET usermedia.php | $0.00009$0.09 / 1k calls |
From a real call to the route: twitter-api45.
user.rest_iduser iduser.profilehandletimeline[].tweet_idtweet idtimeline[].texttweet texttimeline[].mediaphoto or video objectstimeline[].created_atpost timetimeline[].viewsview count (string)timeline[].favoriteslike countnext_cursorcursor for the next pagePaging: read `next_cursor` from the answer and send it back as `cursor=` for the next page; stop when it is empty or repeats. From MCP: call_endpoint("rapidapi-twitter-api45.user_s_media", params, pages=3) follows it for you.
HTTP with your key in x-api-key, or the call_endpoint tool of our MCP server.
| Parameter | Type | Notes | |
|---|---|---|---|
| rest_id | string · query | optional | |
| cursor | string · query | optional | |
| screenname | string · query | required | default elonmusk |
curl "https://fetchapi.co/api/gw/rapidapi-twitter-api45/usermedia.php?screenname=elonmusk" \ -H "x-api-key: YOUR_KEY"
call_endpoint("rapidapi-twitter-api45.user_s_media", {"screenname": "elonmusk"}){
"user": {
"id": "44196397",
"desc": "https://t.co/ZdBx5WABYx",
"name": "Elon Musk",
"avatar": "https://pbs.twimg.com/profile_images/2103567689515954176/aR-Kjpp4_normal.jpg",
"status": "active",
"friends": 1415,
"profile": "elonmusk",
"rest_id": "44196397",
"location": "",
"protected": false,
"sub_count": 241745139,
"affiliates": {
"label": {
"url": {
"url": "https://twitter.com/X",
"urlType": "DeepLink"
},
"badge": {
"url": "https://pbs.twimg.com/profile_images/1955359038532653056/OSHY3ewP_bigger.jpg"
},
"description": "X",
"userLabelType": "BusinessLabel",
"userLabelDisplayType": "Badge"
}
},
"created_at": "Tue Jun 02 20:12:29 +0000 2009",
"media_count": 4728,
"…": "6 more fields"
},
"status": "ok",
"timeline": [
{
"lang": "en",
"text": "Starship deploying Starlink V3 satellites https://t.co/TG7b8iHYkY",
"media": {
"photo": [
{
"id": "2106454804180455424",
"media_url_https": "https://pbs.twimg.com/media/HTuhe-KXUAANxEg.jpg"
}
]
},
"views": "467993",
"author": {
"name": "Elon Musk",
"avatar": null,
"rest_id": "44196397",
"screen_name": "elonmusk",
"blue_verified": true
},
"quotes": 84,
"source": null,
"replies": 619,
"retweets": 476,
"tweet_id": "2106454808676716916",
"bookmarks": 132,
"favorites": 3762,
"sensitive": false,
"created_at": "Sat Oct 03 18:42:17 +0000 2026",
"…": "1 more fields"
},
{
"lang": "en",
"text": "Both @United and @AmericanAir have @Starlink! https://t.co/7EfINWq1nU",
"media": {
"photo": [
{
"id": "2105680999044513792",
"media_url_https": "https://pbs.twimg.com/media/HTjhtlZWgAA7AeZ.jpg"
}
]
},
"views": "3121760",
"author": {
"name": "Elon Musk",
"avatar": null,
"rest_id": "44196397",
"screen_name": "elonmusk",
"blue_verified": true
},
"quotes": 324,
"source": null,
"replies": 1789,
"retweets": 4918,
"tweet_id": "2105681004371542326",
"bookmarks": 742,
"favorites": 47111,
"sensitive": false,
"created_at": "Thu Oct 01 15:27:27 +0000 2026",
"…": "1 more fields"
},
"… 2 more"
],
"next_cursor": "DAABCgABHTuluXd___0KAAIdHR6SixuhZQgAAwAAAAIAAA"
}Call it over HTTP or from any MCP client. Each key has a rate limit and a monthly cap; calls are metered at the upstream price.