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

Slickdeals Search

Dokumentacja API
https://api.sandbase.ai/v1/api/slickdeals/search

Search Slickdeals deals by keyword with optional sort, price, discount, and page filters and get title, price, list price, store, score, and comment count for each deal in one normalized response.

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

Playground

Wejście
Search keywords, e.g. "airpods" or "laptop".
125
1-based page of 40 deals; Slickdeals stops at page 25. Each page is billed as one request. Zakres: od 1 do 25.
Result order; omit for Slickdeals' relevance order (e.g. new for the most recently posted deals first).
Optional maximum deal price in USD; deals without a numeric price are left out. Minimum: 0.
Optional minimum deal price in USD; deals without a numeric price are left out. Minimum: 0.
Optional; true leaves out deals the community marked expired.
199
Optional; keep only deals at least this many percent off the list price, e.g. 50. Zakres: od 1 do 99.
WyjścieGotowe

Twój wynik pojawi się tutaj

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

README API

Slickdeals Search API

Search Slickdeals deals by keyword with optional sort, price, discount, and page filters and get title, price, list price, store, score, and comment count for each deal 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": "slickdeals/search", "query": "airpods"}'

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

Parameters

NameTypeRequiredDescription
querystringYesSearch keywords, e.g. "airpods" or "laptop".
hideExpiredbooleanNoOptional; true leaves out deals the community marked expired.
maxPricenumberNoOptional maximum deal price in USD; deals without a numeric price are left out.
minDiscountintegerNoOptional; keep only deals at least this many percent off the list price, e.g. 50.
minPricenumberNoOptional minimum deal price in USD; deals without a numeric price are left out.
pageintegerNo1-based page of 40 deals; Slickdeals stops at page 25. Each page is billed as one request. Default 1.
sortstringNoResult order; omit for Slickdeals' relevance order (e.g. new for the most recently posted deals first). One of: best_match, new, popular, price_low, price_high.

Pricing

Billed at the actual cost of each call, about $0.00213 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ź
SlickdealsOd $0.00213 za wywołanieJSON
SlickdealsOd $0.00213 za wywołanieJSON

Pytania

FAQ

Jak używać API Slickdeals Search?

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

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

Jakie parametry przyjmuje API Slickdeals Search?

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

Co zwraca API Slickdeals Search?

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

Czy potrzebuję konta deweloperskiego Slickdeals lub klucza API?

Nie. Slickdeals 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 Slickdeals.