Registry / ecommerce / keepa
library1.4.4pypypi✓ verified 84d ago

A Python interface for keepa.com's Amazon product data API. Version 1.4.4 provides product search, category lookups, and historical pricing. Released on PyPI with monthly cadence, requires Python >=3.10.

pip install keepa
INSTALL
IMPORT
SIG · KEEPA
K
keepa
ecommercepythonv1.4.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Keepa
from keepa import Keepa
import keepa
The correct import is the Keepa class, not the module.

Initialize with access key and perform a basic product search.

import os from keepa import Keepa access_key = os.environ.get('KEEPA_ACCESS_KEY', 'your_access_key') api = Keepa(access_key) # Example: search for product products = api.search('B0XXXXX') print(products)
Debug
Known issues
breakingKeepa() constructor now requires access_key as positional argument; previously used keyword argument 'api_key'.
fix
Use `Keepa(access_key)` instead of `Keepa(api_key=access_key)`.
affects: >=1.4.0
gotchaSearch method expects an ASIN (string) or list of ASINs, not a product URL or title.
fix
Always pass ASIN codes (e.g., 'B0XXXXX').
affects: all
deprecatedThe 'product_search' method is deprecated in favor of 'search'.
fix
Use `api.search(...)` instead of `api.product_search(...)`.
affects: >=1.4.0
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'keepa'
Not installed or installed in wrong environment.
fix
Run 'pip install keepa' and ensure you are using the correct Python environment.
ValueError: Access key is required
Access key not provided to Keepa constructor.
fix
Provide your access key: `Keepa('your_access_key')`.
TypeError: search() missing 1 required positional argument: 'asin'
Search method called without ASIN argument.
fix
Call `api.search('B0XXXXX')` with a valid ASIN string.
Upgrade
Version history
1.4.4latest on PyPI · released Feb 24, 2026
Audit
Dependencies
requestsrequiredHTTP requests to Keepa API
Agent activity
54 hits · last 30 days
node
48
Amazon
1
Resources
keepa — pip install keepa · libregistry