Users

List accounts similar to a user

Changed on

Returns the public accounts X lists as similar to the selected user, in X's order. X can list slightly different accounts on each call. Each account costs 1 credit.

get/api/v1/x/users/{id}/similar

Request

  • Base URL: https://xquik.com
  • URL: https://xquik.com/api/v1/x/users/{id}/similar
  • 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

Profiles to request from this page (1-200, default 200). Source, filters or credits can return fewer. Follow next_cursor for more pages. Aliases: limit, count, max_results, maxItems, max_items & per_page.

minFollowersinteger

Whole number from 0.

Minimum follower count. Filtering happens before billing.

maxFollowersinteger

Whole number from 0.

Maximum follower count. Missing counts pass this maximum.

minFollowinginteger

Whole number from 0.

Profiles must follow at least this many accounts.

maxFollowinginteger

Whole number from 0.

Profiles may follow at most this many accounts.

minStatusesinteger

Whole number from 0.

Minimum post count. minPosts is also accepted.

maxStatusesinteger

Whole number from 0.

Maximum post count. maxPosts is also accepted.

minAccountAgeDaysinteger

Whole number from 0.

Minimum account age in whole days.

verifiedOnlyboolean

Only return verified profiles.

verifiedTypestring

Match the verification type exactly, ignoring case.

hasWebsiteboolean

Only return profiles with a website.

hasLocationboolean

Only return profiles with a location.

bioContainsstring

Match any comma-separated or line-separated bio term, ignoring case.

locationContainsstring

Match a location substring, ignoring case.

usernameContainsstring

Match a username substring, ignoring case.

Response

Accounts similar to the user

filtered_countinteger

Whole number from 0.

has_next_pageboolean required
next_cursorstring required

Example response

{
  "users": [
    {
      "id": "34743251",
      "username": "SpaceX",
      "name": "SpaceX",
      "followers": 41936873,
      "following": 127,
      "verified": true,
      "isBlueVerified": true,
      "isVerified": true,
      "profilePicture": "https://pbs.twimg.com/profile_images/1697749409851985920/HbrI04tM_normal.jpg",
      "coverPicture": "https://pbs.twimg.com/profile_banners/34743251/1681251194",
      "profileBannerUrl": "https://pbs.twimg.com/profile_banners/34743251/1681251194",
      "description": "SpaceX designs, manufactures and launches the world’s most advanced rockets and spacecraft",
      "location": "Earth",
      "createdAt": "Thu Apr 23 21:53:30 +0000 2009",
      "statusesCount": 11834,
      "mediaCount": 4713,
      "protected": false,
      "url": "http://spacex.com",
      "favouritesCount": 529,
      "possiblySensitive": false,
      "pinnedTweetIds": [
        "2104354931595423762"
      ],
      "verifiedType": "Business",
      "profile_bio": {
        "description": "SpaceX designs, manufactures and launches the world’s most advanced rockets and spacecraft",
        "entities": {
          "description": {},
          "url": {
            "urls": [
              {
                "display_url": "spacex.com",
                "expanded_url": "http://spacex.com",
                "indices": [
                  0,
                  23
                ],
                "url": "https://t.co/VOJ6qEctND"
              }
            ]
          }
        }
      },
      "hasGraduatedAccess": true,
      "parodyCommentaryFanLabel": "None",
      "professional": {
        "category": [],
        "professional_type": "Business",
        "rest_id": "1681839322029502464"
      },
      "profileDescriptionLanguage": "en",
      "profileImageShape": "Square",
      "profileTranslatorType": "none",
      "superFollowEligible": false
    },
    {
      "id": "20536157",
      "username": "Google",
      "name": "Google",
      "followers": 31909314,
      "following": 298,
      "verified": true,
      "isBlueVerified": true,
      "isVerified": true,
      "profilePicture": "https://pbs.twimg.com/profile_images/2042749771337564160/AgOFPEL3_normal.jpg",
      "coverPicture": "https://pbs.twimg.com/profile_banners/20536157/1780004508",
      "profileBannerUrl": "https://pbs.twimg.com/profile_banners/20536157/1780004508",
      "description": "Here to help.",
      "location": "Mountain View, CA",
      "createdAt": "Tue Feb 10 19:14:39 +0000 2009",
      "statusesCount": 251787,
      "mediaCount": 38271,
      "protected": false,
      "url": "https://blog.google/newsletter-subscribe/",
      "favouritesCount": 5327,
      "possiblySensitive": false,
      "pinnedTweetIds": [
        "2105388143902175529"
      ],
      "verifiedType": "Business",
      "profile_bio": {
        "description": "Here to help.",
        "entities": {
          "description": {},
          "url": {
            "urls": [
              {
                "display_url": "blog.google/newsletter-sub…",
                "expanded_url": "https://blog.google/newsletter-subscribe/",
                "indices": [
                  0,
                  23
                ],
                "url": "https://t.co/RS3iU87BGe"
              }
            ]
          }
        }
      },
      "hasGraduatedAccess": true,
      "parodyCommentaryFanLabel": "None",
      "professional": {
        "category": [
          {
            "icon_name": "IconBriefcaseStroke",
            "id": 713,
            "name": "Science & Technology"
          }
        ],
        "professional_type": "Business",
        "rest_id": "1504886752259059716"
      },
      "profileDescriptionLanguage": "en",
      "profileImageShape": "Square",
      "profileTranslatorType": "regular",
      "superFollowEligible": false
    }
  ],
  "has_next_page": false,
  "next_cursor": ""
}

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.