Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Shop Search Merchants By Category

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

Searches for merchants within a shop.app category page.

Preis
$0.03USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 6 optional

Playground

Eingabe
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.
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

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.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
Shop$0.03 pro AufrufJSON
Shop$0.03 pro AufrufJSON
Shop$0.03 pro AufrufJSON
Shop$0.03 pro AufrufJSON
Shop$0.03 pro AufrufJSON
Shop$0.03 pro AufrufJSON

Fragen

FAQ

Wie verwende ich die Shop Search Merchants By Category API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/shop-app/search-merchants-by-category mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Shop Search Merchants By Category API?

$0.03 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die Shop Search Merchants By Category API?

Erforderlich: category (string). Optional: page (integer), page_size (integer), max_rating (number), min_rating (number), max_reviews (integer) und min_reviews (integer). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Shop Search Merchants By Category API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron).

Benötige ich ein Shop-Entwicklerkonto oder einen API-Schlüssel?

Nein. Shop Search Merchants By Category läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Shop API beantragen.