Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Twitter Check follow

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

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

Preis
$0.001USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
2 erforderlich · 0 optional

Playground

Eingabe
Source Screen Name
Target Screen Name
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

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.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
X (Twitter)$0.001 pro AufrufJSON
Twitter$0.001 pro AufrufJSON
Twitter$0.001 pro AufrufJSON
Twitter$0.001 pro AufrufJSON
Twitter$0.001 pro AufrufJSON
Twitter$0.001 pro AufrufJSON

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

Fragen

FAQ

Wie verwende ich die Twitter Check follow API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/twitter/web/check-follow mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Twitter Check follow API?

$0.001 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die Twitter Check follow API?

Erforderlich: user_name (string) und follows (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Twitter Check follow API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein X (Twitter)-Entwicklerkonto oder einen API-Schlüssel?

Nein. Twitter Check follow läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für X (Twitter) API beantragen.