Amazon prices move with competition, demand, stock and promotions, and the same product can show a different price in another region. Browser extensions are fine for a shopper watching one item. A seller, brand or analyst who watches hundreds of competitor ASINs needs an Amazon price tracker API: a scheduled job that collects price and stock as structured data, keeps the history and raises an alert when something changes. This guide builds that tracker step by step with the Easyparser Product Detail API.
Why Track Amazon Prices with an API?
- Competitor pricing: see when a competitor undercuts you and react before you lose the Buy Box.
- Repricing rules: feed a pricing engine with fresh competitor prices instead of guesses.
- Deal and arbitrage alerts: get notified when a product drops below a target price.
- Stock signals: a competitor that goes out of stock is a chance to hold or raise your price.
- Market research: a price history shows seasonality, promotion patterns and how often a category reprices.
| Approach | Good for | Limits |
|---|---|---|
| Manual checks | A handful of products, occasional checks | Slow, error-prone, no history |
| Browser extensions and price history sites | Shoppers watching single items | No bulk access, no control over timing or fields |
| Your own scraper | Full control if you can maintain it | Blocks, CAPTCHAs and layout changes break it |
| Amazon price tracker API | Scheduled tracking of many ASINs with your own rules | You own storage, scheduling and alert logic |
What an Amazon Price Tracker API Should Record
A price on its own is easy to misread later. Record enough context with every reading that two rows can be compared fairly:
| Field | Why it matters |
|---|---|
| ASIN and marketplace | The same ASIN has different prices on amazon.com and amazon.de |
| Buy Box price and currency | The price most shoppers pay; keep the currency with the number |
| Availability text | Out of stock or low quantity explains many sudden price moves |
| Seller and fulfillment | An FBA offer and an FBM offer at the same price compete differently |
| ZIP code or delivery location | Prices and stock can change by region |
| Collection time (UTC) | Needed for history charts and to measure how often prices change |
| Request status | Lets you separate failed requests from real price changes |
With these fields in place, an Amazon price tracker API becomes a dataset you can query later, not just a feed of alerts.
Step 1: Get the Current Price and Stock for One ASIN
The DETAIL operation returns the Buy Box offer for an ASIN, including price, availability and fulfillment, in one structured response. Create a free account, copy your API key and run:
import requests
params = {
"api_key": "YOUR_API_KEY",
"platform": "AMZ",
"operation": "DETAIL",
"asin": "B0CJB6V2L5",
"domain": ".com",
}
resp = requests.get("https://realtime.easyparser.com/v1/request", params=params, timeout=60)
resp.raise_for_status()
buybox = resp.json()["result"]["detail"]["buybox_winner"]
print(buybox["price"]["value"], buybox["price"]["currency"]) # e.g. 29.99 USD
print(buybox["availability"]["raw"]) # e.g. In Stock
The ASIN comes from Easyparser's published example response, which you can inspect on the Product Detail API page. Price and stock come from the same request, so one call per product covers both.
Step 2: Store Every Reading and Alert on Price Drops
Tracking price changes over time means saving each reading with a timestamp. A small SQLite table is enough to start; move to PostgreSQL or BigQuery when the watchlist grows. The script below checks a watchlist, stores the price and stock text, and prints an alert when a price falls below its target:
import sqlite3, requests
from datetime import datetime, timezone
API_KEY = "YOUR_API_KEY"
WATCHLIST = {"B0CJB6V2L5": 25.00} # ASIN: target price
db = sqlite3.connect("prices.db")
db.execute("CREATE TABLE IF NOT EXISTS prices (asin TEXT, price REAL, stock TEXT, checked_at TEXT)")
for asin, target in WATCHLIST.items():
params = {"api_key": API_KEY, "platform": "AMZ", "operation": "DETAIL", "asin": asin, "domain": ".com"}
detail = requests.get("https://realtime.easyparser.com/v1/request", params=params, timeout=60).json()["result"]["detail"]
buybox = detail.get("buybox_winner") or {}
price = float(buybox.get("price", {}).get("value") or 0) or None
stock = buybox.get("availability", {}).get("raw")
db.execute("INSERT INTO prices VALUES (?, ?, ?, ?)", (asin, price, stock, datetime.now(timezone.utc).isoformat()))
if price and price < target:
print(f"ALERT {asin}: {price} is below {target}")
db.commit()
Run it hourly or daily from cron (0 * * * * python3 price_check.py) or a cloud scheduler. Replace the print with an email, a Slack webhook or a ticket in your own system. Products without a Buy Box offer return no price, so keep those rows: an empty Buy Box is a signal too.

