Blog

Amazon deal finder: how to find real deals on Amazon, with a Python script that checks them

How to find real deals on Amazon for Black Friday and every day, what makes a discount worth it, and a tested Python script that finds and checks deals.

Published

An Amazon deal finder is a way to see the products on Amazon that are discounted right now, sorted by how much they are off, so you do not have to scroll through deal pages one by one. You can use Amazon's own deal pages, a deals website, or your own script that searches for the products you care about and keeps only the ones with a real discount.

This guide covers where Amazon shows deals, what makes a discount worth taking, and how Black Friday 2026 works on Amazon. It then gives a tested Python script of 138 lines that searches amazon.com for a few keywords, keeps the results with the biggest discount, reads each product page to confirm the deal, and flags the ones to check before buying. Every number below comes from a real run on 24 November 2026, three days before Black Friday.

Where does Amazon show its deals?

  • Today's Deals. Amazon's deals page collects current deals by category.
  • The deal badge on a product. A product on a deal shows a badge such as "Black Friday Deal" next to its price, with the discount against its list price or typical price.
  • Coupons. Some products carry a coupon you apply on the product page, such as "Apply $3 coupon", which is taken off at checkout on top of the price.
  • Alexa for Shopping. You can ask Amazon's shopping assistant to watch for deals and price drops on the things you are shopping for, and to set deal alerts on your lists (Amazon).

The deal pages are built for browsing. When you already know what you want, such as an espresso machine or a cordless drill, searching for it and sorting the results by discount gets you there faster. That is what the script below does.

When are Amazon's Black Friday deals in 2026?

Amazon's Black Friday Week and Cyber Monday deal events run from 19 to 30 November 2026. Black Friday itself is Friday 27 November, and Cyber Monday is 30 November. For the first time, deals drop twice on both Black Friday and Cyber Monday, at midnight and at 8 a.m. Pacific time, with savings up to 60% (Amazon).

So a search on Black Friday morning and a search after 8 a.m. Pacific can show different deals. Run a deal finder after each drop.

What makes an Amazon deal worth taking?

A big percentage off is not the same as a good price. Check four things:

  1. The price history. Amazon shows price history on eligible product pages for the past 30, 90 or 365 days (Amazon). If the "deal" price is what the product sold for most of the year, it is not much of a deal.
  2. The list price. The discount is measured against the list price the page shows. A high list price makes any price look like a big saving, so compare the deal price with the history, not only with the list price.
  3. The reviews. A listing with 20 reviews and a 60% discount is a different bet from a listing with 50,000 reviews and a 50% discount. In our run, the biggest discounts were on the listings with the fewest reviews.
  4. The seller. A product sold by Amazon.com or by the brand's own store is simpler to return than one from a seller you do not know. The product page names the seller under the buy button.

How do you find Amazon deals with Python?

The script searches amazon.com for each keyword, works out the discount of every organic result from its price and list price, and keeps the five biggest discounts at or above your minimum. It then reads each of those product pages to confirm the price, list price and deal badge, adds the rating, review count, seller and stock, and appends every confirmed deal to amazon_deals.csv with the time it was read. It uses the standard library only and needs Python 3.9 or later.

Get access

Every account starts with 200 free credits, and sign-in is by email. The quickest way is to give your coding agent (Claude Code, Cursor or similar) this line:

set up https://mcp.datawebot.com/setup.md

The agent asks for your email and you approve the sign-in from the email datawebot sends. The key is saved to ~/.datawebot/credentials, readable only by you, and the script reads it from there. That key lasts 30 days. For a script that runs on a schedule, create a key that lasts 90 or 365 days on the dashboard under API keys, and put it in an environment variable named DATAWEBOT_API_KEY from your secret store. Never commit it.

The script

"""Amazon deal finder: search amazon.com for each keyword, keep the organic
results with the biggest discount off their list price, read those product pages
to confirm the deal, and save every deal with the time it was read to a CSV file.
Standard library only. Usage:
python3 amazon_deal_finder.py "espresso machine" "cordless drill" --min 25"""
import csv, json, os, sys, time, urllib.request
from concurrent.futures import ThreadPoolExecutor

