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

Sam's Club Search

Dokumentacja API
https://api.sandbase.ai/v1/api/sams-club/search

Search SamsClub.com by keyword with optional sort, price-range, and page filters and get title, member price, stock, and rating for each product in one normalized response.

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

Playground

Wejście
Search keywords, e.g. "paper towels" or "tv".
1-based results page of about 40 to 50 products. Each page is billed as one request. Minimum: 1.
Result sort order; omit for Sam's Club's Best Match (e.g. price_low sorts by lowest price first).
Optional maximum member price in USD. Minimum: 0.
Optional minimum member price in USD. Minimum: 0.
WyjścieGotowe

Twój wynik pojawi się tutaj

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

README API

Sam's Club Search API

Search SamsClub.com by keyword with optional sort, price-range, and page filters and get title, member price, stock, and rating for each product in one normalized response.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "sams-club/search", "query": "paper towels"}'

The result is returned in outputs[0].data. Lookups that find nothing fail with a not-found error.

Parameters

NameTypeRequiredDescription
querystringYesSearch keywords, e.g. "paper towels" or "tv".
maxPricenumberNoOptional maximum member price in USD.
minPricenumberNoOptional minimum member price in USD.
pageintegerNo1-based results page of about 40 to 50 products. Each page is billed as one request. Default 1.
sortstringNoResult sort order; omit for Sam's Club's Best Match (e.g. price_low sorts by lowest price first). One of: best_match, price_low, price_high.

Pricing

Billed at the actual cost of each call, about $0.00319 per request. A call can cost more when the first data source fails and another one answers. Failed calls and lookups that find nothing are not charged.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Sam's ClubOd $0.00319 za wywołanieJSON
Sam's ClubOd $0.00319 za wywołanieJSON

Pytania

FAQ

Jak używać API Sam's Club Search?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/sams-club/search 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 Sam's Club Search?

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

Jakie parametry przyjmuje API Sam's Club Search?

Wymagane: query (string). Opcjonalne: page (integer), sort (jedna z opcji: best_match, price_low, price_high), maxPrice (number) i minPrice (number). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Sam's Club Search?

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

Czy potrzebuję konta deweloperskiego Sam's Club lub klucza API?

Nie. Sam's Club Search 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 Sam's Club.