Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

TikTok Audience Demographics

Документация 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.

Цена
От $0.018USD / вызов
Метод
POST
Ответ
JSON
Параметры
1 обязательных · 0 необязательных

Песочница

Ввод
TikTok username without the leading @ (e.g. "shakira").
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

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.

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
TikTokОт $0.018 за запросJSON
TikTokОт $0.0012 за запросJSON
TikTokОт $0.0008 за запросJSON
TikTokОт $0.0008 за запросJSON
TikTok$0.001 за запросJSON
TikTok$0.001 за запросJSON

Руководства:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Вопросы

FAQ

Как использовать API TikTok Audience Demographics?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/tiktok/audience-demographics, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API TikTok Audience Demographics?

От $0.018 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API TikTok Audience Demographics?

Обязательные: handle (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API TikTok Audience Demographics?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика TikTok или API key?

Нет. TikTok Audience Demographics работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API TikTok.