# Amazon Bestsellers API (amazon.bestsellers)

- Canonical page: https://everyinfra.com/en/amazon-api/bestsellers
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "amazon", "action": "bestsellers", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 20, max 100 per call
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=amazon&action=bestsellers

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | Specifies the primary search string according to the requested Amazon action. In search, pass the product search terms. In bestsellers, pass a full Amazon bestsellers category URL or a category short name used to build the path. In sellers, pass a product or seller page URL; raw search terms generate a product search page rather than looking up a seller ID directly. |
| lang | enum: ar / bn / cs / da / de / en / es / fr / he / hi / ja / kn / ko / ml / mrta / nl / pl / pt / sv / ta / te / tr / zhcn / zhtw | no | not declared | Specifies the page language for supported Amazon endpoints using valid codes such as en or ja. Use zhcn for Simplified Chinese and zhtw for Traditional Chinese instead of a generic zh code. Requests accept only the language codes listed for the action, and selecting a language alters the rendered content rather than changing the target country store. |
| limit | integer (1–100) | no | 20 | The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
| url | Link to the record on the platform. |
| name | Name of the object itself, for account, product and business capabilities. |
| rank | platform-native meaning |
| price | Price as a number without a currency symbol; see currency. |
| rating | Rating. **The scale varies by platform**: rating_scale on the same row gives the maximum (usually 5; Booking, Douban, iQIYI and NAVER use 10). Convert with rating_scale before comparing across platforms, or the comparison can come out backwards. |
| rating_scale | Maximum of rating in the same row: 5 for five-star scales, 10 for ten-point scales. Present only when the row has a rating. |
| review_count | Number of reviews, for product and business capabilities. null means not disclosed, not 0. |
| offer_count | platform-native meaning |
| category | Category name in the platform's own taxonomy, not normalized across platforms. |
| image_url | Image link. Capabilities with several images may return an image_urls array. |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "amazon",
  "action": "bestsellers",
  "params": {
    "keyword": "Electronics"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "amazon",
        "action": "bestsellers",
        "params": {
            "keyword": "Electronics",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 20. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "amazon",
  "action": "bestsellers",
  "results": [
    {
      "id": "B08JHCVHTY",
      "url": "https://www.amazon.com/dp/B08JHCVHTY",
      "name": "blink plus plan with monthly auto-renewal",
      "rank": 1,
      "rating": 4.4,
      "review_count": 280580,
      "category": "Electronics",
      "image_url": "https://images-na.ssl-images-amazon.com/images/I/31YHGbJsldL._AC_UL300_SR300,200_.png",
      "platform": "amazon",
      "rating_scale": 5
    },
    {
      "id": "B0DCH8VDXF",
      "url": "https://www.amazon.com/dp/B0DCH8VDXF",
      "name": "Apple EarPods Headphones with USB-C Plug, Wired Ear Buds with Built-in Remote to Control Music, Phone Calls, and Volume",
      "rank": 2,
      "price": {
        "value": 17.87,
        "currency": "$"
      },
      "rating": 4.5,
      "review_count": 18316,
      "offer_count": 17,
      "category": "Electronics",
      "image_url": "https://images-na.ssl-images-amazon.com/images/I/513OSdW4elL._AC_UL300_SR300,200_.jpg",
      "platform": "amazon",
      "rating_scale": 5
    }
  ],
  "count": 20,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=amazon
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