API = "https://api.datawebot.com/v1/requests"
OUT = "amazon_deals.csv"
PER_KEYWORD = 5  # how many of the biggest discounts to read per keyword
FIELDS = ["checked_at", "keyword", "asin", "title", "price", "list_price",
          "discount_pct", "deal", "coupon", "rating", "reviews", "bought_past_month",
          "seller", "availability", "url"]


def api_key():
    key = os.environ.get("DATAWEBOT_API_KEY")
    if key:
        return key
    # Written by the agent setup (https://mcp.datawebot.com/setup.md).
    with open(os.path.expanduser("~/.datawebot/credentials")) as f:
        return json.load(f)["profiles"]["https://mcp.datawebot.com"]["api_key"]


def call(method, url, body=None):
    req = urllib.request.Request(url, method=method,
        data=json.dumps(body).encode() if body else None,
        headers={"Authorization": "Bearer " + api_key(),
                 "Content-Type": "application/json",
                 "User-Agent": "amazon-deal-finder-example/1.0"})
    with urllib.request.urlopen(req, timeout=180) as r:
        return json.loads(r.read())


def run(body):
    """Send one request and wait for the answer; None when it failed."""
    try:
        res = call("POST", API, body)
        for _ in range(60):  # when the answer is "working", poll until it is done
            if res.get("status") != "working":
                break
            time.sleep(res.get("check_after_seconds") or 4)
            res = call("GET", f"{API}/{res['request_id']}")
        return res
    except (OSError, ValueError):  # a network or server error counts as a failure
        return None


def discount(price, was):
    """Percent off the list price, or 0 when there is no list price."""
    return round(100 * (was - price) / was) if price and was and was > price else 0


def search(keyword, minimum):
    """The organic results at or above the minimum discount, biggest first."""
    body = {"capability": "search", "query": keyword, "site": "amazon.com",
            "country": "US", "limit": 20}
    found = run(body)
    if not (found or {}).get("products"):  # a failed search is free: try once more
        time.sleep(130)
        found = run(body)
    deals = []
    for p in (found or {}).get("products") or []:
        pct = discount((p.get("price") or {}).get("amount"),
                       (p.get("original_price") or {}).get("amount"))
        if pct >= minimum:
            deals.append((pct, p["url"].rsplit("/dp/", 1)[-1].split("/")[0]))
    return [(keyword, asin) for _, asin in sorted(deals, reverse=True)[:PER_KEYWORD]]


def read(item):
    """Confirm one deal on its product page; None when the read failed or was incomplete."""
    keyword, asin = item
    res = run({"capability": "product", "country": "US",
               "url": "https://www.amazon.com/dp/" + asin})
    p = (res or {}).get("product")
    d = (p or {}).get("details") or {}
    if not d.get("delivery_location"):  # a full read names its delivery ZIP code
        return None
    price = (p.get("price") or {}).get("amount")
    was = (p.get("original_price") or {}).get("amount")
    return {"checked_at": res["meta"]["as_of"], "keyword": keyword, "asin": asin,
            "title": p["title"], "price": price, "list_price": was,
            "discount_pct": discount(price, was), "deal": d.get("deal_badge"),
            "coupon": d.get("coupon"), "rating": p.get("rating"),
            "reviews": p.get("review_count"),
            "bought_past_month": d.get("sold_count") if d.get("sold_count_basis") == "monthly" else None,
            "seller": (d.get("seller") or {}).get("name"),
            "availability": p.get("availability"), "url": p["url"]}


def note(r):
    """What to check before buying."""
    flags = []
    if (r["reviews"] or 0) < 100:
        flags.append("few reviews")
    if (r["rating"] or 0) < 4:
        flags.append("rating under 4")
    if r["availability"] not in (None, "in_stock"):
        flags.append(str(r["availability"]).replace("_", " "))
    return ", ".join(flags)


