# amazon.search

The products on a page of Amazon's search results: prices, ratings and review counts, with advertisements marked.

Amazon search, one of the Amazon scrapers.

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

Start it with `POST /v1/scrapers/amazon.search/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 |
| --- | --- | --- | --- |
| `query` | string | yes | What to search for, e.g. "wireless mouse". Limit: at least 1 characters, at most 200 characters. |
| `marketplace` | "us" \| "uk" \| "de" \| "in" \| "ca" \| "it" \| "es" \| "nl" \| "jp" \| "au" \| "mx" \| "br" \| "ae" \| "sa" \| "eg" \| "tr" \| "se" \| "pl" \| "be" \| "sg" | no | The marketplace to search, one of us (amazon.com), uk (amazon.co.uk), de (amazon.de), in (amazon.in), ca (amazon.ca), 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). Default: `"us"`. |
| `page` | integer | no | The results page, from 1 (Amazon serves at most 20). Limit: 1 to 20. Default: `1`. |
| `max_results` | integer | no | Return at most this many items of the page; all of them when not given. Limit: 1 to 100. |
| `include_sponsored` | boolean | no | False leaves the advertisements (sponsored: true) out. Default: `true`. |
| `filters` | array of string | no | Filters to apply, as amazon.results_page names them (an option's `filter`, e.g. "p_123:213704" for a brand); the options of one filter widen the search, different filters narrow it. |

- One run reads one page of results: 16 to 60 products, as Amazon lays the page out. Ask for the next with `page` (1 to 20); `max_results` only trims the page.
- `marketplace` is `us` (amazon.com), `uk` (amazon.co.uk), `de` (amazon.de), `in` (amazon.in), `ca` (amazon.ca), `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). amazon.fr is not searched: it answers searches with a challenge. The page is the one that marketplace shows a visitor in its own country who is not signed in, in its own language.
- Advertisements are returned with `sponsored` `true`; `include_sponsored: false` leaves them out. A product shown both as an advertisement and as a result is two records.
- A search with no product on the page ends `ok` with zero records. For a query nothing matches Amazon often shows advertisements only: they are returned as advertisements.
- `prime` is `true` when the tile shows the Prime badge or a delivery offer for Prime members, `false` when other tiles of the page do, and `null` when none does. A visitor who is not signed in is shown them on amazon.com and rarely elsewhere, so it is not a list of Prime-eligible products. `delivery` is the tile's delivery line, as written.
- `review_count` is the full number of ratings, not the shortened one shown beside the stars. `brand` is filled only where the tile shows it apart from the title, as clothing does.
- 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 |
| --- | --- | --- |
| `position` | integer | The item's place among the returned items of this page, from 1. |
| `page` | integer | The results page the item was on. |
| `asin` | string | Amazon's product id (ASIN). |
| `marketplace` | string | The marketplace searched, 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 | The product's title, as the tile shows it. |
| `brand` | string or null | The brand, when the tile shows it apart from the title (clothing does; most tiles do not). |
| `price` | object or null | The price shown on the tile; null when the tile 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. |
| `list_price` | object or null | The struck-through list price, when the tile shows one. |
| `list_price.amount` | number | The amount as the page states it. |
| `list_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. |
| `sponsored` | boolean | True for an advertisement (a sponsored placement), false for a result. |
| `prime` | boolean or null | True when the tile shows the Prime badge or a delivery offer for Prime members, false when other tiles of the page do and this one does not, null when no tile of the page shows either (outside amazon.com a visitor who is not signed in is rarely shown them). |
| `delivery` | string or null | The tile's delivery line, in the page's own words and language, e.g. "FREE delivery Mon, Nov 23"; null when the tile has none. |
| `image` | string or null | The tile's image. |
| `fetched_at` | string (date-time) | When the results page 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.search/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"query":"wireless mouse"}}'
```

## 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.search",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "query": "wireless mouse"
  },
  "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": [
    {
      "position": 3,
      "page": 1,
      "asin": "B004YAVF8I",
      "marketplace": "amazon.com",
      "url": "https://www.amazon.com/dp/B004YAVF8I",
      "title": "Logitech M185 Compact Ambidextrous 2.4 GHz Wireless Mouse - Swift Grey",
      "brand": null,
      "price": {
        "amount": 13.99,
        "currency": "USD"
      },
      "list_price": {
        "amount": 17.99,
        "currency": "USD"
      },
      "rating": 4.4,
      "review_count": 45857,
      "sponsored": false,
      "prime": true,
      "delivery": null,
      "image": "https://m.media-amazon.com/images/I/51WN5aXZWIL._AC_UY218_.jpg",
      "fetched_at": "2026-11-19T18:07:38.354873Z"
    }
  ],
  "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.
