mall_idsstringwymagane
JSON array of mall ID strings (up to 20). Example: '["2610127","634418223099265"]'.
https://api.sandbase.ai/v1/api/temu/batch-get-storesBatch fetch store products for multiple mall IDs in one call (up to 20).
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
Batch fetch store products for multiple mall IDs in one call (up to 20).
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-stores", "limit": 10, "locale": "en", "offset": 0, "mall_ids": "[\"2610127\"]", "include_dto": true, "include_raw": true}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
mall_ids | string | Yes | JSON array of mall ID strings (up to 20). Example: '["2610127","634418223099265"]'. |
include_dto | boolean | No | If true, include the flat normalized DTO per store. |
include_raw | boolean | No | If true, include the raw API response data per store. |
limit | integer | No | Number of products to return per store (max 999). Internally splits into multiple 40-item upstream requests. |
locale | string | No | Locale/language code for localized results (e.g. 'en', 'it', 'de', 'fr', 'es'). |
offset | integer | No | Offset for pagination within each store's product list. |
Flat $0.03 per call. Failed calls are not charged.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/temu/batch-get-stores" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 10,
"locale": "en",
"offset": 0,
"mall_ids": "[\"2610127\"]",
"include_dto": true,
"include_raw": true
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
mall_idsstringwymaganeJSON array of mall ID strings (up to 20). Example: '["2610127","634418223099265"]'.
limitintegerNumber of products to return per store (max 999). Internally splits into multiple 40-item upstream requests.
Domyślnie: 40
localestringLocale/language code for localized results (e.g. 'en', 'it', 'de', 'fr', 'es').
Domyślnie: "en"
offsetintegerOffset for pagination within each store's product list.
Domyślnie: 0
include_dtobooleanIf true, include the flat normalized DTO per store.
Domyślnie: true
include_rawbooleanIf true, include the raw API response data per store.
Domyślnie: true
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Temu Batch StoresTo API Temu | $0.03 za wywołanie | JSON |
Temu | $0.03 za wywołanie | JSON |
Temu | $0.03 za wywołanie | JSON |
Temu | $0.03 za wywołanie | JSON |
Temu | $0.03 za wywołanie | JSON |
Temu | $0.03 za wywołanie | JSON |
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/temu/batch-get-stores 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.
$0.03 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: mall_ids (string). Opcjonalne: limit (integer), locale (string), offset (integer), include_dto (boolean) i include_raw (boolean). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).
Nie. Temu Batch Stores 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.