# Amazon Best Sellers API

> Get the Amazon Best Sellers list for a category path in a chosen marketplace country, with rank, title, price, rating and ASIN, page by page.

Source: https://www.sandbase.ai/model/amazon/best-sellers
API reference: https://www.sandbase.ai/model/amazon/best-sellers/docs

## Facts

- Provider: Amazon
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/amazon/best-sellers`
- Price: $0.02 per call
- Capabilities: api, amazon, ecommerce
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/amazon/best-sellers` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `category` | string | yes |  |
| `country` | string | no | 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 | no |  |

## FAQ

### How do I use the Amazon Best Sellers API?

Send a POST request to https://api.sandbase.ai/v1/api/amazon/best-sellers with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Amazon Best Sellers API cost?

$0.02 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the Amazon Best Sellers API accept?

Required: category (string). Optional: country (one of US, AU, BR, CA, CN, FR, DE, IN, IT, MX, NL, SG, ES, TR, AE, GB, JP, SA, PL, SE, BE, EG, ZA, IE) and page (integer). The Parameters table and the Playground on this page list every field.

### What does the Amazon Best Sellers API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a Amazon developer account or API key?

No. Amazon Best Sellers runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Amazon API access separately.

## README

### Amazon Best Sellers API

Get the Amazon Best Sellers list for a category path in a chosen marketplace country, with rank, title, price, rating and ASIN, page by page.

The response is the platform's original data structure.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "amazon/best-sellers", "category": "electronics"}'
```

#### Parameters

| 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. |
