Produto no Brasil
Exemplo verificado em 21/10/2026 a partir de um resultado PLP; preços e disponibilidade podem mudar.
{
"target": "tiktok.com",
"type": "pdp",
"region": "BR",
"productId": "1737210528686179693"
} // docs
Consulte um produto do TikTok Shop em 10 países por ID ou URL: preços, variantes, estoque informado, imagens, vendas e avaliação da loja, avaliações do produto, especificações e descrição quando disponíveis. Custo: 5 créditos por requisição bem-sucedida.
Sobre os dados: O produto deve pertencer ao país selecionado. Preços podem incluir ofertas e promoções. Estoque informado não garante disponibilidade no checkout. Descrição e outros campos opcionais podem retornar null; não representam uma falha quando os dados principais do produto estão disponíveis.
Nota importante: alguns campos podem retornar null em produção,
dependendo da página de origem. Consulte o schema e a descrição de cada campo
para tratar valores ausentes; os exemplos mostram uma resposta possível.
Se a origem não fornecer um produto válido para o ID e o país selecionados,
a consulta retorna erro de extração e não consome créditos. Esta API não
converte respostas incompletas em produtos vazios ou em notFound.
curl -X POST https://api.geckoapi.com.br/v1/extract \
-H "Authorization: Bearer SUA_CHAVE" \
-H "Content-Type: application/json" \
-d '{
"target": "tiktok.com",
"type": "pdp",
"region": "BR",
"productId": "1737210528686179693"
}'
A mesma seam também aparece no MCP hospedado como uma tool dedicada.
Os argumentos reaproveitam os campos do extract, mas target e type
já ficam fixos pela tool.
Endpoint
POST /v1/mcp
Tool name
tiktok_com_pdp
Auth
Bearer ou X-API-Key
{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "tiktok_com_pdp",
"arguments": {
"region": "BR",
"productId": "1737210528686179693",
"executionId": "exec_example_123"
}
}
}
Campos suportados nesta API do POST /v1/extract,
com regras específicas de obrigatoriedade e condicionais.
| Campo | Tipo | Status | Regra | Default | Exemplo |
|---|---|---|---|---|---|
| returnHtml Inclui o HTML da mesma coleta PDP quando suportado e dentro do limite de tamanho da resposta. | boolean | Opcional | Com true, o POST retorna html renderizado pela Gecko a partir dos dados da mesma coleta. Com skuId, o HTML abre na variante pedida. Salve o texto recebido para reabri-lo sem outra chamada. As imagens usam URLs externas. | - | true |
| skuId ID exato da variante do TikTok Shop como texto. | string (10 a 25 dígitos) | Opcional | Envie o SKU como string de 10 a 25 dígitos no corpo ou use ?sku_id= na URL do produto. Se informar ambos, os valores devem coincidir. SKU ausente do produto retorna HTTP 400. | - | 1737210471965230445 |
| productId ID público do produto no TikTok Shop PDP. Pode substituir a URL; preserve como texto para evitar perda de precisão. | string (10 a 25 dígitos) | Condicional | ID do produto como string com 10 a 25 dígitos. Obrigatório quando url não for informada. Pode ser copiado de data.items[].productId no PLP. Se enviar ambos, os IDs devem coincidir. | - | 1737210528686179693 |
| url URL alvo da extração. Para alguns PLPs pode ser omitida quando a API monta a URL a partir de outros campos. | string (URL) | Condicional | URL HTTPS completa: tiktok.com/shop/[país/]pdp/[slug/]ID ou tiktok.com/view/product/ID. Aceita www.tiktok.com e shop.tiktok.com. Obrigatória se productId não for informado. Links encurtados e URLs de busca não são aceitos. | - | https://www.tiktok.com/shop/fr/pdp/1729905035780987763 |
| region Região da consulta. O formato depende da API; Temu PDP aceita br (Brasil), us (Estados Unidos), uk (Reino Unido) e co (Colômbia); PLP aceita br, us e uk. O padrão da Temu sem país na URL é br e OLX aceita uma região textual. | string | Opcional | País do produto: BR, MX, JP, ID, MY, PH, SG, TH, VN ou FR. Aceita maiúsculas ou minúsculas. Quando omitido, usa o país da URL, se presente; caso contrário, BR. O país da URL deve coincidir com region. | BR | BR |
| target Fonte alvo da extração. | enum | Obrigatório | Use tiktok.com. | - | tiktok.com |
| type Tipo da extração: pdp, idp, plp, ilp, quote, review ou places. | enum | Obrigatório | Use pdp. | - | pdp |
Exemplo verificado em 21/10/2026 a partir de um resultado PLP; preços e disponibilidade podem mudar.
{
"target": "tiktok.com",
"type": "pdp",
"region": "BR",
"productId": "1737210528686179693"
} URL completa de um produto do país selecionado. A resposta abaixo ilustra um produto francês com as listas resumidas.
{
"target": "tiktok.com",
"type": "pdp",
"url": "https://www.tiktok.com/shop/fr/pdp/1729905035780987763",
"region": "FR"
} Salve html e data.selectedOffer do mesmo recibo.
{
"target": "tiktok.com",
"type": "pdp",
"region": "BR",
"productId": "1737210528686179693",
"skuId": "1737210471965230445",
"returnHtml": true
} Mapa de paths de saída com tipo esperado para esta API.
{
"requestId": "string",
"executionId": "string",
"data.source": "\"tiktok.com\"",
"data.type": "\"pdp\"",
"data.region": "string",
"data.currency": "string",
"data.extractedAt": "string (ISO 8601)",
"data.productId": "string",
"data.url": "string (URL)",
"data.name": "string",
"data.status": "number | null",
"data.priceType": "\"displayed_offer\"",
"data.price": "number | null",
"data.displayPrice": "string | null",
"data.regularPrice": "number | null",
"data.displayRegularPrice": "string | null",
"data.minPrice": "number | null",
"data.maxPrice": "number | null",
"data.images": "array<object>",
"data.images[].url": "string (URL)",
"data.images[].width": "number | null",
"data.images[].height": "number | null",
"data.description": "object | null",
"data.description.text": "string | null (optional)",
"data.description.images": "array<object> (optional)",
"data.description.images[].url": "string (URL) (optional)",
"data.description.images[].width": "number | null (optional)",
"data.description.images[].height": "number | null (optional)",
"data.specifications": "array<object>",
"data.specifications[].name": "string | null (optional)",
"data.specifications[].value": "string | null (optional)",
"data.category.id": "string | null",
"data.category.name": "string | null",
"data.seller.id": "string | null",
"data.seller.name": "string | null",
"data.seller.location": "string | null",
"data.seller.rating": "number | null",
"data.seller.productCount": "number | null",
"data.seller.soldCount": "number | null",
"data.seller.displaySoldCount": "string | null",
"data.soldCount": "number | null",
"data.rating": "number | null",
"data.reviewCount": "number | null",
"data.variants": "array<object>",
"data.variants[].skuId": "string",
"data.variants[].status": "number | null",
"data.variants[].price": "number | null",
"data.variants[].displayPrice": "string | null",
"data.variants[].regularPrice": "number | null",
"data.variants[].displayRegularPrice": "string | null",
"data.variants[].currency": "string | null",
"data.variants[].stock": "number | null",
"data.variants[].purchaseLimit": "number | null",
"data.variants[].minimumBuyQuantity": "number | null",
"data.variants[].attributes": "array<object>",
"data.variants[].attributes[].name": "string | null (optional)",
"data.variants[].attributes[].value": "string | null (optional)",
"html": "string (optional)",
"data.selectedOffer": "object (optional)",
"data.selectedOffer.sellerId": "string (optional)",
"data.selectedOffer.skuId": "string (optional)",
"data.selectedOffer.productId": "string (optional)",
"data.selectedOffer.price": "number (optional)",
"data.selectedOffer.currency": "string (optional)",
"data.seller.isFirstParty": "boolean | null"
} {
"requestId": "example-request-id",
"executionId": "example-execution-id",
"data": {
"source": "tiktok.com",
"type": "pdp",
"region": "BR",
"currency": "BRL",
"extractedAt": "2026-11-03T13:46:13.208802+00:00",
"productId": "1737680778211985253",
"url": "https://www.tiktok.com/shop/br/pdp/1737680778211985253",
"name": "Mochila Coleção 2023 luxo viagem Executiva Reforcada",
"status": 1,
"priceType": "displayed_offer",
"price": 36.99,
"displayPrice": "R$ 36,99",
"regularPrice": 100,
"displayRegularPrice": "R$ 100,00",
"minPrice": 36.99,
"maxPrice": 46.99,
"images": [
{
"url": "https://p16-oec-sg.ibyteimg.com/tos-alisg-i-aphluv4xwc-sg/31a2d47adfa34bf1acce1eba4f534df8~tplv-aphluv4xwc-resize-webp:800:800.webp?dr=15582&t=555f072d&ps=933b5bde&shp=7745054a&shcp=9b759fb9&idc=my3&from=2001012042",
"width": 800,
"height": 800
},
{
"url": "https://p16-oec-sg.ibyteimg.com/tos-alisg-i-aphluv4xwc-sg/e9e507f6f5394e25aca7633f4d38f95c~tplv-aphluv4xwc-resize-webp:800:800.webp?dr=15582&t=555f072d&ps=933b5bde&shp=7745054a&shcp=9b759fb9&idc=my3&from=2001012042",
"width": 800,
"height": 800
},
{
"url": "https://p16-oec-sg.ibyteimg.com/tos-alisg-i-aphluv4xwc-sg/9e2c937543314ff184ace16c69413aa4~tplv-aphluv4xwc-resize-webp:800:800.webp?dr=15582&t=555f072d&ps=933b5bde&shp=7745054a&shcp=9b759fb9&idc=my3&from=2001012042",
"width": 800,
"height": 800
},
{
"url": "https://p16-oec-sg.ibyteimg.com/tos-alisg-i-aphluv4xwc-sg/1fd579069c0d46c0880776861bbb81c7~tplv-aphluv4xwc-resize-webp:800:800.webp?dr=15582&t=555f072d&ps=933b5bde&shp=7745054a&shcp=9b759fb9&idc=my3&from=2001012042",
"width": 800,
"height": 800
},
{
"url": "https://p16-oec-sg.ibyteimg.com/tos-alisg-i-aphluv4xwc-sg/8518af8cf09d4231b456b45fe49f8d72~tplv-aphluv4xwc-resize-webp:800:800.webp?dr=15582&t=555f072d&ps=933b5bde&shp=7745054a&shcp=9b759fb9&idc=my3&from=2001012042",
"width": 800,
"height": 800
}
],
"description": null,
"specifications": [],
"category": {
"id": "824584",
"name": "Luggage & Bags"
},
"seller": {
"id": "7494360235928029029",
"name": "Lua moda masculino",
"location": "Brazil",
"productCount": 27,
"soldCount": 3903,
"displaySoldCount": "3903",
"rating": null,
"isFirstParty": null
},
"soldCount": 46,
"rating": 4,
"reviewCount": 10,
"variants": [
{
"skuId": "1737680873416984421",
"status": 1,
"price": 46.99,
"displayPrice": "R$ 46,99",
"regularPrice": 100,
"displayRegularPrice": "R$ 100,00",
"currency": "BRL",
"stock": 975,
"purchaseLimit": 200,
"minimumBuyQuantity": 0,
"attributes": [
{
"name": "Cor",
"value": "Cabe de aço"
}
]
},
{
"skuId": "1737680873417049957",
"status": 0,
"price": 36.99,
"displayPrice": "R$ 36,99",
"regularPrice": 100,
"displayRegularPrice": "R$ 100,00",
"currency": "BRL",
"stock": 979,
"purchaseLimit": 200,
"minimumBuyQuantity": 0,
"attributes": [
{
"name": "Cor",
"value": "Sem Cabo de Aço"
}
]
}
]
}
} | Path | Tipo | Descrição | Exemplo |
|---|---|---|---|
| data.category.id | string | null | ID da categoria. | 824584 |
| data.category.name | string | null | Nome da categoria. | Luggage & Bags |
| data.currency | string | Moeda local: BRL, EUR, MXN, JPY, IDR, MYR, PHP, SGD, THB ou VND. | BRL |
| data.description | object | null | Descrição quando fornecida. Pode faltar mesmo quando o restante do produto está disponível. | null |
| data.description.images | array<object> (optional) | Imagens incluídas na descrição. | N/A |
| data.description.images[].height | number | null (optional) | Altura da imagem da descrição. | N/A |
| data.description.images[].url | string (URL) (optional) | URL de uma imagem da descrição. | N/A |
| data.description.images[].width | number | null (optional) | Largura da imagem da descrição. | N/A |
| data.description.text | string | null (optional) | Texto da descrição; null para descrições compostas apenas por imagens. | N/A |
| data.displayPrice | string | null | Preço formatado pela origem. | R$ 36,99 |
| data.displayRegularPrice | string | null | Preço de referência formatado. | R$ 100,00 |
| data.extractedAt | string (ISO 8601) | Data e hora da extração. | 2026-11-03T13:46:13.208802+00:00 |
| data.images | array<object> | Galeria do produto. | [{"url":"https://p16-oec-sg.ibyteimg.com/tos-alisg-i-aphluv4xwc-sg/31a2d47adfa34bf1acce1eba4f534df8~tplv-aphluv4xwc-resize-webp:800:800.webp?dr=15582&t=555f072d&ps=933b5bde&shp=7745054a&shcp=9b759fb9&idc=my3&from=2001012042","width":800,"height":800},{"url":"https://p16-oec-sg.ibyteimg.com/tos-alisg-i-aphluv4xwc-sg/e9e507f6f5394e25aca7633f4d38f95c~tplv-aphluv4xwc-resize-webp:800:800.webp?dr=15582&t=555f072d&ps=933b5bde&shp=7745054a&shcp=9b759fb9&idc=my3&from=2001012042","width":800,"height":800},{"url":"https://p16-oec-sg.ibyteimg.com/tos-alisg-i-aphluv4xwc-sg/9e2c937543314ff184ace16c69413aa4~tplv-aphluv4xwc-resize-webp:800:800.webp?dr=15582&t=555f072d&ps=933b5bde&shp=7745054a&shcp=9b759fb9&idc=my3&from=2001012042","width":800,"height":800},{"url":"https://p16-oec-sg.ibyteimg.com/tos-alisg-i-aphluv4xwc-sg/1fd579069c0d46c0880776861bbb81c7~tplv-aphluv4xwc-resize-webp:800:800.webp?dr=15582&t=555f072d&ps=933b5bde&shp=7745054a&shcp=9b759fb9&idc=my3&from=2001012042","width":800,"height":800},{"url":"https://p16-oec-sg.ibyteimg.com/tos-alisg-i-aphluv4xwc-sg/8518af8cf09d4231b456b45fe49f8d72~tplv-aphluv4xwc-resize-webp:800:800.webp?dr=15582&t=555f072d&ps=933b5bde&shp=7745054a&shcp=9b759fb9&idc=my3&from=2001012042","width":800,"height":800}] |
| data.images[].height | number | null | Altura informada em pixels. | 800 |
| data.images[].url | string (URL) | Endereço da imagem; links da origem podem expirar. | https://p16-oec-sg.ibyteimg.com/tos-alisg-i-aphluv4xwc-sg/31a2d47adfa34bf1acce1eba4f534df8~tplv-aphluv4xwc-resize-webp:800:800.webp?dr=15582&t=555f072d&ps=933b5bde&shp=7745054a&shcp=9b759fb9&idc=my3&from=2001012042 |
| data.images[].width | number | null | Largura informada em pixels. | 800 |
| data.maxPrice | number | null | Maior preço informado; null quando a origem não fornece um intervalo. | 46.99 |
| data.minPrice | number | null | Menor preço informado entre as variantes. | 36.99 |
| data.name | string | Título do produto. | Mochila Coleção 2023 luxo viagem Executiva Reforcada |
| data.price | number | null | Preço de venda exibido, em unidades da moeda local. | 36.99 |
| data.priceType | "displayed_offer" | Preço exibido ao visitante, que pode incluir promoções. | displayed_offer |
| data.productId | string | ID exato do produto; mantenha como texto para preservar todos os dígitos. | 1737680778211985253 |
| data.rating | number | null | Nota agregada do produto. | 4 |
| data.region | string | País selecionado para o catálogo. | BR |
| data.regularPrice | number | null | Preço de referência antes de descontos, quando informado. | 100 |
| data.reviewCount | number | null | Quantidade de avaliações do produto. | 10 |
| data.selectedOffer | object (optional) | Oferta vinculada ao SKU explícito. O preço principal e as opções exibidas no HTML correspondem a esta variante. | N/A |
| data.selectedOffer.currency | string (optional) | Moeda da oferta selecionada. | N/A |
| data.selectedOffer.price | number (optional) | Preço da variante exibida, em unidades da moeda indicada. | N/A |
| data.selectedOffer.productId | string (optional) | ID do produto desta oferta. | N/A |
| data.selectedOffer.sellerId | string (optional) | ID da loja desta oferta, igual a data.seller.id. | N/A |
| data.selectedOffer.skuId | string (optional) | ID que identifica a entrada correspondente em data.variants. | N/A |
| data.seller.displaySoldCount | string | null | Texto original da contagem de vendas da loja, como "872.1K" ou "40+". Pode ser abreviado; esse texto não é convertido em um total exato. Null quando não informado. | 3903 |
| data.seller.id | string | null | ID da loja. | 7494360235928029029 |
| data.seller.isFirstParty | boolean | null | A captura atual devolve null para titularidade desconhecida. Para classificar loja própria ou terceiro, cruze seller.id com um cadastro verificado de titulares. | null |
| data.seller.location | string | null | Localização pública da loja, quando informada. | Brazil |
| data.seller.name | string | null | Nome da loja. | Lua moda masculino |
| data.seller.productCount | number | null | Quantidade de produtos informada pela loja. | 27 |
| data.seller.rating | number | null | Nota da loja de 0 a 5 quando informada pelo TikTok. Pode ser null conforme a loja e a região; não é a nota do produto nem um percentual de avaliações positivas. | null |
| data.seller.soldCount | number | null | Contagem exata de vendas da loja informada pelo TikTok no PDP. Independente de data.soldCount, que se refere ao produto. Zero informado permanece 0; ausência permanece null. Não representa faturamento nem uma janela de tempo inferida. | 3903 |
| data.soldCount | number | null | Contagem de vendas informada para este produto. O total da loja fica em data.seller.soldCount. | 46 |
| data.source | "tiktok.com" | Fonte dos dados. | tiktok.com |
| data.specifications | array<object> | Especificações fornecidas; array vazio quando ausentes. | [] |
| data.specifications[].name | string | null (optional) | Nome da especificação. | N/A |
| data.specifications[].value | string | null (optional) | Valor da especificação. | N/A |
| data.status | number | null | Código numérico de status informado pela origem; não é garantia de disponibilidade no checkout. | 1 |
| data.type | "pdp" | Consulta de um produto. | pdp |
| data.url | string (URL) | URL canônica do produto no país consultado. | https://www.tiktok.com/shop/br/pdp/1737680778211985253 |
| data.variants | array<object> | Variantes/SKUs do produto. | [{"skuId":"1737680873416984421","status":1,"price":46.99,"displayPrice":"R$ 46,99","regularPrice":100,"displayRegularPrice":"R$ 100,00","currency":"BRL","stock":975,"purchaseLimit":200,"minimumBuyQuantity":0,"attributes":[{"name":"Cor","value":"Cabe de aço"}]},{"skuId":"1737680873417049957","status":0,"price":36.99,"displayPrice":"R$ 36,99","regularPrice":100,"displayRegularPrice":"R$ 100,00","currency":"BRL","stock":979,"purchaseLimit":200,"minimumBuyQuantity":0,"attributes":[{"name":"Cor","value":"Sem Cabo de Aço"}]}] |
| data.variants[].attributes | array<object> | Opções da variante, como cor e tamanho. | [{"name":"Cor","value":"Cabe de aço"}] |
| data.variants[].attributes[].name | string | null (optional) | Nome da opção. | Cor |
| data.variants[].attributes[].value | string | null (optional) | Valor da opção. | Cabe de aço |
| data.variants[].currency | string | null | Moeda informada para o SKU. | BRL |
| data.variants[].displayPrice | string | null | Preço formatado da variante. | R$ 46,99 |
| data.variants[].displayRegularPrice | string | null | Preço de referência formatado da variante. | R$ 100,00 |
| data.variants[].minimumBuyQuantity | number | null | Quantidade mínima informada pela origem. | 0 |
| data.variants[].price | number | null | Preço de venda da variante. | 46.99 |
| data.variants[].purchaseLimit | number | null | Limite de compra informado. | 200 |
| data.variants[].regularPrice | number | null | Preço de referência da variante. | 100 |
| data.variants[].skuId | string | ID exato do SKU. | 1737680873416984421 |
| data.variants[].status | number | null | Código bruto do SKU. Os valores 0 e 1 foram observados com estoque positivo. Use o estoque da variante e seus limites de compra para avaliar a oferta. | 1 |
| data.variants[].stock | number | null | Estoque informado para o SKU; 0 significa zero informado e null significa desconhecido. Não confirma disponibilidade no checkout. | 975 |
| executionId | string | Identificador da execução. | example-execution-id |
| html | string (optional) | Documento HTML da mesma resposta. O JSON em script#geckoapi-product contém selectedOffer idêntico a data.selectedOffer quando há seleção de SKU. | N/A |
| requestId | string | Identificador da requisição GeckoAPI. | example-request-id |
Respostas com notFound: true não entram nesta tabela,
porque retornam sucesso HTTP 200.
| Status | errorCode | Quando acontece |
|---|---|---|
| 400 | INVALID_PAYLOAD | JSON inválido ou violação das regras de validação do payload. |
| 401 | UNAUTHORIZED | Header Authorization ausente ou token/chave inválida. |
| 402 | INSUFFICIENT_CREDITS | Saldo de créditos insuficiente para a API solicitada. |
| 403 | FORBIDDEN | Usuário sem acesso ou API temporariamente desabilitada. |
| 409 | EXECUTION_CONFLICT | executionId conflita com uma execução em estado incompatível. |
| 429 | RATE_LIMIT_EXCEEDED / TOO_MANY_INFLIGHT_REQUESTS | Limite de taxa ou limite de requisições em voo excedido. |
| 5xx | UPSTREAM_TIMEOUT / UPSTREAM_HTTP_ERROR / WORKER_INVOCATION_FAILED / WORKER_FUNCTION_ERROR / WORKER_INVALID_RESPONSE / INTERNAL_ERROR | Falha de servidor no worker, provider/proxy ou gateway. Nesses casos os créditos são estornados automaticamente. |