Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Shop Search Merchants By Category

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

Searches for merchants within a shop.app category page.

Prezzo
$0.03USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 6 opzionali

Playground

Input
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.
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

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.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
Shop$0.03 per chiamataJSON
Shop$0.03 per chiamataJSON
Shop$0.03 per chiamataJSON
Shop$0.03 per chiamataJSON
Shop$0.03 per chiamataJSON
Shop$0.03 per chiamataJSON

Domande

FAQ

Come uso l'API Shop Search Merchants By Category?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/shop-app/search-merchants-by-category con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Shop Search Merchants By Category?

$0.03 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Shop Search Merchants By Category?

Richiesti: category (string). Facoltativi: page (integer), page_size (integer), max_rating (number), min_rating (number), max_reviews (integer) e min_reviews (integer). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Shop Search Merchants By Category?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona).

Mi serve un account sviluppatore o una chiave API Shop?

No. Shop Search Merchants By Category funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Shop.