Step 3: Track Competitor Prices in Bulk
Looping over hundreds of real-time requests is slow to orchestrate. The Bulk API takes up to 5,000 inputs per request, processes them in the background and calls your webhook when results are ready:
import requests
competitors = ["B0CJB6V2L5", "B0B7P81K6S"]
job = [{
"platform": "AMZ",
"operation": "DETAIL",
"domain": ".com",
"callback_url": "https://example.com/easyparser/webhook",
"payload": {"asins": competitors},
}]
resp = requests.post("https://bulk.easyparser.com/v1/bulk", headers={"api-key": "YOUR_API_KEY"}, json=job).json()
print(resp["meta_data"]) # accepted, invalid, failed and credit counts
Store the returned query IDs. When the webhook arrives, fetch each result from the Data Service and write the prices into the same table as Step 2. Parsed results are kept for up to 24 hours, so collect them promptly. The Bulk API guide covers webhooks, retries and idempotent processing.
Step 4: Track Regional Prices by ZIP Code
Price, stock and delivery can differ by delivery location. Pass a zip_code with the request to read the page as a shopper in that area would:
import requests
REGIONS = {"New York": "10001", "Los Angeles": "90001", "Chicago": "60601"}
for city, zip_code in REGIONS.items():
params = {"api_key": "YOUR_API_KEY", "platform": "AMZ", "operation": "DETAIL",
"asin": "B0CJB6V2L5", "domain": ".com", "zip_code": zip_code}
buybox = requests.get("https://realtime.easyparser.com/v1/request", params=params, timeout=60).json()["result"]["detail"]["buybox_winner"]
print(city, buybox["price"]["raw"], buybox["availability"]["raw"])
Store the ZIP code with every reading so you never compare a New York price with a Los Angeles price by mistake. Our guide to regional price analysis goes further with saved addresses.
Beyond the Buy Box: All Offers and Stock Alerts
The Buy Box price is what most shoppers pay, but it is not the whole market. The OFFER operation returns every seller's price, shipping, condition and fulfillment method for an ASIN, which shows who undercuts whom and whether a lower FBM offer is shaping the Buy Box.
Stock deserves its own rules. Alert when a competitor's availability text changes to out of stock or to a low quantity, and consider holding your price while they restock. For restock alerts on products you want to buy or resell, see our Amazon inventory tracking guide.
Alert Rules That Work
The alert logic decides whether your tracker is useful or noisy. Start with a few clear rules and tune them after a week of data:
| Rule | Example | Typical use |
|---|---|---|
| Absolute threshold | Alert when the price is below 25.00 | Buying and arbitrage targets |
| Percentage change | Alert when the price moves more than 5% since the last reading | Competitor repricing |
| Undercut | Alert when a competitor is below your own price | Buy Box defense |
| Stock change | Alert when availability changes to out of stock | Pricing opportunities, restock planning |
| New lowest offer | Alert when the OFFER list shows a new lowest seller | Unauthorized seller and MAP checks |
Require two consecutive readings before alerting on a change if your category is noisy, and always include the previous value in the message so the person reading it can judge the move quickly.
Practical Tips for an Amazon Price Tracker
- Match the interval to volatility. Hourly for fast-moving categories and promotion periods such as Prime Day and Black Friday, daily for stable products.
- Keep context with each price. Save marketplace, ZIP code, seller and collection time, not just the number.
- Separate errors from changes. A failed request is not a price drop; retry before alerting.
- Visualize the history. A line chart with a rolling average and your alert threshold makes patterns obvious; matplotlib, Plotly or a BI tool all work on the same table. To turn the table into a shared view for your team, follow our guide to building an Amazon competitor price monitoring dashboard.
- Watch credit usage. Each scheduled check consumes credits, so drop ASINs you no longer act on.
Start Tracking Amazon Prices
A working Amazon price tracker API setup needs three parts: a request that returns price and stock, a table that keeps the history, and rules that turn changes into alerts. Easyparser's Demo plan includes 100 credits with no credit card required, enough to test the scripts above on your own competitors across 22 Amazon marketplaces. Create a free account and start with your five most important competitor ASINs.
Sources
- Real-Time Integration Overview, Easyparser Documentation (accessed )
- Bulk Integration Overview, Easyparser Documentation (accessed )
Start building with the Easyparser API today
Start Your Free Trial100 free credits, no credit card required.


