Users

List the user IDs of the accounts a user follows

Changed on

Returns the user IDs of the accounts the selected user follows, newest first, up to 5,000 a page. Use it when you need IDs only. Each ID costs 1 credit.

get/api/v1/x/users/{id}/following-ids

Request

  • Base URL: https://xquik.com
  • URL: https://xquik.com/api/v1/x/users/{id}/following-ids
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer
    • none

Query parameters

cursorstring

Pagination cursor for collection results. Also read as next_cursor, next_token, pagination_token or continuation_token.

pageSizeinteger

User IDs to request from this page (1-5000, default 5000). Credits can return fewer. Follow next_cursor for more pages. Aliases: limit, count, max_results, maxItems, max_items & per_page.

Response

A page of following IDs

idsstring[] required

X user IDs, newest relationship first.

has_next_pageboolean required
next_cursorstring required

Example response

{
  "ids": [
    "9876543210",
    "44196397"
  ],
  "has_next_page": true,
  "next_cursor": "1878079982871151535"
}

Changes

    • ▲

      the response property ///// became optional for the status

    • ○

      added the optional property //// to the response with the status

Of the 51 revisions, 1 has no diff computed.