Sand AISand AI MAGI-2ตอนนี้ MAGI-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 / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 0 ไม่บังคับ

Playground

อินพุต
TikTok username without the leading @ (e.g. "shakira").
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

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

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ TikTok Audience Demographics API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/tiktok/audience-demographics โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

TikTok Audience Demographics API ราคาเท่าไร?

เริ่มต้นที่ $0.018 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

TikTok Audience Demographics API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: handle (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

TikTok Audience Demographics API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ TikTok ไหม?

ไม่จำเป็น TikTok Audience Demographics ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก