keepa
Interfaces with keepa.com's API.
What it is and what it does
Keepa is a Python client for the Keepa.com API that retrieves Amazon product information, pricing history, and marketplace data. It wraps HTTP requests to Keepa's backend and returns product data as dictionaries or typed Pydantic models, with built-in support for batch queries, offer history, and buy-box statistics. The library also includes a plotting module for visualizing price trends when matplotlib is installed.
The package is designed for e-commerce researchers, price monitors, and arbitrage tools that need historical Amazon pricing and product metadata. It supports both blocking and async workflows via the Keepa and AsyncKeepa classes, and handles token-based rate limiting transparently. All queries require a valid Keepa subscription key, making it a bridge between your Python code and Keepa's commercial data service.
Use it for:
- Monitor Amazon product price trends over time to identify buying opportunities or track competitor pricing
- Build a price-tracking dashboard that queries multiple ASINs and visualizes historical data with matplotlib
- Automate bulk product research by querying hundreds of ASINs asynchronously to find products by author, category, or other criteria
- Extract buy-box history and seller offer data to analyze marketplace competition and pricing patterns
- Integrate Keepa data into a pandas workflow for statistical analysis of price elasticity or seasonal trends
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Query Amazon product data and pricing history from the Keepa API, with support for both synchronous and asynchronous requests, and optional visualization of price trends.
Yes, if you have a Keepa subscription and need to query Amazon product data programmatically. The library is actively maintained, has no known vulnerabilities, supports current Python versions (3.10+), and offers both sync and async interfaces. The permissive license and low install friction make it a straightforward choice for e-commerce automation. Without a Keepa subscription, it is not useful.
Install
keepa on PyPI
pip
pip install keepauv
uv add keepapoetry
poetry add keepaInstalling keepa
Before you install
Low friction install with six common dependencies (numpy, requests, tqdm, aiohttp, pandas, pydantic). Active maintenance with recent release (43 days old) and steady repository activity.
License in practice
Permissive license (Apache) means you can use this in commercial and proprietary projects without restriction.
Quickstart
pip install keepa
import keepa
api = keepa.Keepa('YOUR_ACCESS_KEY')
products = api.query('B0088PUEPK')
print(products[0]['title'])
Requires a Keepa API access key and active monthly subscription from keepa.com; Python >= 3.10
Verify before relying
- Whether the async interface (AsyncKeepa) offers performance advantages over the synchronous client for bulk queries
- Rate limiting and token management details beyond the documented wait parameter behavior
- Whether matplotlib is truly optional or required for certain workflows beyond plot_product()
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — numpy, requests, tqdm, aiohttp, pandas, pydantic |
| Maintenance | actively maintained — 43 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 106,394/month — #12,653 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: keepa-1.5.0-py3-none-any.whl
Keywords: keepa
Tags
More Front-Ends packages
SQLAlchemy is a Python SQL toolkit and Object…
permissive · top 100 on PyPI
psycopg2-binarypsycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
alembicAlembic generates and manages database schema…
permissive · top 1,000 on PyPI
weaviate-clientA Python client library for connecting to and…
permissive · top 1,000 on PyPI
databricks-sql-connectorA Python client library that connects to…
permissive · top 1,000 on PyPI
psycopgPsycopg 3 is a PostgreSQL database adapter for…
copyleft · top 1,000 on PyPI
openfoodfactsQuery and manage product data from the Open…
permissive · top 15,000 on PyPI
genai-pricesCalculates pricing for LLM API calls across…
permissive · top 1,000 on PyPI
energyzeroAsynchronous Python client for retrieving…
permissive · top 15,000 on PyPI
scrapingbeePython SDK wrapper for ScrapingBee's web…
permissive · top 15,000 on PyPI
WooCommerceA Python wrapper for the WooCommerce REST API…
permissive · top 15,000 on PyPI
pyairtablePython client library for interacting with the…
permissive · top 5,000 on PyPI
pytrendsProvides an unofficial interface to download…
permissive · top 5,000 on PyPI
amberelectricProvides a Python interface to the Amber…
permissive · top 15,000 on PyPI
google-shopping-merchant-productsPython client library for Google Shopping…
permissive · top 15,000 on PyPI