List numeric user ids of accounts following an X profile.
Endpoint
/v1/twitter/profiles/{handle}/followers/ids
Path
X (Twitter) profile handle without the leading @, or a numeric user id.
Query
Requested page size (1–5000).
Opaque pagination cursor returned by a previous response.
Treat the path value as a handle or a numeric user id. Defaults to id when the value is all digits.
const response = await fetch( "https://api.socialfetch.dev/v1/twitter/profiles/nasa/followers/ids", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);