X

Get an X account's followers or following

Fetch an account's followers, about 70 a page, or with type=following the accounts it follows: each an account, with its counts and bio. Use this to see who an audience is.

Give exactly one of username or url to identify the account.

Costs 13 credits, whether the answer is fetched or served from cache. A failed call is refunded automatically.

get/x/followers

Request

  • Base URL: https://api.scrapefield.com/v1
  • URL: https://api.scrapefield.com/v1/x/followers
  • Auth: one of:
    • HTTP bearer
    • none

Query parameters

usernamestring
Example:nasa

The username. A leading @ is fine.

urlstring

The profile URL.

type'followers' | 'following'

Who follows the account, or whom it follows.

cursorstring

The meta.next_cursor from the previous page. Omit for the first page.

freshboolean

Skip the cache and fetch now. Charged normally. Not available on trial credits — buy any pack to unlock it.

demoboolean

With no key: a fixed demo answer in the same shape, charged nothing.

Response

The request succeeded.

Changes

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