TikTok Audience Demographics API
See which countries a TikTok creator's audience comes from — a ranked country breakdown based on people who comment on their videos.
GET request to /v1/tiktok/audience-demographics that responds with clean JSON and costs 3 credits. Pass cache=true for a free 24h cache hit; default is always fresh. Start with 100 free credits — no credit card.What is the TikTok Audience Demographics API?
Give the TikTok Audience Demographics API a profile URL, @handle, or username and it returns a ranked country breakdown of the creator's audience as clean JSON. TikTok does not publish follower geography, but commenters often expose a country — so we sample people commenting on the creator's recent videos and tally countries into a list with country name, country code, count, and percentage. You also get how many videos and commenters were sampled. This reflects who engages, not a full follower census. Use it for market sizing, geo targeting, localization, and influencer vetting. Flat 3 credits per call. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh.
What you get
- Ranked countries with name, code, count, and percentage
- Country mix based on real commenters, not a follower census
- How many videos and commenters were sampled
- Computed from public TikTok engagement data
Try it
Fill in the parameters below and copy a ready-to-run request, or open the live Playground to run it against your account (no API key paste).
Parameters
curl "https://api.captapi.com/v1/tiktok/audience-demographics?url=https%3A%2F%2Fwww.tiktok.com%2F%40khaby.lame" \
-H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."Edit the parameters and the code updates instantly. Switch languages and hit copy.
Example response
{
"success": true,
"data": {
"platform": "tiktok",
"username": "khaby.lame",
"url": "https://www.tiktok.com/@khaby.lame",
"videosSampled": 12,
"sampleSize": 269,
"audienceLocations": [
{
"country": "Pakistan",
"countryCode": "PK",
"count": 70,
"percentage": "26.02%"
},
{
"country": "United States",
"countryCode": "US",
"count": 33,
"percentage": "12.27%"
},
{
"country": "Nigeria",
"countryCode": "NG",
"count": 21,
"percentage": "7.81%"
},
{
"country": "Senegal",
"countryCode": "SN",
"count": 8,
"percentage": "2.97%"
},
{
"country": "Bangladesh",
"countryCode": "BD",
"count": 8,
"percentage": "2.97%"
}
]
}
}Billing metadata is returned in response headers: X-Captapi-Credits (credits charged), X-Captapi-Cache (hit or miss), and X-Captapi-Source. Failed requests (4xx/5xx) are never charged. See the full list of error codes in the error reference.
Response structure
A successful call returns success, cached, creditsUsed, and a data object with the following fields:
Top-level fields
platformPlatform identifier (e.g. youtube, instagram).usernameAccount username / handle.urlCanonical URL of the item.videosSampledHow many of the creator's recent videos were sampled to build the breakdown.sampleSizeTotal number of commenter countries counted across the sampled videos.
Audience locations
Each item in audienceLocations contains:
countryCountry name (e.g. Mexico, United States).countryCodeISO-3166 alpha-2 country code (e.g. US, MX).countNumber of items in this bucket (e.g. commenters from this country in the sample).percentageShare of the sample this country represents, as a string like "15.96%".
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | TikTok profile URL, @handle, or username, e.g. https://tiktok.com/@username. Not a YouTube channel URL. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble. |
| cache | boolean | No | Set true to serve from the 24h response cache. Default false — always fetch fresh data. |
Authentication: send your key as Authorization: Bearer capt_live_.... A typical call costs 3 credits. Pass cache=true for a free 24h cache hit; default is always fresh.
tiktok_audience_demographics via @captapi/mcp. Set it up →How it works
- 1. Sign up — get 100 free credits, no card required.
- 2. Create a key from your dashboard.
- 3. Send one request to
/v1/tiktok/audience-demographicsand parse the JSON response.
Use cases
Influencer Discovery
Find and vet creators by audience size.
CRM Enrichment
Add social stats to your contact profiles.
Competitive Analysis
Track follower growth and posting cadence.
Outreach
Qualify partnership and sponsorship targets.
Frequently asked questions
What does the TikTok Audience Demographics API do?+
The TikTok Audience Demographics API lets you fetch profile or page details and audience stats from a public TikTok profile or page using one GET request to /v1/tiktok/audience-demographics. It returns clean JSON — no OAuth or infrastructure setup required.
How many credits does the TikTok Audience Demographics API cost?+
Each successful call costs 3 credits. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Failed or empty results are never charged.
Do I need a TikTok API key or OAuth?+
No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.
Is the TikTok Audience Demographics API suitable for production use?+
Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Use it for analytics, monitoring, and content automation.
More TikTok APIs
Ready to use the TikTok Audience Demographics API?
Sign up, grab your key, and make your first call in 60 seconds.