TikTok API endpoint
Lists the country and industry filter values used by the TikTok Creative Center popular-trend endpoints. Countries have an `id` such as `AR` and a name; industries have a numeric `id` and a name such as Apparel & Accessories. A maintained fallback list is returned if TikTok's own metadata is unavailable.
/tiktok/popular-trend/country-industry-metaNotable response behavior:
| Field | Filled in, of 71 checked |
|---|---|
| id | 71 |
| value | 71 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/tiktok/popular-trend/country-industry-meta" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"country": [
{
"id": "AR",
"value": "Argentina"
}
],
"industry": [
{
"id": "22000000000",
"value": "Apparel & Accessories"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/populartrend.countryIndustryMetaResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | popularTrend.CountryIndustryMeta | No | ||||
| data.country | array | No | Countries TikTok Creative Center offers as filters, each with its code and name. | |||
| data.country[].id | string | No | Country code or industry id, for example `AR` or `22000000000`. | |||
| data.country[].value | string | No | Display name of the country or industry. | |||
| data.industry | array | No | Industries TikTok Creative Center offers as filters, each with its id and name. | |||
| data.industry[].id | string | No | Country code or industry id, for example `AR` or `22000000000`. | |||
| data.industry[].value | string | No | Display name of the country or industry. | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 429 | Rate limit exceeded | #/definitions/app.Response |
| 500 | Internal server error | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/tiktok/popular-trend/country-industry-meta" \
-H "x-api-key: $CRAWLORA_API_KEY"