X (Twitter): List a profile's following
The accounts a profile follows on X (Twitter), the most recently followed first, each with its name, bio, counts and verification, read with your connected X account.
curl https://api.lobstr.io/v2/run \ -H "Authorization: Bearer $LOBSTR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "source": "x", "operation": "following/list", "options": { "profile": "nasa" } }'
An example answer, from the contract. Run it on your own input with your API key.
{ "object": "run", "id": "run_3uwd3s2ez5hr7cxwnzvzgianky", "livemode": true, "source": "x", "operation": "following/list", "version": "1.1.0", "schema_url": "https://api.lobstr.io/v2/catalog/x/following/list", "options": { "profile": "nasa" }, "fields": null, "status": "succeeded", "count": 1, "has_more": false, "next": null, "cost": { "credits": 20 }, "results": [ { "object": "profile", "id": "1700000000000000001", "position": 1, "handle": "NASAHubble", "name": "Hubble", "url": "https://x.com/NASAHubble", "description": "The official X account for the NASA Hubble Space Telescope.", "description_language": "en", "description_urls": [], "location": "Goddard Space Flight Center", "website_url": "http://www.nasa.gov/hubble", "created_at": "2008-03-07T19:07:50Z", "follower_count": 8700000, "following_count": 116, "tweet_count": 1930, "media_count": 164, "like_count": 5210, "is_blue_verified": true, "is_verified": false, "verified_type": "government", "is_protected": false, "is_possibly_sensitive": false, "professional": null, "avatar_url": "https://pbs.twimg.com/profile_images/1700000000000000002/abcdEFGH_normal.jpg", "banner_url": null, "avatar_shape": "square", "pinned_tweet_ids": [], "affiliation": { "name": "NASA", "url": "https://twitter.com/NASA", "badge_url": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_bigger.jpg", "type": "business_label", "detail": null, "account": null }, "is_identity_verified": false, "verified_since": null, "verification_reason": null, "affiliate_count": null, "parody_label": null, "interstitial": null, "highlighted_tweet_count": 0, "subscription_count": 0, "has_hidden_subscriptions": false, "is_subscribable": false, "birthdate": null, "source_url": "https://x.com/nasa/following", "observed_at": "2026-11-18T12:30:00Z" } ] }
50 fields per profile
Every call returns them for each record, in the results of its JSON answer.
List a profile's following
50 fields- object
- text
- profile
- id
- id
- The account's id: it stays when the handle changes.
1700000000000000001- position
- number
- Its rank in the list, across pages: 1 is the account followed most recently.
- 1
- handle
- text
- Its @handle, without the @, in the case the account wrote it.
- NASAHubble
- name
- text
- The display name.
- Hubble
What it costs
Billed by the call: 20 credits, whatever the page holds (up to 70 profiles). Pick how many calls a month.
20 credits a call
Calls a month
100
Built to run
Every call counts; a day is green at 99.5% successful.
- Successful calls
- 99.60%
- Median call
- 2.4 s
A call fails when the site does not answer or we cannot read its answer; a wrong input is not counted.
Frequently asked questions
What people ask before calling x/following/list.
List a profile's following
When do I use it?
You want who an account follows on X: pass its handle (nasa, @nasa) or its profile's address. Each account comes as x/profiles/get gives a profile (following_count there says how many to expect). Follow next unchanged for more, 50 to 70 accounts a page: the list goes further than x.com's own page shows, which stops scrolling after the first page. An empty page is not the end of the list: X answers one now and then in the middle of a long list. Keep following next until it is null; empty pages are free. X never says a list is over (it gives a cursor on every page): next is null when X gives none, or after three empty pages in a row, a rule of this API. It needs one of your X accounts connected (POST /v2/accounts), and X counts each account's requests: about 500 pages for 15 minutes. For the accounts that follow a profile, use x/followers/list.
What do I give it?
profile(required): The profile whose followed accounts you want: its handle, with or without the @ (nasa, @nasa), or its address on x.com (https://x.com/nasa). Not its display name.account: The connected X account to read with (GET /v2/accounts). Left out, the platform takes the first of your X accounts with a free slot.
What does it return?
The accounts a profile follows on X (Twitter), the most recently followed first, each with its name, bio, counts and verification, read with your connected X account. Every record has the same fields, empty ones included: they are all listed above.
How do I get the next page?
Each answer ends with next: the following call, whole. Send it as it is; it is null after the last page. A page holds 70 records at most.
Pricing
What does a call cost?
20 credits per call that returns accounts, a short page included. An empty answer (the call after the last page), a failed call and a busy account are free.
When is a call free?
- an empty page (past the end, or nothing found)
- a call that fails
- a call the account is too busy for (it answers with retry_after)
Errors
What can go wrong?
invalid_profile(422): Pass a profile's handle (nasa, @nasa) or its address (https://x.com/nasa).profile_not_found(404): X has no profile with this handle (not charged).profile_unavailable(404): X does not show this profile, suspended or withheld (not charged).profile_protected(403): This profile is protected: X shows the accounts it follows to its own followers only, and your connected X account does not follow it (not charged).account_required(422): You have no connected X account. Connect one with POST /v2/accounts {"site": "x", "cookies": ...}: the cookies of a browser where you are logged in to x.com (https://docs.lobstr.io/accounts).account_rate_limited(429, retry): This X account cannot read a list right now: it pauses a couple of seconds between two pages, and X counts each account's requests (about 500 pages for 15 minutes).retry_aftersays when it can again, in seconds. Retrying before then gets this same answer: nothing is queued.account_unusable(409): X logged this account out, or locked it. Open x.com in the browser the account comes from, then connect it again with POST /v2/accounts and fresh cookies (the same account keeps its id).site_unavailable(503, retry): X did not answer properly; retry later (not charged).unexpected_answer(424): X answered in a shape we do not read yet; we are told and fix it (not charged).
How long can a call take?
30 seconds at most by default, up to 60 with timeout_s. A call past it answers timeout (408), is not charged, and can be sent again.
API and agents
Can my AI agent run it?
Yes: connect the lobstr.io MCP server (https://api.lobstr.io/v2/mcp, your API key as a Bearer token); its run_operation tool runs x/following/list. Its page for agents, in Markdown: x/following/list.md.
Where is its full description?
The contract, as JSON: https://api.lobstr.io/v2/catalog/x/following/list: every option, every field, the price and the errors. This page is drawn from it.
Ready to call it?
An API key in a minute, then the call above, from your code or your agent.