Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Temu Batch Products

Dokumentacja API
https://api.sandbase.ai/v1/api/temu/batch-get-products

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.

Cena
$0.03USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 3 opcjonalnych

Playground

Wejście
JSON array of numeric product ID strings (up to 40). Example: '["605731197670167","605714873454696"]'.
Locale/language code for localized results (e.g. 'en', 'it', 'de', 'fr', 'es').
If true, include the flat normalized DTO per product.
If true, include the raw API response data per product.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

Temu Batch Products API

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.

Request

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.

Parameters

NameTypeRequiredDescription
product_idsstringYesJSON array of numeric product ID strings (up to 40). Example: '["605731197670167","605714873454696"]'.
include_dtobooleanNoIf true, include the flat normalized DTO per product.
include_rawbooleanNoIf true, include the raw API response data per product.
localestringNoLocale/language code for localized results (e.g. 'en', 'it', 'de', 'fr', 'es').

Pricing

Flat $0.03 per call. Failed calls are not charged.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Temu$0.03 za wywołanieJSON
Temu$0.03 za wywołanieJSON
Temu$0.03 za wywołanieJSON
Temu$0.03 za wywołanieJSON
Temu$0.03 za wywołanieJSON
Temu$0.03 za wywołanieJSON

Pytania

FAQ

Jak używać API Temu Batch Products?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/temu/batch-get-products z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Temu Batch Products?

$0.03 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Temu Batch Products?

Wymagane: product_ids (string). Opcjonalne: locale (string), include_dto (boolean) i include_raw (boolean). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Temu Batch Products?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).

Czy potrzebuję konta deweloperskiego Temu lub klucza API?

Nie. Temu Batch Products działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Temu.