FETCHAPI

List an X user's latest posts API

One call returns a user's profile, their pinned tweet and their latest tweets. One item in timeline[] is a tweet. Our call held 20 tweets (3 shown plus '… 17 more'). Pass next_cursor as the cursor parameter for the next page.

2 live routes 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.

Get a keySee it in the catalogUse it from MCP

Price per call, by route

The upstream price you are metered at, cheapest first. A route without a published price says so.

ProviderEndpointPriceTested
twitter-api45RapidAPI listing
User timelineCHEAPESTGET timeline.php$0.00009$0.09 / 1k calls✓ 2026-10-06pricing ↗
twitter-api47RapidAPI listing
User TweetsGET v3/user/tweets$0.00019$0.19 / 1k calls✓ 2026-10-06pricing ↗

What it returns

From a real call to the cheapest route: twitter-api45.

One call returns a user's profile, their pinned tweet and their latest tweets. One item in timeline[] is a tweet. Our call held 20 tweets (3 shown plus '… 17 more'). Pass next_cursor as the cursor parameter for the next page.
user.rest_iduser iduser.sub_countfollower countpinned.tweet_idpinned tweet idtimeline[].tweet_idtweet idtimeline[].texttweet texttimeline[].created_atpost timetimeline[].favoriteslike counttimeline[].retweetsretweet counttimeline[].viewsview count (string)next_cursorcursor for the next page

Paging (twitter-api45): 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_timeline", params, pages=3) follows it for you.

Paging (twitter-api47): read `pagination.nextCursor` 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-api47.user_tweets", params, pages=3) follows it for you.

Call it

HTTP with your key in x-api-key, or the call_endpoint tool of our MCP server.

GET /api/gw/rapidapi-twitter-api45/timeline.php$0.00009 / call✓ working · tested 2026-10-061.52 s latency
Parameters
ParameterTypeNotes
cursorstring · queryoptional
rest_idstring · queryoptionalOptional parameter that overwrites the screename. Screename could be a random string if this user id is passed.
screennamestring · queryrequireddefault elonmusk
HTTP
curl "https://fetchapi.co/api/gw/rapidapi-twitter-api45/timeline.php?screenname=elonmusk" \
  -H "x-api-key: YOUR_KEY"
MCP
call_endpoint("rapidapi-twitter-api45.user_timeline", {"screenname": "elonmusk"})
Real example answer (trimmed) · 2026-10-03
{
  "user": {
    "id": "44196397",
    "desc": "https://t.co/ZdBx5WABYx",
    "name": "Elon Musk",
    "avatar": "https://pbs.twimg.com/profile_images/2103567689515954176/aR-…",
    "status": "active",
    "friends": 1415,
    "profile": "elonmusk",
    "rest_id": "44196397",
    "location": "",
    "protected": false,
    "sub_count": 241745040,
    "affiliates": {
      "label": {
        "url": {
          "url": "https://twitter.com/X",
          "urlType": "DeepLink"
        },
        "badge": {
          "url": "https://pbs.twimg.com/profile_images/1955359038532653056/OSH…"
        },
        "description": "X",
        "userLabelType": "BusinessLabel",
        "userLabelDisplayType": "Badge"
      }
    },
    "created_at": "Tue Jun 02 20:12:29 +0000 2009",
    "media_count": 4728,
    "…": "6 more fields"
  },
  "pinned": {
    "lang": "en",
    "text": "Each @SpaceX Star Mind super intelligence spacecraft will ha…",
    "media": [],
    "views": "28174460",
    "author": {
      "name": "Elon Musk",
      "avatar": "https://pbs.twimg.com/profile_images/2103567689515954176/aR-…",
      "rest_id": "44196397",
      "screen_name": "elonmusk",
      "blue_verified": true,
      "followers_count": 241745128
    },
    "quoted": {
      "lang": "en",
      "text": "The scale of SpaceX satellites is getting absolutely insane\n…",
      "media": {
        "photo": [
          {
            "id": "2105563572399181824",
            "media_url_https": "https://pbs.twimg.com/media/HTh26dDbEAA_4_S.jpg"
          }
        ]
      },
      "views": "27662949",
      "author": {
        "name": "X Freeze",
        "avatar": "https://pbs.twimg.com/profile_images/1876785200010539008/2_H…",
        "rest_id": "1818311005698678784",
        "screen_name": "XFreeze",
        "blue_verified": true,
        "followers_count": 279414
      },
      "quotes": 122,
      "source": null,
      "replies": 194,
      "retweets": 370,
      "tweet_id": "2105563581102404084",
      "bookmarks": 340,
      "favorites": 2876,
      "sensitive": false,
      "created_at": "Thu Oct 01 07:40:51 +0000 2026",
      "…": "1 more fields"
    },
    "quotes": 363,
    "source": null,
    "replies": 2892,
    "retweets": 4205,
    "tweet_id": "2105718806769512812",
    "bookmarks": 1937,
    "favorites": 29872,
    "sensitive": null,
    "…": "2 more fields"
  },
  "status": "ok",
  "timeline": [
    {
      "lang": "en",
      "text": "Starship deploying Starlink V3 satellites https://t.co/TG7b8…",
      "media": {
        "photo": [
          {
            "id": "2106454804180455424",
            "sizes": {
              "h": "…",
              "w": "…"
            },
            "media_url_https": "https://pbs.twimg.com/media/HTuhe-KXUAANxEg.jpg"
          }
        ]
      },
      "views": "465220",
      "author": {
        "name": "Elon Musk",
        "avatar": "https://pbs.twimg.com/profile_images/2103567689515954176/aR-…",
        "rest_id": "44196397",
        "screen_name": "elonmusk",
        "blue_verified": true,
        "followers_count": 241745128
      },
      "quotes": 85,
      "source": null,
      "replies": 610,
      "entities": [],
      "retweets": 463,
      "tweet_id": "2106454808676716916",
      "bookmarks": 131,
      "favorites": 3654,
      "sensitive": false,
      "…": "2 more fields"
    },
    "… 3 more"
  ],
  "next_cursor": "DAAHCgABHTulma3__-oLAAIAAAATMjEwNjA5NzM4MTg1OTMzNjM5NwgAAwAA…",
  "prev_cursor": "DAAHCgABHTulma4AJxELAA
…
Other routes for this job
twitter-api47 · User Tweets$0.00019
GET /api/gw/rapidapi-twitter-api47/v3/user/tweets$0.00019 / call✓ working · tested 2026-10-061.46 s latency
Parameters
ParameterTypeNotes
cursorstring · queryoptional
userIdstring · queryrequirede.g. 44196397
HTTP
curl "https://fetchapi.co/api/gw/rapidapi-twitter-api47/v3/user/tweets?userId=44196397" \
  -H "x-api-key: YOUR_KEY"
MCP
call_endpoint("rapidapi-twitter-api47.user_tweets", {"userId": "44196397"})

Related X APIs

All 36 X jobs →

One key for every API on this page.

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.