Get follower IDs
GET/twitter/user/followers_ids5 credits
Bulk-fetch the numeric IDs of an account’s followers — lightweight, ideal for graph analysis. The sample response below is captured from the live API. List endpoints paginate with `has_next_page` and `next_cursor`.
Authentication required
Send your key in the
x-api-key header. Requests without a valid key return 401.Query parameters
userName
stringrequired
The @handle to fetch follower IDs for.
cursor
stringoptional
Pagination cursor for the next page.
Response fields
idsarray
Array of user IDs as strings.
has_next_pageboolean
Whether another page of results is available.
next_cursorstring
Cursor for the next page; null or empty when exhausted.
statusstring
Request status: "success" or "error".
msgstring
Status message from the upstream.
codeinteger
Numeric status code (0 = OK).
Request
Response200 OK
base url · https://v2.xapis.dev
Ready to call Get follower IDs?
Get an API key or explore the full interactive reference.
