API ReferenceX
List following
List who an X account follows.
verified reflects only X's legacy verification flag on this list, which reads false for almost every account. Use profile for real verification status.
Returns the first page only; pagination isn't exposed yet.
Cost: 2 credits per successful call.
Authorization
ApiKeyAuth X-API-Key<token>
Required on every request. Keys are issued manually during early access, see Authentication.
In: header
Query Parameters
username*string
X handle, no @.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/x/following?username=elonmusk"{ "success": true, "platform": "x", "data": [ { "username": "wholemars", "display_name": "Whole Mars Catalog", "followers": 2114984, "verified": false } ], "meta": { "credits_used": 2 }}