Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Twitter (X) User Followers

Docs API
https://api.sandbase.ai/v1/api/twitter/web/user-followers

Retrieves follower profiles for a specified Twitter (X) account, including follower counts and verification statuses. Supports pagination.

Prix
$0.001USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 1 facultatifs

Bac à sable

Entrée
Screen Name, for example: elonmusk, can be obtained from the user's homepage link, for example: elonmusk in https://twitter.com/elonmusk
Cursor, default is None, used for paging, obtained from the last request
SortieExemple
Réponseoutputs · 2.7 KB · 83 lignes
[
  {
    "data": {
      "followers": [
        {
          "affiliates": [],
          "blue_verified": true,
          "business_account": null,
          "can_dm": null,
          "created_at": "Thu Apr 23 21:53:30 +0000 2009",
          "description": null,
          "followers_count": 41935094,
          "friends_count": null,
          "location": "Earth",
          "media_count": null,
          "name": "SpaceX",
          "profile_image": "https://pbs.twimg.com/profile_images/1697749409851985920/HbrI04tM_normal.jpg",
          "screen_name": "SpaceX",
          "statuses_count": null,
          "user_id": "34743251",
          "verified": false,
          "website": null
        },
        {
          "affiliates": [],
          "blue_verified": true,
          "business_account": null,
          "can_dm": null,
          "created_at": "Tue Nov 18 21:28:10 +0000 2008",
          "description": null,
          "followers_count": 28090983,
          "friends_count": null,
          "location": "Global",
          "media_count": null,
          "name": "National Geographic",
          "profile_image": "https://pbs.twimg.com/profile_images/2050149546685022208/72MxNUv-_normal.jpg",
          "screen_name": "NatGeo",
          "statuses_count": null,
          "user_id": "17471979",
          "verified": false,
          "website": null
        },
        {
          "affiliates": {
            "label": {
              "badge": {
                "url": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_bigger.jpg"
              },
              "description": "NASA",
              "url": {
                "url": "https://twitter.com/NASA",
                "urlType": "DeepLink"
              },
              "userLabelDisplayType": "Badge",
              "userLabelType": "BusinessLabel"
            }
          },
          "blue_verified": true,
          "business_account": null,
          "can_dm": null,
          "created_at": "Thu Mar 06 20:15:02 +0000 2008",
          "description": null,
          "followers_count": 8900821,
          "friends_count": null,
          "location": "Goddard Space Flight Center",
          "media_count": null,
          "name": "Hubble",
          "profile_image": "https://pbs.twimg.com/profile_images/3468011581/efb985f24af0a814a722457a768f3cc5_normal.jpeg",
          "screen_name": "NASAHubble",
          "statuses_count": null,
          "user_id": "14091091",
          "verified": false,
          "website": null
        },
        "… 67 more items in the full response"
      ],
      "followers_count": 92375012,
      "more_users": true,
      "next_cursor": "1878303560861741507|2107451161253511096",
      "status": "ok"
    }
  }
]

Exemples

Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.

README de l'API

Twitter (X) User Followers API

Returns a page of follower profiles for a public Twitter (X) account. It needs the account's screen_name and returns each follower's name, handle, ID, and follower count, plus a cursor for the next page.

Use cases

  • Sample the accounts that follow a brand or agency profile to see who its audience is.
  • Find large or Blue-verified accounts among the followers of a target profile.
  • Export follower handles and IDs page by page for audience analysis.
  • Compare follower lists of two accounts by matching on user_id.

Request

curl -X POST "https://api.sandbase.ai/v1/api/twitter/web/user-followers" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"screen_name": "NASA"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
screen_namestringYesScreen Name, for example: elonmusk, can be obtained from the user's homepage link, for example: elonmusk in https://twitter.com/elonmusk
cursorstringNoCursor, default is None, used for paging, obtained from the last request

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "followers": [
    {
      "affiliates": [],
      "blue_verified": true,
      "business_account": null,
      "can_dm": null,
      "created_at": "Thu Apr 23 21:53:30 +0000 2009",
      "description": null,
      "followers_count": 41933560,
      "friends_count": null,
      "location": "Earth",
      "media_count": null,
      "name": "SpaceX",
      "profile_image": "https://pbs.twimg.com/profile_images/1697749409851985920/HbrI04tM_normal.jpg"
    }
  ],
  "followers_count": 92289815,
  "more_users": true,
  "next_cursor": "1880822017849790130|2117523445288796127",
  "status": "ok"
}

Response fields

FieldMeaning
followers[].screen_name / followers[].nameThe follower's handle and display name.
followers[].user_idThe follower's numeric account ID, returned as a string.
followers[].followers_countHow many followers this follower account has.
followers[].blue_verified / followers[].verifiedVerification flags for the follower. A profile can be blue_verified while verified is false.
followers[].created_atWhen the follower account was created, in a format like Thu Apr 23 21:53:30 +0000 2009.
followers[].locationLocation text from the follower's profile.
followers[].affiliatesAffiliation data for the follower. It is an empty list when there is none, and an object with a label (for example a business badge) when the account is linked to an organization.
followers_countFollower total for the target account (the screen_name you sent).
more_userstrue when more follower pages are available.
next_cursorCursor string to pass as cursor in the next request.

Notes

  • Take screen_name from the profile URL. For https://twitter.com/NASA, use NASA.
  • To get the next page, send the next_cursor value as cursor and keep the same screen_name. Stop when more_users is false.
  • Fields such as description, friends_count, media_count, and statuses_count came back as null in this response, so do not rely on them here.
  • To see who an account follows instead, call Twitter (X) User Followings.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Twitter$0.001 par appelJSON
Twitter$0.001 par appelJSON
Twitter$0.001 par appelJSON
Twitter$0.001 par appelJSON
Twitter$0.001 par appelJSON
Twitter$0.001 par appelJSON

Guides :X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared

Questions

FAQ

Comment utiliser l’API Twitter (X) User Followers ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/twitter/web/user-followers avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Twitter (X) User Followers ?

$0.001 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API Twitter (X) User Followers accepte-t-elle ?

Obligatoire : screen_name (string). Facultatif : cursor (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Twitter (X) User Followers ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API Twitter ?

Non. Twitter (X) User Followers fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Twitter séparément.