twitter

Followings

Get the list of accounts a user is following, paginated at up to 70 per request. Use the cursor parameter to load more.

Tip: Use the /v1/scrape/twitter/profile endpoint to resolve a user's rest_id from their handle.

get/v1/scrape/twitter/followings

Request

  • Base URL: https://api.sociavault.com
  • URL: https://api.sociavault.com/v1/scrape/twitter/followings
  • Auth: API key in header X-API-Key

Query parameters

user_idstring required
Example:44196397

The numeric user ID (rest_id) of the account to get followings for

cursorstring

Pagination cursor from a previous response to get the next page of results

Response

Successful response

Key Response Fields:

Pagination:

  • data.cursor.bottom: Pass as cursor query param to get the next page of followings
  • data.cursor.top: Cursor for the previous page

Timeline Structure:

  • data.result.timeline.instructions[0]: TimelineClearCache (internal, can ignore)
  • data.result.timeline.instructions[1]: TimelineTerminateTimeline direction Top
  • data.result.timeline.instructions[2]: TimelineTerminateTimeline direction Bottom — indicates no more results when present
  • data.result.timeline.instructions[3].entries[]: Array of following entries (type TimelineAddEntries)

Each Following (at entries[].content.itemContent.user_results.result):

  • .rest_id: User's numeric ID
  • .is_blue_verified: Whether user has a blue checkmark
  • .legacy.name: Display name
  • .legacy.screen_name: Handle (username without @)
  • .legacy.description: Bio
  • .legacy.followers_count: Follower count
  • .legacy.friends_count: Following count
  • .legacy.statuses_count: Total tweet count
  • .legacy.favourites_count: Total likes given
  • .legacy.media_count: Total media posts
  • .legacy.listed_count: Number of lists the user is on
  • .legacy.created_at: Account creation date
  • .legacy.location: Location set by user
  • .legacy.profile_image_url_https: Profile picture URL
  • .legacy.profile_banner_url: Banner image URL
  • .legacy.protected: Whether account is private
  • .legacy.verified: Legacy verified status
  • .professional.professional_type: Creator or Business (if applicable)

Changes

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