keywordstringzorunlu
Search keyword or ASIN to find Amazon products.
https://api.sandbase.ai/v1/api/amazon/search-productsSearch Amazon marketplace products by keyword or ASIN with country, sort, condition, Prime-only, deals, and page controls.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
Returns a page of Amazon search results for a keyword or ASIN. Each product has its ASIN, title, rating, offer count, badges, and delivery text. The only required input is keyword.
country.dealsAndDiscounts to ALL_DISCOUNTS or TODAYS_DEALS.curl -X POST "https://api.sandbase.ai/v1/api/amazon/search-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "iphone"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Search keyword or ASIN to find Amazon products. |
country | string | No | Country code for the Amazon marketplace. |
dealsAndDiscounts | string | No | Deals and discounts filter for Amazon search results. |
isPrime | boolean | No | Whether to return only Prime-eligible products. |
page | integer | No | Page number for pagination. |
productCondition | string | No | Product condition filter for Amazon search results. |
sortBy | string | No | Sort order for Amazon product search results. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"country": "US",
"domain": "www.amazon.com",
"products": [
{
"asin": "B0HJHXTRFN",
"climate_pledge_friendly": false,
"currency": "USD",
"delivery": "FREE delivery Thu, Nov 5Or fastest delivery Tomorrow, Nov 4",
"has_variations": true,
"is_amazon_choice": false,
"is_best_seller": false,
"is_prime": false,
"product_minimum_offer_price": "$1,549.00",
"product_num_offers": 1,
"product_num_ratings": 13,
"product_original_price": null
}
],
"total_products": 259
}
| Field | Meaning |
|---|---|
total_products | Number of products the search matched. |
country / domain | Amazon marketplace country code and domain that served the search. |
products[].asin | Amazon product ID. Use it to look up the product elsewhere. |
products[].product_title | Listing title as shown in the search results. |
products[].product_price / products[].product_original_price | Current listed amount and the earlier amount shown before a discount, both as formatted strings with a currency symbol. The original amount is null when no discount is shown. |
products[].product_minimum_offer_price / products[].product_num_offers | Lowest amount among the offers for the product, and the number of offers listed. |
products[].currency | Currency code for the amounts on the listing, for example USD. |
products[].product_star_rating / products[].product_num_ratings | Average star rating as a string, and the count of ratings. |
products[].is_best_seller / products[].is_amazon_choice / products[].is_prime / products[].climate_pledge_friendly | Boolean flags for the badges and Prime eligibility shown on the listing. |
products[].sales_volume | Text such as 1K+ bought in past month. |
products[].product_url / products[].product_photo | Link to the product page and the main product image URL. |
For two separate Python requests—a keyword search and a manually selected ASIN lookup—see the Amazon research walkthrough. Choose this endpoint's country-code parameters rather than the other Search variant's k and amazon_domain fields.
B0DHJ896RY as keyword to search for a specific product.page to get more results. Each response holds one page of products, and total_products shows the overall match count.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
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/amazon/search-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"sortBy": "RELEVANCE",
"country": "US",
"isPrime": false,
"keyword": "iphone",
"productCondition": "ALL",
"dealsAndDiscounts": "NONE"
}'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.
keywordstringzorunluSearch keyword or ASIN to find Amazon products.
countrystringCountry code for the Amazon marketplace.
Varsayılan: "US"
Olası değerler: US, AU, BR, CA, CN, FR, DE, IN, IT, MX, NL, SG, ES, TR, AE, GB, JP, SA, PL, SE, BE, EG, ZA, IE
sortBystringSort order for Amazon product search results.
Varsayılan: "RELEVANCE"
Olası değerler: RELEVANCE, LOWEST_PRICE, HIGHEST_PRICE, REVIEWS, NEWEST, BEST_SELLERS
productConditionstringProduct condition filter for Amazon search results.
Varsayılan: "ALL"
Olası değerler: ALL, NEW, USED, RENEWED, COLLECTIBLE
isPrimebooleanWhether to return only Prime-eligible products.
Varsayılan: false
dealsAndDiscountsstringDeals and discounts filter for Amazon search results.
Varsayılan: "NONE"
Olası değerler: NONE, ALL_DISCOUNTS, TODAYS_DEALS
pageintegerPage number for pagination.
Varsayılan: 1
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 |
|---|---|---|
Amazon Product SearchBu API Amazon | $0.014286 çağrı başına | JSON |
Amazon | Kullanım başına $0.0033'den itibaren | JSON |
Amazon | $0.00015 çağrı başına | Asenkron JSON |
Amazon | $0.014286 çağrı başına | JSON |
Amazon | $0.014286 çağrı başına | JSON |
Amazon | Kullanım başına $0.00085'den itibaren | JSON |
Kılavuzlar:Best Amazon API in 2026: Pricing Compared
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/amazon/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: keyword (string). İsteğe bağlı: country (US, AU, BR, CA, CN, FR, DE, IN, IT, MX, NL, SG, ES, TR, AE, GB, JP, SA, PL, SE, BE, EG, ZA, IE arasından biri), sortBy (RELEVANCE, LOWEST_PRICE, HIGHEST_PRICE, REVIEWS, NEWEST, BEST_SELLERS arasından biri), productCondition (ALL, NEW, USED, RENEWED, COLLECTIBLE arasından biri), isPrime (boolean), dealsAndDiscounts (NONE, ALL_DISCOUNTS, TODAYS_DEALS arasından biri) ve page (integer). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. Amazon 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. Amazon API erişimi için ayrıca başvuru yapmanız gerekmez.
keyword ve isteğe bağlı olarak desteklenen bir ülke kodu kullanın. Bu Product Search uç noktası ayrıca sortBy, productCondition, isPrime, dealsAndDiscounts ve integer bir page kabul eder. Ayrı Amazon Search uç noktası k ve amazon_domain kullanır; giriş adları ve çalışma modu bu istekle değiştirilemez.
Mevcut referans bu uç noktayı senkron olarak tanımlar. HTTP yanıtını ve tamamlanmış bir platform durumunu kontrol ettikten sonra iş yükünü outputs[0].data içinden okuyun. Belgelenen ürünler listesi platform yanıtının üst seviyesinde değil, bu yükün içindedir. Eğitimin örneği yalnızca yük anahtarlarını inceler; sabit bir ürün kümesi vaat etmez ya da tam bir ayrıştırıcı uygulamaz.
İstek integer bir page kabul eder ve referans, yanıt başına bir ürün sayfası tanımlar. Toplam sayıyı eksiksiz bir envanter ya da her sayfanın erişilebilir olduğunun kanıtı olarak yorumlamayın. Eksik fiyatları veya önceki fiyat değerlerini sıfırla değiştirmek yerine bilinmeyen olarak bırakın. Sonraki karşılaştırmalarda currency, marketplace, query ve observation time bilgilerini koruyun. Listelenen tutar mutlaka vergi, kargo ve kuponları içeren nihai fiyat değildir.