Amazon Today's Deals
List Amazon’s current deals with price, price before the discount, savings, rating and review count. Filters are optional.
Overview
Section titled “Overview”Call it with no parameters to get the deals Amazon currently lists, each with ASIN, title, link, price to pay, price before the discount, savings amount and percentage, deal type and state, rating, review count and image.
Narrow the list on the first call with department, deal_type (all, best_deal, lightning_deal or coupon), prime_exclusive, min_discount and max_discount (percent) and min_price and max_price (USD). The filters are locked into the cursor. Page through the deals by passing next_cursor back as cursor.
Use cases
Section titled “Use cases”- Watch daily discounts in categories you sell in.
- Alert on deals for products you track.
- Feed a deals newsletter or channel.
Request
Section titled “Request”curl -G "https://api.scrapier.io/api/v2/amazon-todays-deals/" \ -H "X-API-Key: YOUR_API_KEY" \ --max-time 210const params = new URLSearchParams({});
const res = await fetch(`https://api.scrapier.io/api/v2/amazon-todays-deals/?${params}`, { headers: { "X-API-Key": "YOUR_API_KEY" }, signal: AbortSignal.timeout(210_000),});const body = await res.json();if (!res.ok) throw new Error(body.error ?? body.detail ?? `HTTP ${res.status}`);
console.log(body.data.deals);import requests
resp = requests.get( "https://api.scrapier.io/api/v2/amazon-todays-deals/", headers={"X-API-Key": "YOUR_API_KEY"}, params={}, timeout=210,)body = resp.json()if not resp.ok: raise RuntimeError(body.get("error") or body.get("detail"))
print(body["data"]["deals"])curl -X POST "https://api.scrapier.io/api/v2/amazon-todays-deals/" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{}' \ --max-time 210Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
X-API-Key header | string | yes | — | Your API key from the dashboard. |
cursor | string | no | — | Pagination cursor returned in the previous response's next_cursor. Pass it back unchanged to fetch the next page. When next_cursor is null, you have reached the last page. |
department | string | no | — | First call only (locked into the cursor). Optional department name (e.g. Electronics, Home & Kitchen, Books, Toys & Games) or Amazon browse-node id. Empty = all. |
deal_type | string | no | all | First call only. all | best_deal | lightning_deal | coupon allbest_deallightning_dealcoupon |
prime_exclusive | boolean | no | false | First call only. Only Prime-exclusive deals |
min_discount | integer | no | — | First call only. Minimum discount % (0-100) |
max_discount | integer | no | — | First call only. Maximum discount % (0-100) |
min_price | integer | no | — | First call only. Minimum price in USD |
max_price | integer | no | — | First call only. Maximum price in USD |
Advanced
| Name | Type | Default | Description |
|---|---|---|---|
use_proxy | boolean | true | Route the request through Scrapier's residential proxy pool. Default: true. Leave as is unless support tells you otherwise. |
raw_data | boolean | false | When true, the response carries the full raw upstream payload(s) the scraper received (GraphQL / JSON API bodies, HTML, embedded JSON-LD -- exactly as the platform returned them) under raw_responses, in place of the formatted items. When false (default) you get the formatted output. Pagination (cursor / next_cursor) works the same in both modes. |
Response
Section titled “Response”{ "success": true, "data": { "index": 0, "page_size": 60, "deals": [ { "asin": "B0GZTKN3MN", "basis_price": 1099.99, "price_to_pay": 749, "currency": "USD", "savings_amount": 350.99, "savings_percentage_value": 32, "title": "ECOVACS DEEBOT Robot Vacuum and Mop, X11S OMNICYCLONE", "link": "https://www.amazon.com/ECOVACS-DEEBOT-Robot-Vacuum-OMNICYCLONE/dp/B0GZTKN3MN", "deal_state": "AVAILABLE", "deal_type": "BEST_DEAL", "image": "https://m.media-amazon.com/images/I/71FQzChMWDL.jpg", "rating": 4.6, "reviews_count": 83 } ], "next_cursor": "zc1.eNrtwTEBAAAAwqD1T20KP6AAAAAAAAAA..." }}Bad input. The exact message varies by endpoint.
{ "success": false, "error": "…"}Balance below the endpoint’s price.
{ "error": "Insufficient credits. Buy more to scrape more.", "balance": 1, "required": 2}Invalid or unknown API key.
{ "detail": "Authentication service unavailable or invalid API key."}Throttled — wait for Retry-After.
{ "detail": "Request was throttled. Expected available in N seconds."}Sample from the live catalog; arrays trimmed to 3 items. Results are in data.deals.
Response fields
Section titled “Response fields”| Field | Type | Example | Description |
|---|---|---|---|
index | integer | 0 | — |
page_size | integer | 60 | — |
deals | array | [1 item] | The results. |
next_cursor | string | zc1.eNrtwTEBAAAAwqD1T20KP6AAAAAAAAAA... | Pass back as cursor for the next page. null on the last page. |
deals[].asin | string | B0GZTKN3MN | — |
deals[].basis_price | number | 1099.99 | Price before the discount. |
deals[].price_to_pay | integer | 749 | Price you pay for the deal. |
deals[].currency | string | USD | — |
deals[].savings_amount | number | 350.99 | Amount saved against the price before the discount. |
deals[].savings_percentage_value | integer | 32 | Discount in percent. |
deals[].title | string | ECOVACS DEEBOT Robot Vacuum and Mop, X11S OMN… | — |
deals[].link | string | https://www.amazon.com/ECOVACS-DEEBOT-Robot-V… | Link to the product page. |
deals[].deal_state | string | AVAILABLE | Whether the deal is currently available. |
deals[].deal_type | string | BEST_DEAL | Kind of deal, for example BEST_DEAL. |
deals[].image | string | https://m.media-amazon.com/images/I/71FQzChMW… | — |
deals[].rating | number | 4.6 | — |
deals[].reviews_count | integer | 83 | — |
Pagination
Section titled “Pagination”Pass data.next_cursor back as cursor until it is null. Required inputs are ignored once a cursor is sent. Each page is one billed call. More in Pagination.
const url = "https://api.scrapier.io/api/v2/amazon-todays-deals/";let params = {};const items = [];
for (let page = 0; page < 10; page++) { // each page is one billed call const res = await fetch(`${url}?${new URLSearchParams(params)}`, { headers: { "X-API-Key": "YOUR_API_KEY" }, signal: AbortSignal.timeout(210_000), }); const body = await res.json(); if (!res.ok) throw new Error(body.error ?? body.detail ?? `HTTP ${res.status}`); const data = body.data; items.push(...(data.deals ?? [])); if (!data.next_cursor) break; // null = last page params = { cursor: data.next_cursor };}import requests
URL = "https://api.scrapier.io/api/v2/amazon-todays-deals/"HEADERS = {"X-API-Key": "YOUR_API_KEY"}params = {}items = []
for _ in range(10): # each page is one billed call resp = requests.get(URL, headers=HEADERS, params=params, timeout=210) resp.raise_for_status() data = resp.json()["data"] items.extend(data.get("deals") or []) if not data.get("next_cursor"): # None = last page break params = {"cursor": data["next_cursor"]}Errors
Section titled “Errors”Failed calls are free. Branch on the HTTP status and read the message from error (or detail). Full details in Errors.
| Status | Meaning | Retry? | Charged? |
|---|---|---|---|
400 | Bad or missing input. | No — fix the params | No |
401 / 403 | Missing, invalid or revoked API key. | No — fix the key | No |
402 | Out of credits (body has balance). | No — top up | No |
404 | Unknown endpoint slug. | No — check the slug | No |
429 / 503 | Busy or throttled. | Yes — after Retry-After | No |
5xx | Target site or upstream failure, or timeout. | Yes — with backoff | No |
- No input is required; every filter is optional.
- The filters (
department,deal_type,prime_exclusive,min_discount,max_discount,min_price,max_price) are read on the first call only and locked into the cursor.
Related
Section titled “Related”- Amazon Best Sellers — Get ranked products from an Amazon Best Sellers category URL, with price, rating, review count and list position.
- Amazon Search — Search Amazon by keyword and get product results with price, rating and position, with marketplace and sort order options.
- Amazon Products — Search Amazon by keyword or URL and get product listings, or send a product URL to get that single product.