Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

price-tracker-api

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.

Install

pip install price-tracker-api
export KEIRO_API_KEY="keiro_..."  # free key: http://keirolabs.cloud

Quickstart

from 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

Example output

{"price": 13.76, "currency": "£"}

Features

  • 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 requests can't

FAQ

How do I track product prices in Python?

track(url) on a schedule. The CSV it writes is your price history.

Can I get alerts when a price drops?

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.

Which stores work?

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.

Does it work with JavaScript-heavy store sites?

Yes — pages render in a real stealth browser before parsing, which is the whole point.

Why not CamelCamelCamel / Keepa?

Those are Amazon-only. price-tracker-api tracks any URL you give it — boutique stores, ticket pages, SaaS pricing pages.

More free search tools

Part of the Keiro free-tool family — every package owns a different Google query:


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.

About

Price tracker API for Python — extract product prices, log to CSV, cron for alerts.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages