Users

Returns whether 1 public account follows another, & the reverse, with each account's username & user ID as X names them.

get/api/v1/x/followers/check

Request

  • Base URL: https://xquik.com
  • URL: https://xquik.com/api/v1/x/followers/check
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer
    • none

Query parameters

sourcestring required

Source user ID, username, @username, or X or Twitter profile URL, such as x.com/i/user/11348282. A number is a user ID.

targetstring required

Target user ID, username, @username, or X or Twitter profile URL, such as x.com/i/user/11348282. A number is a user ID.

fieldsstring
Example:id,text,author.username

Fields to keep in each row, comma-separated. Use dots for nested fields, such as author.username. A list keeps the field in each item. Case & underscores do not matter. A row that lacks a field leaves it out. Cursors, counts & diagnostics always stay. An unknown name answers 400 unknown_field with the valid names, before any read. The price stays the same. SDK row types then hold only the named fields. A longer URL fails at the edge before Xquik reads it.

omitstring
Example:entities,media

Fields to drop from each row, comma-separated. It takes the same names as fields. With fields, it drops from the kept fields. A longer URL fails at the edge before Xquik reads it.

Response

Follow check result

isFollowingboolean required
isFollowedByboolean required
sourceIdstring

The source account's user ID, as X gives it.

sourceUsernamestring required
targetIdstring

The target account's user ID, as X gives it.

targetUsernamestring required

The target account's username, in lower case.

Example response

{
  "isFollowing": true,
  "sourceId": "11348282",
  "sourceUsername": "elonmusk",
  "targetId": "34743251",
  "targetUsername": "spacex"
}

Changes

    • warning

      added the new topup_in_progress enum value to the ///// response property for the response status

    • warning

      added the new topup_in_progress enum value to the ////// response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the / response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the // response property for the response status

    • warning

      added the new topup_in_progress enum value to the ////// response property for the response status

    • warning

      added the new topup_in_progress enum value to the /////// response property for the response status