FETCHAPI

Get an X user's profile by user id API

One call returns one full user profile by user id. The answer is a single account in data; there is no cursor.

1 live route on X, from $0.00019 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-api47RapidAPI listing
By User IDGET v3/user/by-id$0.00019$0.19 / 1k calls✓ 2026-10-06pricing ↗

What it returns

From a real call to the route: twitter-api47.

One call returns one full user profile by user id. The answer is a single account in data; there is no cursor.
data.iduser iddata.usernamehandledata.namedisplay namedata.biobiodata.followerCountfollower countdata.followingCountfollowing countdata.tweetCounttweet countdata.createdAtaccount creation timedata.isBlueVerifiedpaid-verified flag

Call it

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

GET /api/gw/rapidapi-twitter-api47/v3/user/by-id$0.00019 / call✓ working · tested 2026-10-060.79 s latency
Parameters
ParameterTypeNotes
userIdstring · queryrequireddefault 44196397
HTTP
curl "https://fetchapi.co/api/gw/rapidapi-twitter-api47/v3/user/by-id?userId=44196397" \
  -H "x-api-key: YOUR_KEY"
MCP
call_endpoint("rapidapi-twitter-api47.by_user_id", {"userId": "44196397"})
Real example answer (trimmed) · 2026-10-03
{
  "data": {
    "id": "44196397",
    "bio": "https://t.co/ZdBx5WABYx",
    "name": "Elon Musk",
    "avatar": "https://pbs.twimg.com/profile_images/2103567689515954176/aR-Kjpp4_normal.jpg",
    "banner": "https://pbs.twimg.com/profile_banners/44196397/1774145451/1500x500",
    "website": null,
    "location": null,
    "username": "elonmusk",
    "verified": false,
    "createdAt": "2009-06-02T20:12:29.000Z",
    "mediaCount": 4728,
    "tweetCount": 109417,
    "isProtected": false,
    "listedCount": 170752,
    "…": "24 more fields"
  }
}

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.