categorystringआवश्यक
Best Sellers category path taken from an Amazon Best Sellers URL. It may be a category slug or a nested category path.
https://api.sandbase.ai/v1/api/amazon/best-sellersGet the Amazon Best Sellers list for a category path in a chosen marketplace country, with rank, title, price, rating and ASIN, page by page.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns the Amazon Best Sellers list for one category in one marketplace country. Each item has its rank, ASIN, title, star rating, rating count, photo and product URL. You send a category path and can set country and page.
electronics over time.country.curl -X POST "https://api.sandbase.ai/v1/api/amazon/best-sellers" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"category": "electronics"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
category | string | Yes | Best Sellers category path taken from an Amazon Best Sellers URL. It may be a category slug or a nested category path. |
country | string | No | Country code for the Amazon product. |
page | integer | No | Page number for pagination. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"best_sellers": [
{
"asin": "B08JHCVHTY",
"product_num_ratings": 281657,
"product_photo": "https://images-na.ssl-images-amazon.com/images/I/31YHGbJsldL._AC_UL900_SR900,600…",
"product_price": "$11.99",
"product_star_rating": "4.4",
"product_title": "blink plus plan with monthly auto-renewal",
"product_url": "https://www.amazon.com/dp/B08JHCVHTY",
"rank": 1,
"rank_change_label": null
}
],
"category_name": "Electronics",
"country": "US",
"domain": "www.amazon.com"
}
| Field | Meaning |
|---|---|
best_sellers[] | One entry per product on the requested page of the Best Sellers list. |
best_sellers[].rank | Position of the product in the list. 1 is the top seller. |
best_sellers[].asin | Amazon product ID. Use it to look up the product in other APIs. |
best_sellers[].product_title | Product title as shown in the list. |
best_sellers[].product_star_rating / best_sellers[].product_num_ratings | Average star rating as a string, and the number of ratings as an integer. |
best_sellers[].product_url / best_sellers[].product_photo | Link to the product page and link to the product image. |
best_sellers[].rank_change_label | Label for a rank change. It is null in this response. |
category_name / country / domain | The category name, country code and Amazon domain that the list came from. |
category value from an Amazon Best Sellers URL. It can be a slug like electronics or a nested path.page to move through the list. It defaults to 1.country defaults to US. The response echoes it in country and gives the matching domain, such as www.amazon.com.asin values with Amazon Product Details to get more data on a single product.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/amazon/best-sellers" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"country": "US",
"category": "electronics"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
categorystringआवश्यकBest Sellers category path taken from an Amazon Best Sellers URL. It may be a category slug or a nested category path.
countrystringCountry code for the Amazon product.
डिफ़ॉल्ट: "US"
संभावित मान: US, AU, BR, CA, CN, FR, DE, IN, IT, MX, NL, SG, ES, TR, AE, GB, JP, SA, PL, SE, BE, EG, ZA, IE
pageintegerPage number for pagination.
डिफ़ॉल्ट: 1
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Amazon Best Sellersयह API Amazon | $0.014286 प्रति कॉल | JSON |
Amazon | $0.0033 प्रति कॉल से | JSON |
Amazon | $0.00015 प्रति कॉल | असिंक्रोनस JSON |
Amazon | $0.014286 प्रति कॉल | JSON |
Amazon | $0.00085 प्रति कॉल से | JSON |
Amazon | $0.01 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/amazon/best-sellers पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.014286 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: category (string)। वैकल्पिक: 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 में से एक) और page (integer)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Amazon Best Sellers SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Amazon API access के लिए आवेदन करने की आवश्यकता नहीं है।