def main():
    args = sys.argv[1:]
    minimum = int(args[args.index("--min") + 1]) if "--min" in args else 25
    keywords = [a for i, a in enumerate(args) if a != "--min" and (i == 0 or args[i - 1] != "--min")]
    items = [item for k in keywords or ["espresso machine"] for item in search(k, minimum)]
    with ThreadPoolExecutor(max_workers=2) as pool:
        rows = dict(zip(items, pool.map(read, items)))
    missed = [i for i, row in rows.items() if not row]
    if missed:  # failed reads are free, so each one is tried once more
        time.sleep(130)
        rows.update((i, read(i)) for i in missed)
    done = [row for row in rows.values() if row and row["discount_pct"] >= minimum]
    new_file = not os.path.exists(OUT)
    with open(OUT, "a", newline="", encoding="utf-8") as f:
        writer = csv.DictWriter(f, fieldnames=FIELDS)
        if new_file:
            writer.writeheader()
        writer.writerows(done)
    for k in keywords:
        deals = sorted((r for r in done if r["keyword"] == k), key=lambda r: -r["discount_pct"])
        print(f'{k}: {len(deals)} deals of {minimum}% or more')
        for r in deals:
            extra = "; ".join(x for x in [r["deal"], r["coupon"] and f"coupon {r['coupon']}"] if x)
            print(f"  {r['discount_pct']:>3}% off  ${r['price']:>8,.2f} (list ${r['list_price']:,.2f})"
                  f"  {r['rating'] or '-'} from {r['reviews'] or 0:,}  {r['title'][:38]}")
            if extra or note(r):
                print(f"           {extra}" + (f"  check: {note(r)}" if note(r) else ""))
    failed = [i[1] for i, row in rows.items() if not row]
    if failed:
        print("Not read: " + ", ".join(failed))


if __name__ == "__main__":
    main()

How it works

  • search asks amazon.com for the keyword and reads up to 20 organic results. Sponsored listings come back separately and are left out. The discount comes from each result's price and list price, so finding the candidates costs one search per keyword, not one read per product. A failed search is free and is tried once more.
  • --min sets the smallest discount to keep, 25% by default. The five biggest discounts per keyword are read; change PER_KEYWORD for more.
  • read confirms each deal on its product page: the current price and list price, the deal badge and any coupon, the rating and review count, the "bought in past month" label, the seller and whether it is in stock. A deal whose discount on the page is below your minimum is dropped.
  • An incomplete read is retried. A full read always says which delivery ZIP code it was read for. A read without one did not finish, so it is tried again after about two minutes, together with any read that failed outright. Failed reads are free.
  • note flags what to check before buying: fewer than 100 reviews, a rating under 4, or a product that is not in stock.
  • The file only grows. Each run appends its deals with the time they were read, so running it after each deal drop shows which deals are new and which prices moved.

What it printed

We ran it for "espresso machine", "wireless earbuds", "cordless drill" and "lego set" with a 25% minimum. The run started at 05:26 UTC on 24 November 2026 and took 8 minutes 13 seconds. All 20 deals were read and confirmed on their product pages:

espresso machine: 5 deals of 25% or more
   60% off  $  109.99 (list $274.99)  4.9 from 24  Aromaster 1400W Espresso Machine with 
           Black Friday Deal  check: few reviews
   46% off  $   69.99 (list $129.99)  4.2 from 385  Chefman CraftBrew Espresso Machine, 15
           Black Friday Deal
   41% off  $   94.98 (list $159.99)  4.4 from 198  Espresso Machine 20 Bar, Compact Espre
           Black Friday Deal
   39% off  $   85.48 (list $139.99)  4.7 from 97  Espresso Machine, Espresso Maker with 
           Black Friday Deal  check: few reviews
   36% off  $  449.95 (list $699.95)  4.6 from 71  De'Longhi La Specialista Arte Evo Espr
           Black Friday Deal  check: few reviews
