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

H&M Search Products

Dokumentacja API
https://api.sandbase.ai/v1/api/hm/search-products

Search for products by keyword. Returns matching products with pricing, images, facets, and pagination. Uses H&M's search API for reliable structured results. Each page returns up to 45 products.

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

Playground

Wejście
Search keyword (e.g. 'jeans', 'denim jacket', 'summer dress').
Page number for pagination (1-based).
WyjścieGotowe

Twój wynik pojawi się tutaj

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

README API

H&M Search Products API

Search for products by keyword. Returns matching products with pricing, images, facets, and pagination. Uses H&M's search API for reliable structured results. Each page returns up to 45 products.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "hm/search-products", "page": 1, "query": "jeans"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
querystringYesSearch keyword (e.g. 'jeans', 'denim jacket', 'summer dress').
pageintegerNoPage number for pagination (1-based).

Pricing

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

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
H&M$0.03 za wywołanieJSON
H&M$0.03 za wywołanieJSON
H&M$0.03 za wywołanieJSON
H&M$0.03 za wywołanieJSON
H&M$0.03 za wywołanieJSON
H&M$0.03 za wywołanieJSON

Pytania

FAQ

Jak używać API H&M Search Products?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/hm/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.

Ile kosztuje API H&M Search Products?

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

Jakie parametry przyjmuje API H&M Search Products?

Wymagane: query (string). Opcjonalne: page (integer). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API H&M Search Products?

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

Czy potrzebuję konta deweloperskiego H&M lub klucza API?

Nie. H&M 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 H&M.