Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Shop Search Merchants By Category

API dokümanları
https://api.sandbase.ai/v1/api/shop-app/search-merchants-by-category

Searches for merchants within a shop.app category page.

Fiyat
$0.03USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 6 isteğe bağlı

Oynatma Alanı

Girdi
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.
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

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.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
Shop$0.03 çağrı başınaJSON
Shop$0.03 çağrı başınaJSON
Shop$0.03 çağrı başınaJSON
Shop$0.03 çağrı başınaJSON
Shop$0.03 çağrı başınaJSON
Shop$0.03 çağrı başınaJSON

Sorular

SSS

Shop Search Merchants By Category API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/shop-app/search-merchants-by-category adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Shop Search Merchants By Category API'sinin fiyatı nedir?

çağrı başına $0.03, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

Shop Search Merchants By Category API'si hangi parametreleri kabul eder?

Gerekli: category (string). İsteğe bağlı: page (integer), page_size (integer), max_rating (number), min_rating (number), max_reviews (integer) ve min_reviews (integer). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Shop Search Merchants By Category API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron).

Bir Shop geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Shop Search Merchants By Category, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Shop API erişimi için ayrıca başvuru yapmanız gerekmez.