wireless earbuds: 5 deals of 25% or more
   70% off  $   19.99 (list $65.99)  5 from 21  Wireless Earbuds, Smart Touchscreen Ea
           Black Friday Deal  check: few reviews
   55% off  $   44.95 (list $99.95)  4.1 from 11,021  JBL Tune Buds - Noise Cancelling Earbu
           Black Friday Deal
   53% off  $   21.67 (list $45.63)  4.3 from 47,938  soundcore P30i by Anker Noise Cancelli
           Black Friday Deal
   50% off  $   29.99 (list $59.99)  4.4 from 12,295  soundcore P31i by Anker Translation Ea
           Black Friday Deal
   50% off  $   19.92 (list $39.99)  4.4 from 120,184  soundcore by Anker P20i True Wireless 
           Black Friday Deal
cordless drill: 5 deals of 25% or more
   46% off  $  129.00 (list $239.00)  4.7 from 61,525  DEWALT 20V MAX Cordless Drill and Impa
   45% off  $   99.00 (list $179.00)  4.8 from 2,509  DEWALT 20V MAX Cordless Drill Driver S
   45% off  $   98.99 (list $179.00)  4.8 from 1,830  DEWALT 20V MAX Impact Driver, 1/4 Inch
           Black Friday Deal
   44% off  $   49.99 (list $89.99)  4.6 from 83  SKIL PWR CORE 20 Brushless 20V 1/2-Inc
           Black Friday Deal  check: few reviews
   40% off  $   59.00 (list $99.00)  4.7 from 162  CRAFTSMAN V20 1/2 Cordless Drill With 
lego set: 5 deals of 25% or more
   50% off  $   29.99 (list $59.99)  4.9 from 561  LEGO Creator 3 in 1 Wild Animals: Maje
           Black Friday Deal
   44% off  $   33.49 (list $59.99)  4.8 from 32,795  LEGO Classic Large Creative Brick Box 
   43% off  $   15.39 (list $26.99)  4.9 from 3,862  LEGO Speed Champions Ferrari SF-24 F1 
   39% off  $   21.42 (list $34.99)  4.8 from 58,429  LEGO Classic Medium Creative Brick Box
   31% off  $   44.99 (list $64.99)  4.9 from 1,856  LEGO Botanicals Mini Bonsai Trees 1037
           Black Friday Deal

To check a row against the page, we opened the DEWALT drill and impact driver kit in a browser right after the run. It showed $129.00, 46% savings and a list price of $239.00, the same as the row.

What does the run show?

  • The biggest discounts had the fewest reviews. The top espresso machine deal was 60% off a list price of $274.99, on a listing with 24 reviews. The top earbuds deal was 70% off, with 21 reviews. Both are flagged "few reviews". A discount that large on a listing that new is worth checking against its price history before you buy.
  • Brand deals came with long review histories. The soundcore P20i earbuds were 50% off at $19.92 with 120,184 reviews, and the JBL Tune Buds 55% off at $44.95 with 11,021. The LEGO Classic Medium brick box was 39% off with 58,429 reviews.
  • Not every big discount carries a deal badge. The DEWALT drill and impact driver kit was 46% off its list price without a "Black Friday Deal" badge, as were another DEWALT drill, the CRAFTSMAN drill and three LEGO sets. A deal finder that only looks for badges misses them; one that compares the price with the list price finds them.
  • Most confirmed deals were sold by Amazon.com or the brand's store. 13 of the 20 were sold by Amazon.com, and the three soundcore earbuds by AnkerDirect. Three of the five listings flagged for few reviews were sold by third-party sellers.
  • No coupons showed up on these 20 products. The script still records a coupon whenever a product page shows one.

How do you run it after each deal drop?

