qstring
Product search query.
https://api.sandbase.ai/v1/api/aliexpress/search/productsSearch AliExpress products by keyword with sort, category, brand, price, locale, region and currency filters.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
Search AliExpress products by keyword with sort, category, brand, price, locale, region and currency filters.
The response is the platform's original data structure.
curl -X POST "https://api.sandbase.ai/v1/api/aliexpress/search/products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"q": "phone case"}'
| Name | Type | Required | Description |
|---|---|---|---|
q | string | No | Product search query. |
page | string | No | One-based page number for pagination. |
sort | string | No | Sort order for product search results. |
catId | string | No | Category ID used to filter product search results. |
brandId | string | No | Brand ID used to filter product search results. |
loc | string | No | Location filter for product search results. |
switches | string | No | Search switches used to select optional result features. |
attr | string | No | Product attribute filter for search results. |
startPrice | number | No | Minimum product price filter, inclusive. |
endPrice | number | No | Maximum product price filter, inclusive. |
locale | string | No | Locale used for the AliExpress response. |
region | string | No | AliExpress marketplace region. |
currency | string | No | Currency code used for product prices. |
Flat price per call. Failed calls and empty results are not charged.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
curl -X POST "https://api.sandbase.ai/v1/api/aliexpress/search/products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"q": "phone case",
"sort": "default"
}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
qstringProduct search query.
pagestringOne-based page number for pagination.
sortstringSort order for product search results.
Varsayılan: "default"
Olası değerler: default, salesDesc, priceAsc, priceDesc
catIdstringCategory ID used to filter product search results.
brandIdstringBrand ID used to filter product search results.
locstringLocation filter for product search results.
switchesstringSearch switches used to select optional result features.
attrstringProduct attribute filter for search results.
startPricenumberMinimum product price filter, inclusive.
endPricenumberMaximum product price filter, inclusive.
localestringLocale used for the AliExpress response.
regionstringAliExpress marketplace region.
currencystringCurrency code used for product prices.
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
AliExpress | $0.014286 çağrı başına | JSON |
AliExpress | Kullanım başına $0.00085'den itibaren | JSON |
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/aliexpress/search/products adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.014286, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli parametre yoktur. İsteğe bağlı: q (string), page (string), sort (default, salesDesc, priceAsc, priceDesc arasından biri), catId (string), brandId (string) ve loc (string) ve 7 tane daha. Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron).
Hayır. AliExpress Product Search, 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. AliExpress API erişimi için ayrıca başvuru yapmanız gerekmez.