# amazon.bestsellers

The products Amazon ranks in a category's Best Sellers or New Releases list: rank, title, price, rating and number of ratings.

Amazon best sellers, one of the Amazon scrapers.

| | |
| --- | --- |
| Id | `amazon.bestsellers` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/amazon.bestsellers/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `category` | string | no | The category, as the list's own address names it: e.g. electronics, books, or electronics/172456 for a category further down. Leave it out for the list of all departments. Limit: at most 90 characters. |
| `ranking` | "best_sellers" \| "new_releases" | no | Which list: best_sellers or new_releases. Default: `"best_sellers"`. |
| `marketplace` | "us" \| "uk" \| "de" \| "in" \| "ca" \| "fr" \| "it" \| "es" \| "nl" \| "jp" \| "au" \| "mx" \| "br" \| "ae" \| "sa" \| "eg" \| "tr" \| "se" \| "pl" \| "be" \| "sg" | no | The marketplace to read, one of us (amazon.com), uk (amazon.co.uk), de (amazon.de), in (amazon.in), ca (amazon.ca), fr (amazon.fr), it (amazon.it), es (amazon.es), nl (amazon.nl), jp (amazon.co.jp), au (amazon.com.au), mx (amazon.com.mx), br (amazon.com.br), ae (amazon.ae), sa (amazon.sa), eg (amazon.eg), tr (amazon.com.tr), se (amazon.se), pl (amazon.pl), be (amazon.com.be), sg (amazon.sg). us when not given. |
| `url` | string | no | The address of a list page instead of category, ranking and marketplace, e.g. https://www.amazon.com/gp/bestsellers/electronics/172456. Limit: at most 2048 characters. |
| `page` | integer | no | The page of a category's list: 1 (ranks 1 to 50) or 2 (51 to 100). Limit: 1 to 2. Default: `1`. |
| `max_results` | integer | no | Return at most this many products of the page; all of them when not given. Limit: 1 to 100. |

- `category` is the category as the list's own address names it: `electronics`, `books`, or `electronics/172456` for one further down, where the number is Amazon's id of the category. The quickest way to one is to open the list on Amazon and give its address as `url`.
- `ranking` is `best_sellers` or `new_releases`. `marketplace` is `us` (amazon.com), `uk` (amazon.co.uk), `de` (amazon.de), `in` (amazon.in), `ca` (amazon.ca), `fr` (amazon.fr), `it` (amazon.it), `es` (amazon.es), `nl` (amazon.nl), `jp` (amazon.co.jp), `au` (amazon.com.au), `mx` (amazon.com.mx), `br` (amazon.com.br), `ae` (amazon.ae), `sa` (amazon.sa), `eg` (amazon.eg), `tr` (amazon.com.tr), `se` (amazon.se), `pl` (amazon.pl), `be` (amazon.com.be) or `sg` (amazon.sg); category names differ between marketplaces.
- A category's list is 100 products on two pages: `page` 1 is ranks 1 to 50, `page` 2 is 51 to 100.
- Each page describes its first 30 products in full. The last 20 come back with `asin`, `rank` and `url` only, and `listed_only` `true`: read them with [`amazon.product`](https://docs.enrichednow.com/scrapers/amazon.product.md).
- Without a `category` the run returns Amazon's list of all departments: the first products of each, where `rank` is the rank within the department and `category` is the department's heading.
- A category the marketplace does not have, or whose list is empty, ends `failed` with `not_found`, and costs nothing.
- A challenge or Amazon's error page ends the run `failed` with `captcha` or `blocked`, and costs nothing — see [the reasons of this family](https://docs.enrichednow.com/results-and-statuses.md#amazon).

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `rank` | integer | The product's rank in the list, from 1. On the list of all departments: its rank within its department. |
| `ranking` | string | Which list: best_sellers or new_releases. |
| `category` | string or null | The list's heading as the page writes it, e.g. "Best Sellers in Electronics"; on the list of all departments, the heading of the product's department. |
| `asin` | string | Amazon's product id (ASIN). |
| `marketplace` | string | The marketplace the list was read on, e.g. amazon.com, amazon.co.uk, amazon.de, amazon.co.jp. |
| `url` | string | The product's address on that marketplace, without tracking parameters. |
| `title` | string or null | The product's title, as the list shows it; null when listed_only. |
| `price` | object or null | The price shown in the list; null when it shows none. |
| `price.amount` | number | The amount as the page states it. |
| `price.currency` | string or null | The ISO currency code of the amount (USD, GBP, EUR, INR, CAD, JPY, …): the one the page gives, or the marketplace's own where the page writes only its sign; null when the page gives neither. |
| `rating` | number or null | Average customer rating, 0 to 5. |
| `review_count` | integer or null | Number of customer ratings. |
| `image` | string or null | The product's image in the list. |
| `listed_only` | boolean | True for a product the page names with its rank and nothing else: a category's page writes out the first 30 of its 50 products and only names the last 20. Read those with amazon.product. |
| `page` | integer | The page of the list the product was on: 1 (ranks 1 to 50) or 2 (51 to 100). |
| `fetched_at` | string (date-time) | When the list was read, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/amazon.bestsellers/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"category":"electronics"}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "amazon.bestsellers",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "category": "electronics"
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "rank": 2,
      "ranking": "best_sellers",
      "category": "Best Sellers in Electronics",
      "asin": "B0DCH8VDXF",
      "marketplace": "amazon.com",
      "url": "https://www.amazon.com/dp/B0DCH8VDXF",
      "title": "Apple EarPods Headphones with USB-C Plug, Wired Ear Buds with Built-in Remote to Control Music, Phone Calls, and Volume",
      "price": {
        "amount": 19,
        "currency": "USD"
      },
      "rating": 4.5,
      "review_count": 20386,
      "image": "https://images-na.ssl-images-amazon.com/images/I/513OSdW4elL._AC_UL300_SR300,200_.jpg",
      "listed_only": false,
      "page": 1,
      "fetched_at": "2026-11-19T18:07:38.245373Z"
    }
  ],
  "next_cursor": null
}
```

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the Amazon scrapers](https://docs.enrichednow.com/results-and-statuses.md#amazon) are in their own section there.
