product_idsstringobrigatório
JSON array of numeric product ID strings (up to 40). Example: '["605731197670167","605714873454696"]'.
https://api.sandbase.ai/v1/api/temu/batch-get-productsBatch fetch product data for multiple product IDs in one call (up to 40). For each product ID, returns both raw API data and a flat normalized DTO. Each product result carries its own status field so single failures don't break the batch. Products are looked up via Temu's catalog search by goods_id.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
Batch fetch product data for multiple product IDs in one call (up to 40). For each product ID, returns both raw API data and a flat normalized DTO. Each product result carries its own status field so single failures don't break the batch. Products are looked up via Temu's catalog search by goods_id.
curl -X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "temu/batch-get-products", "locale": "en", "include_dto": true, "include_raw": true, "product_ids": "[\"605731197670167\"]"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
product_ids | string | Yes | JSON array of numeric product ID strings (up to 40). Example: '["605731197670167","605714873454696"]'. |
include_dto | boolean | No | If true, include the flat normalized DTO per product. |
include_raw | boolean | No | If true, include the raw API response data per product. |
locale | string | No | Locale/language code for localized results (e.g. 'en', 'it', 'de', 'fr', 'es'). |
Flat $0.03 per call. Failed calls are not charged.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/temu/batch-get-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"locale": "en",
"include_dto": true,
"include_raw": true,
"product_ids": "[\"605731197670167\"]"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
product_idsstringobrigatórioJSON array of numeric product ID strings (up to 40). Example: '["605731197670167","605714873454696"]'.
localestringLocale/language code for localized results (e.g. 'en', 'it', 'de', 'fr', 'es').
Padrão: "en"
include_dtobooleanIf true, include the flat normalized DTO per product.
Padrão: true
include_rawbooleanIf true, include the raw API response data per product.
Padrão: true
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
Temu Batch ProductsEsta API Temu | $0.03 por chamada | JSON |
Temu | $0.03 por chamada | JSON |
Temu | $0.03 por chamada | JSON |
Temu | $0.03 por chamada | JSON |
Temu | $0.03 por chamada | JSON |
Temu | $0.03 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/temu/batch-get-products com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.03 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: product_ids (string). Opcionais: locale (string), include_dto (boolean) e include_raw (boolean). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona).
Não. Temu Batch Products funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Temu separadamente.