Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Twitter Check follow

Documentación de la API
https://api.sandbase.ai/v1/api/twitter/web/check-follow

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

Precio
$0.001USD / llamada
Método
POST
Respuesta
JSON
Parámetros
2 obligatorios · 0 opcionales

Entorno de pruebas

Entrada
Source Screen Name
Target Screen Name
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la 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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
X (Twitter)$0.001 por llamadaJSON
Twitter$0.001 por llamadaJSON
Twitter$0.001 por llamadaJSON
Twitter$0.001 por llamadaJSON
Twitter$0.001 por llamadaJSON
Twitter$0.001 por llamadaJSON

Guías:X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de Twitter Check follow?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/twitter/web/check-follow con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Twitter Check follow?

$0.001 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Twitter Check follow?

Requeridos: user_name (string) y follows (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Twitter Check follow?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de X (Twitter)?

No. Twitter Check follow funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de X (Twitter) por separado.