FETCHAPI

List the ids of the accounts an X user follows API

One call returns the IDs of accounts a user follows; one item is a user id string. The call held 20 items (count=20). For the next page, pass pagination.nextCursor as 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
Following IDsGET v3/user/following-ids$0.00019$0.19 / 1k calls✓ 2026-10-06pricing ↗

What it returns

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

One call returns the IDs of accounts a user follows; one item is a user id string. The call held 20 items (count=20). For the next page, pass pagination.nextCursor as cursor.
data[]followed user idpagination.nextCursorcursor for the next pagepagination.prevCursorcursor for the previous page

Paging: 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.following_ids", 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-api47/v3/user/following-ids$0.00019 / call✓ working · tested 2026-10-061.01 s latency
Parameters
ParameterTypeNotes
countstring · queryoptionaldefault 20
cursorstring · queryoptional
userIdstring · queryrequireddefault 34743251e.g. 44196397
HTTP
curl "https://fetchapi.co/api/gw/rapidapi-twitter-api47/v3/user/following-ids?count=20&userId=44196397" \
  -H "x-api-key: YOUR_KEY"
MCP
call_endpoint("rapidapi-twitter-api47.following_ids", {"count": "20", "userId": "44196397"})
Real example answer (trimmed) · 2026-10-03
{
  "data": [
    "2106001146925953025",
    "1572780417601740800",
    "… 2 more"
  ],
  "pagination": {
    "nextCursor": "1875286869520815722",
    "prevCursor": "0"
  }
}

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.