Price tracker API for Python — extract any product's price from a live page and log it to CSV. Price-drop monitoring in 3 lines.
price-tracker-api reads a product page through Keiro stealth browsers, pulls the price, and (optionally) appends it to a CSV time series. Point it at a product URL on a cron and you have a price-drop alert bot.
pip install price-tracker-api
export KEIRO_API_KEY="keiro_..." # free key: http://keirolabs.cloudfrom price_tracker_api import price
print(price("https://books.toscrape.com/catalogue/the-grand-design_405/index.html"))
# or log it over time (cron me daily):
# track(url) appends: timestamp,url,price,currency -> prices.csv{"price": 13.76, "currency": "£"}- Handles
$,£,€,₹price formats price(url)for one-shot extraction,track(url)for CSV logging- Cron it daily → price history + drop alerts for free
- Stealth-browser rendering handles pages plain
requestscan't
track(url) on a schedule. The CSV it writes is your price history.
Read the CSV's last two rows, compare, send yourself a notification. The extraction half is done — alerting is a 3-line if on your side.
Any page with a visible price — e-commerce product pages are the sweet spot. Heavy anti-bot stores (Amazon-grade) may need a leased stealth browser.
Yes — pages render in a real stealth browser before parsing, which is the whole point.
Those are Amazon-only. price-tracker-api tracks any URL you give it — boutique stores, ticket pages, SaaS pricing pages.
Part of the Keiro free-tool family — every package owns a different Google query:
- google-serp-api
- free-web-search
- google-trends-api
- google-maps-scraper
- google-autocomplete-api
- google-news-api
- free-rank-checker
- reddit-search-api
- web-crawler-free
- keyword-volume-api
- youtube-search-api
- site-metadata-api
- wayback-finder
- scholar-search-api
- email-finder-api
Requires a Keiro API key — price-tracker-api is powered by the Keiro API, which handles the stealth searching. Grab a free key at keirolabs.cloud — 30 seconds, no credit card, free credits to start.