skillfed

keepa

Interfaces with keepa.com's API.

keepa v1.5.0 106.4K downloads/30d#12,653 on PyPI311
Permissive license Active released

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 keepa

uv

uv add keepa

poetry

poetry add keepa

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: End Users/DesktopLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Database :: Front-Ends

Tags

amazon product price historykeepa api clientamazon asin lookupproduct pricing dataamazon marketplace monitoringprice trend analysiskeepa python wrapper
amazon-apiprice-monitoringasync-support

More Front-Ends packages