TIKTOK API
User's Audience Demographics
Retrieve user's audience demographics from TikTok with a single API request.
GET
/api/data/v1/tiktok/user/audience26credits base cost
Request parameters
Up to 26 creditsTikTok handle
Live requests use your prepaid balance. Cached responses cost zero where supported.
curl --request GET \
--url 'https://fetchgoblin.com/api/data/v1/tiktok/user/audience?handle=shakira' \
--header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'Response
Example{
"success": true,
"credits_charged": 26,
"audienceLocations": [
{
"country": "Mexico",
"countryCode": "MX",
"count": 83,
"percentage": "15.96%"
}
]
}Example data from the API specification. Run a request to retrieve current data.
Response shape
This schema describes the documented data shape. Some platform fields may be absent or null. The response also includes your FetchGoblin request ID and current credit balance.
View JSON Schema +
{
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"credits_remaining": {
"type": "integer"
},
"credits_charged": {
"type": "integer"
},
"audienceLocations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"country": {
"type": "string"
},
"countryCode": {
"type": "string"
},
"count": {
"type": "integer"
},
"percentage": {
"type": "string"
}
}
}
}
}
}