querystringwymagane
Search keyword (e.g. 'wireless earbuds', 'kitchen gadgets').
https://api.sandbase.ai/v1/api/temu/search-productsFull-text search over Temu's product catalog by keyword.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
Full-text search over Temu's product catalog by keyword.
curl -X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "temu/search-products", "limit": 10, "query": "wireless earbuds", "locale": "en", "offset": 0, "price_max": 50.0, "price_min": 5.0}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Search keyword (e.g. 'wireless earbuds', 'kitchen gadgets'). |
limit | integer | No | Number of results to return per page. |
locale | string | No | Locale/language code for localized results (e.g. 'en', 'it', 'de', 'fr', 'es'). Controls language of titles and currency of prices. |
offset | integer | No | Offset for pagination. Advance by limit for the next page. |
price_max | number | No | Maximum price in USD. Only products with a price <= this value are returned. |
price_min | number | No | Minimum price in USD. Only products with a price >= this value are returned. |
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/search-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 10,
"query": "wireless earbuds",
"locale": "en",
"offset": 0,
"price_max": 50,
"price_min": 5
}'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.
querystringwymaganeSearch keyword (e.g. 'wireless earbuds', 'kitchen gadgets').
limitintegerNumber of results to return per page.
Domyślnie: 48
localestringLocale/language code for localized results (e.g. 'en', 'it', 'de', 'fr', 'es'). Controls language of titles and currency of prices.
Domyślnie: "en"
offsetintegerOffset for pagination. Advance by `limit` for the next page.
Domyślnie: 0
price_maxnumberMaximum price in USD. Only products with a price <= this value are returned.
price_minnumberMinimum price in USD. Only products with a price >= this value are returned.
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 Search ProductsTo 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/search-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.
$0.03 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: query (string). Opcjonalne: limit (integer), locale (string), offset (integer), price_max (number) i price_min (number). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).
Nie. Temu Search 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.