Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Shop Search Merchants By Category

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

Searches for merchants within a shop.app category page.

Prix
$0.03USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 6 facultatifs

Bac à sable

Entrée
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.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Shop$0.03 par appelJSON
Shop$0.03 par appelJSON
Shop$0.03 par appelJSON
Shop$0.03 par appelJSON
Shop$0.03 par appelJSON
Shop$0.03 par appelJSON

Questions

FAQ

Comment utiliser l’API Shop Search Merchants By Category ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/shop-app/search-merchants-by-category avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Shop Search Merchants By Category ?

$0.03 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API Shop Search Merchants By Category accepte-t-elle ?

Obligatoire : category (string). Facultatif : page (integer), page_size (integer), max_rating (number), min_rating (number), max_reviews (integer) et min_reviews (integer). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Shop Search Merchants By Category ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone).

Ai-je besoin d’un compte développeur ou d’une clé API Shop ?

Non. Shop Search Merchants By Category fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Shop séparément.