Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

TikTok Audience Demographics

Dokumentacja 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.

Cena
Od $0.018USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 0 opcjonalnych

Playground

Wejście
TikTok username without the leading @ (e.g. "shakira").
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
TikTokOd $0.018 za wywołanieJSON
TikTokOd $0.0012 za wywołanieJSON
TikTokOd $0.0008 za wywołanieJSON
TikTokOd $0.0008 za wywołanieJSON
TikTok$0.001 za wywołanieJSON
TikTok$0.001 za wywołanieJSON

Przewodniki:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API TikTok Audience Demographics?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/tiktok/audience-demographics z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API TikTok Audience Demographics?

Od $0.018 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API TikTok Audience Demographics?

Wymagane: handle (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API TikTok Audience Demographics?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego TikTok lub klucza API?

Nie. TikTok Audience Demographics działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API TikTok.