users

Follower ids of a user

Numeric user ids only, no profiles. 0.02 credit per id. Up to 200 per page. It is the same page /followers reads, so a page fetched through either endpoint is a cache hit for the other, at half price. Same availability note as followers.

get/v1/users/{user}/followers/ids

Request

  • Base URL: https://api.xdataapi.io
  • URL: https://api.xdataapi.io/v1/users/{user}/followers/ids
  • Auth: one of:
    • API key in header x-api-key
    • OAuth 2 (authorization code, authorization URL https://xdataapi.io/oauth/authorize, token URL https://xdataapi.io/api/oauth/token, scopes: read)

Path parameters

userstring required

Query parameters

countinteger
cursorstring

Opaque cursor from next_cursor of the previous page. Pages hold exactly count items while there are that many; you pay for the items you receive. No next_cursor means the end.

freshboolean

Bypass the cache. Costs 2x credits.

Response

OK

itemsinteger required

Objects returned.

credits_chargednumber required
balance_remainingnumber required
cache'miss' | 'hit' | 'bypass' required
request_idstring uuid required
next_cursorstring
datastring[]

Numeric user ids as strings.

Example response

{
  "credits_charged": 20,
  "balance_remaining": 79980,
  "data": [
    "783214"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.