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

TikTok Audience Demographics

Documentación de la API
https://api.sandbase.ai/v1/api/tiktok/audience-demographics

Get the audience country breakdown (follower count and share per country) for a TikTok creator by handle.

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

Entorno de pruebas

Entrada
TikTok username without the leading @ (e.g. "shakira").
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

TikTok Audience Demographics API

Returns the country breakdown of a TikTok creator's audience. Each row gives a country, its follower count and its share of the audience. The only input is the creator's handle.

Use cases

  • Check whether a creator's audience sits in the countries a campaign targets.
  • Compare the top audience countries of several creators before picking partners.
  • Flag creators whose audience is concentrated in markets that do not match their stated niche.
  • Add audience location data to an influencer report or database.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/audience-demographics" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"handle": "shakira"}'

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

Parameters

NameTypeRequiredDescription
handlestringYesTikTok username without the leading @ (e.g. "shakira").

Example response

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

{
  "data": {
    "audienceLocations": [
      {
        "count": 101,
        "country": "United States",
        "countryCode": "US",
        "percentage": "8.51%"
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
foundtrue when the creator was found and audience data was returned. A lookup that finds nothing returns false.
data.audienceLocations[]List of countries in the creator's audience. Each item is one country.
data.audienceLocations[].countryCountry name in English, for example United States.
data.audienceLocations[].countryCodeTwo-letter country code, for example US.
data.audienceLocations[].countNumber of audience members counted for this country.
data.audienceLocations[].percentageShare of the audience in this country, returned as a string with a percent sign, for example 8.51%.

Notes

  • Pass handle without the leading @, for example shakira.
  • percentage is a string, so strip the % sign before you do math on it.
  • The response shows the countries in descending order of count.

Pricing

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

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
TikTokDesde $0.018 por llamadaJSON
TikTokDesde $0.0012 por llamadaJSON
TikTokDesde $0.0008 por llamadaJSON
TikTokDesde $0.0008 por llamadaJSON
TikTok$0.001 por llamadaJSON
TikTok$0.001 por llamadaJSON

Guías:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de TikTok Audience Demographics?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/tiktok/audience-demographics 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 TikTok Audience Demographics?

Desde $0.018 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 TikTok Audience Demographics?

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

¿Qué devuelve la API de TikTok Audience Demographics?

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

No. TikTok Audience Demographics 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 TikTok por separado.