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

Shop Search Merchants By Category

Dokumentacja API
https://api.sandbase.ai/v1/api/shop-app/search-merchants-by-category

Searches for merchants within a shop.app category page.

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

Playground

Wejście
Category slug to search within. Known categories: women, men, beauty, home, fitness-nutrition, baby-toddler, food-drinks, sporting-goods, toys-games, pet-supplies, accessories, electronics, arts-crafts, luggage-bags. Aliases like clothing, fashion, womenswear, menswear, fitness, baby, food, sports, toys, pet, arts, luggage are also accepted.
Page number for pagination (1-indexed).
Number of merchants per page.
Maximum average rating. Merchants above this rating are excluded.
Minimum average rating (e.g. 4.5). Merchants below this rating are excluded.
Maximum number of product reviews the merchant may have. Merchants with more reviews are excluded.
Minimum number of product reviews the merchant must have. Merchants with fewer reviews are excluded.
WyjścieGotowe

Twój wynik pojawi się tutaj

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

README API

Shop Search Merchants By Category API

Searches for merchants within a shop.app category page.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "shop-app/search-merchants-by-category", "page": 1, "category": "women", "page_size": 20, "max_rating": 5.0, "min_rating": 3.0, "max_reviews": 500000, "min_reviews": 100}'

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

Parameters

NameTypeRequiredDescription
categorystringYesCategory slug to search within. Known categories: women, men, beauty, home, fitness-nutrition, baby-toddler, food-drinks, sporting-goods, toys-games, pet-supplies, accessories, electronics, arts-crafts, luggage-bags. Ali
max_ratingnumberNoMaximum average rating. Merchants above this rating are excluded.
max_reviewsintegerNoMaximum number of product reviews the merchant may have. Merchants with more reviews are excluded.
min_ratingnumberNoMinimum average rating (e.g. 4.5). Merchants below this rating are excluded.
min_reviewsintegerNoMinimum number of product reviews the merchant must have. Merchants with fewer reviews are excluded.
pageintegerNoPage number for pagination (1-indexed).
page_sizeintegerNoNumber of merchants per page.

Pricing

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

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Shop$0.03 za wywołanieJSON
Shop$0.03 za wywołanieJSON
Shop$0.03 za wywołanieJSON
Shop$0.03 za wywołanieJSON
Shop$0.03 za wywołanieJSON
Shop$0.03 za wywołanieJSON

Pytania

FAQ

Jak używać API Shop Search Merchants By Category?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/shop-app/search-merchants-by-category 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 Shop Search Merchants By Category?

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

Jakie parametry przyjmuje API Shop Search Merchants By Category?

Wymagane: category (string). Opcjonalne: page (integer), page_size (integer), max_rating (number), min_rating (number), max_reviews (integer) i min_reviews (integer). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Shop Search Merchants By Category?

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

Czy potrzebuję konta deweloperskiego Shop lub klucza API?

Nie. Shop Search Merchants By Category 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 Shop.