Followers & Following Endpoints

Get Following by Page

Retrieve a paginated list of following users using cursor-based pagination. Each page returns up to 200 users. Pass next_cursor from the previous response to continue. Pricing: $0.05 per 1,000 following users.

post/twitter/following/page

Request

  • Base URL: https://api.twexapi.io
  • URL: https://api.twexapi.io/twitter/following/page
  • Auth: HTTP bearer

Request body

next_cursorstring nullable

Cursor returned by the previous page. Leave empty to fetch the first page.

screen_namestring required

Twitter screen name of the target user (with or without @).

Example request

{
  "screen_name": "elonmusk"
}

Response

Current page data (up to 200 following users) and pagination metadata (has_next_page, next_cursor).

codeinteger

HTTP status code

msgstring

Response message

has_next_pageboolean required

Whether another page is available.

next_cursorstring nullable

Use this cursor to fetch the next page when has_next_page is true.

Example response

{
  "data": [
    {
      "verified_type": "blue"
    }
  ],
  "next_cursor": "1234567890"
}

Changes

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