Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Twitter Check follow

Documentazione API
https://api.sandbase.ai/v1/api/twitter/web/check-follow

Check follow on Twitter. Returns the platform data as structured JSON.

Prezzo
$0.001USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
2 obbligatori · 0 opzionali

Playground

Input
Source Screen Name
Target Screen Name
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

Twitter Check follow API

Checks whether one Twitter account follows another. It needs two screen names: user_name (the source account) and follows (the target account). It returns a boolean and the source username.

Use cases

  • Verify that a customer or partner account follows your brand account before granting a reward.
  • Check follow status between two accounts when you audit a giveaway or campaign.
  • Confirm a relationship between two known accounts without paging through a full follower list.

Request

curl -X POST "https://api.sandbase.ai/v1/api/twitter/web/check-follow" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_name": "elonmusk", "follows": "NASA"}'

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

Parameters

NameTypeRequiredDescription
followsstringYesTarget Screen Name
user_namestringYesSource Screen Name

Example response

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

{
  "is_follow": false,
  "username": "elonmusk"
}

Response fields

FieldMeaning
is_followBoolean. true if the user_name account follows the follows account, false if it does not. The sample call for elonmusk and NASA returned false.
usernameThe source screen name the check was run for. It matches the user_name you sent.

Notes

Pricing

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

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
X (Twitter)$0.001 per chiamataJSON
Twitter$0.001 per chiamataJSON
Twitter$0.001 per chiamataJSON
Twitter$0.001 per chiamataJSON
Twitter$0.001 per chiamataJSON
Twitter$0.001 per chiamataJSON

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

Domande

FAQ

Come uso l'API Twitter Check follow?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/twitter/web/check-follow con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Twitter Check follow?

$0.001 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Twitter Check follow?

Richiesti: user_name (string) e follows (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Twitter Check follow?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API X (Twitter)?

No. Twitter Check follow funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API X (Twitter).