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

Facebook Followers

Documentación de la API
https://api.sandbase.ai/v1/api/facebook/followers

List the public followers (or accounts followed) of any Facebook page or profile URL as normalized JSON records.

Precio
Desde $0.12USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 2 opcionales

Entorno de pruebas

Entrada
Facebook page or profile URL to list follows for (e.g. https://www.facebook.com/nasa).
120
Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less. Rango: de 1 a 20.
Which relation to fetch: 'follower' or 'following' (e.g. follower).
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

Facebook Followers API

Returns a list of public followers, or accounts followed, for a Facebook page or profile. It needs a Facebook page or profile url. Each record has an ID, name, type, profile URL and image URL.

Use cases

  • Sample the public followers of a brand page such as Nike to see what kinds of accounts follow it.
  • List the accounts a profile follows by setting followType to following.
  • Collect follower profile URLs to pass to a profile lookup for further research.
  • Check whether a page exposes public followers by testing the found flag.

Request

curl -X POST "https://api.sandbase.ai/v1/api/facebook/followers" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.facebook.com/nike", "limit": 3}'

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

Parameters

NameTypeRequiredDescription
urlstringYesFacebook page or profile URL to list follows for (e.g. https://www.facebook.com/nasa).
followTypestringNoWhich relation to fetch: 'follower' or 'following' (e.g. follower).
limitintegerNoMaximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.

Example response

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

{
  "data": {
    "items": [
      {
        "id": "100068981584033",
        "image": "https://scontent.fnbo1-2.fna.fbcdn.net/v/t39.30808-1/475753792_917567940552584_4…",
        "name": "Phawulothando",
        "type": "profile",
        "url": "https://www.facebook.com/people/Phawulothando/100068981584033/"
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
foundtrue when the lookup returned data. A lookup that finds nothing returns false.
data.items[]One follower or followed account per entry. The list holds at most limit entries.
data.items[].idNumeric Facebook ID of the follower account, returned as a string.
data.items[].nameDisplay name of the follower account.
data.items[].typeKind of account. The sample values are profile.
data.items[].urlFacebook URL of the follower account. You can use it as the url input in other Facebook APIs.
data.items[].imageURL of the account's profile picture.

Notes

  • Set limit between 1 and 20. The default is 20.
  • Set followType to follower (default) or following to choose the direction.
  • To get more detail on an account in the list, pass its url to Facebook Profile.
  • If you only have a page name and need its ID, use Facebook Profile ID.

Pricing

Billed at the actual cost of each call, about $0.12 for the request above. Failed calls are not charged.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
FacebookDesde $0.12 por llamadaJSON
FacebookDesde $0.0012 por llamadaJSON
FacebookDesde $0.00462 por llamadaJSON
FacebookDesde $0.0012 por llamadaJSON
FacebookDesde $0.0011 por llamadaJSON
FacebookDesde $0.0011 por llamadaJSON

Guías:Best Facebook API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de Facebook Followers?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/facebook/followers 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 Facebook Followers?

Desde $0.12 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 Facebook Followers?

Requeridos: url (string). Opcionales: limit (integer) y followType (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Facebook Followers?

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 Facebook?

No. Facebook Followers 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 Facebook por separado.