API para TikTok Shop: Categorias
Liste a árvore de categorias do TikTok Shop de um mercado: categorias de nível superior com IDs, slugs e imagens, cada uma com suas subcategorias.
Preços
Um preço, em dólares
Teste
Faça sua primeira requisição
{
"data": {
"categories": [
{
"categoryId": "general",
"children": [
{
"categoryId": "general",
"image": "https://example.com/image.jpg",
"isLeaf": true,
"name": "Example title",
"slug": "alex_rivera"
}
],
"image": "https://example.com/image.jpg",
"isLeaf": true,
"name": "Example title",
"slug": "alex_rivera"
}
]
},
"found": true,
"reason": "not_found"
}interface TiktokShopCategoriesResponse {
data: {
categories: {
categoryId: string;
children?: {
categoryId: string;
image?: string;
isLeaf?: boolean;
name: string;
slug?: string;
}[];
image?: string;
isLeaf?: boolean;
name: string;
slug?: string;
}[];
} | null;
found: boolean;
reason?: "not_found";
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Requisição, resposta e preço
Última verificação em 2026-09-29 · disponibilidade e latência medidas em 30dcurl -X POST https://api.getanyapi.com/v1/run/tiktok_shop.categories \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"region":"US"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| region | enum | "US"Código do país do mercado do TikTok Shop cuja árvore de categorias será listada. Só US e VN publicam uma árvore de categorias. |
| Resposta | ||
| data | object | |
| data.categories | object[] | Top-level TikTok Shop categories for the market, each with its child categories. Populated whenever the provider has data for the entity. |
| data.categories[].categoryId | string | TikTok Shop category id. Populated whenever the provider has data for the entity. |
| data.categories[].children | object[] | Child categories one level down. |
| data.categories[].children[].categoryId | string | TikTok Shop category id. |
| data.categories[].children[].image | string | Category image URL. |
| data.categories[].children[].isLeaf | boolean | True when the category has no children. |
| data.categories[].children[].name | string | Display name of the category. |
| data.categories[].children[].slug | string | URL slug of the category. |
| data.categories[].image | string | Category tile image URL. |
| data.categories[].isLeaf | boolean | True when the category has no children. |
| data.categories[].name | string | Display name of the category. Populated whenever the provider has data for the entity. |
| data.categories[].slug | string | URL slug of the category. |
| found | boolean | |
| reason | "not_found" | Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost. |
| Preço | ||
| Preço por requisição | USD | US$ 0,0012 |
| Preço /mil req. | USD | US$ 1,20 |
Dúvidas frequentes
Sobre o endpoint Categorias da API para TikTok Shop
O endpoint Categorias da AnyAPI para TikTok Shop retorna dados de TikTok Shop em JSON normalizado com uma chamada POST para /v1/run/tiktok_shop.categories. Liste a árvore de categorias do TikTok Shop de um mercado: categorias de nível superior com IDs, slugs e imagens, cada uma com suas subcategorias. A AnyAPI retorna um schema normalizado, seja qual for a fonte que atende. Custa a partir de US$ 1,20 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 100,0% das chamadas ao endpoint Categorias da API para TikTok Shop feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 0,3 segundos, em 7 chamadas medidas.