On Black Friday and Cyber Monday, Amazon drops deals at midnight and 8 a.m. Pacific time. One cron line runs the script about half an hour after each drop on those two days (the times are in the machine's time zone; this example assumes Pacific time):

30 0,8 27,30 11 * cd /path/to/folder && python3 amazon_deal_finder.py "espresso machine" "cordless drill" --min 30

To be told when one specific product reaches your price, rather than browsing deals, use our Amazon price alert guide, which has a script that sends only the alerts. To see who sells a deal and whether the seller changes, see the Amazon buy box tracker.

How do you find deals with an AI agent?

If you work in Claude, ChatGPT, Cursor or another agent that supports MCP, you can ask without the script. After the setup line above, ask in plain language:

Use datawebot to search amazon.com for "cordless drill" and list the organic
results that are at least 30% off their list price, biggest discount first,
with price, list price, rating and review count. Then read the top three
product pages and tell me which have a deal badge and who sells them.

The agent calls search_products, then get_product for the deals it picked, and answers from the same data the script reads. The Amazon product data API page lists every field and the Amazon countries, and the MCP server page shows how to connect each client.

What does it cost?

A search costs 5 credits and a product read 1 credit; failed reads are free. A run of four keywords with five deals each costs about 40 credits: 20 for the searches and 20 for the reads. The 200 free credits every account starts with cover five such runs, enough for both deal drops on Black Friday and Cyber Monday. More credits are one-time packs with no subscription, listed on the pricing page.

To read other fields from the same product pages, see our Amazon scraper API guide. To compare whole niches before you buy stock rather than deals before you buy one, see our Amazon product research guide.

Need this at volume?

If you need deal data for hundreds of keywords or thousands of ASINs every day, send a volume request and we will size it in credits. Our published samples show the result format.

Frequently asked questions

What is the best Amazon deal finder?

For browsing, Amazon's own Today's Deals page lists current deals by category. For deals on specific products, searching for them and sorting by discount is faster; the script in this guide does that for several keywords at once and confirms each deal on its product page.

How do I find the biggest discounts on Amazon?

Search for the product, compare each result's price with its list price, and sort by the percentage off. Then check the listings with the biggest discounts: their price history, their reviews and their seller. In our run, the biggest discounts were often on listings with fewer than 100 reviews.

Are Amazon Black Friday deals real?

Many are, but check the price history before buying. Amazon shows 30, 90 and 365 days of price history on eligible product pages. A deal price close to the lowest price in that history is a real deal; one close to the usual price is not.

When do Amazon Black Friday deals start in 2026?

Amazon's Black Friday Week and Cyber Monday deals run from 19 to 30 November 2026. On Black Friday, 27 November, and Cyber Monday, 30 November, deals drop twice, at midnight and 8 a.m. Pacific time.

Does Amazon have a coupon finder?

Coupons show on product pages, with a button to apply them, such as "Apply $3 coupon". The script in this guide records any coupon a product page shows next to its deal, so a run over your keywords doubles as a coupon finder for those products.

Why does a product show a discount without a deal badge?

The discount on a product page is the price against its list price, and the page can show it without a deal badge. In our run, a DEWALT drill kit showed 46% off its list price with no "Black Friday Deal" badge.

How often should I check for Amazon deals?

On Black Friday and Cyber Monday, after each deal drop at midnight and 8 a.m. Pacific time. On other days, once a day is enough for most products; for one product you want at a set price, use a price alert instead.

Sources

  1. https://press.aboutamazon.com/2026/11/amazons-black-friday-week-and-cyber-monday-return-november-19-30-with-millions-of-deals-to-deliver-joy-this-holiday-season
  2. https://www.aboutamazon.com/news/retail/how-to-check-amazon-price-history
  3. https://www.datawebot.com/llms.txt
  4. https://mcp.datawebot.com/setup.md
  5. https://www.datawebot.com/solutions/amazon-product-data-api
  6. https://docs.python.org/3/library/csv.html

Read Amazon search results and product pages as JSON.

Every account starts with 200 free credits, with no subscription: a search costs 5 credits and a product read 1. Failed requests are free.

← All articles