python-amazon-sp-api
Python wrapper for the Amazon Selling-Partner API
What it is and what it does
python-amazon-sp-api is a wrapper around Amazon's Selling Partner API that abstracts away the complexity of authentication, request signing, and response parsing. It provides both synchronous and asynchronous clients for interacting with Amazon seller services—orders, reports, feeds, and data queries—through a straightforward Python interface.
The library uses httpx for HTTP transport with connection pooling support, cachetools for caching, confuse for configuration management, and typing-extensions for type hints. It is actively maintained and designed to be extensible for new endpoints. The async client under sp_api.asyncio supports non-blocking calls for high-concurrency scenarios.
Use it for:
- Automate order retrieval and processing for sellers managing inventory across Amazon marketplaces
- Generate and download merchant reports on a scheduled basis without manual seller central interaction
- Submit product feeds and bulk updates to Amazon programmatically
- Query sales and traffic analytics through the Data Kiosk API for business intelligence
- Build async-based integrations that handle multiple API calls concurrently without blocking
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python client library for Amazon's Selling Partner API that provides sync and async interfaces to manage orders, reports, feeds, and marketplace operations.
Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It is well-suited for any Python project that needs to integrate with Amazon's Selling Partner API. The dual sync/async support makes it adaptable to both simple scripts and high-concurrency applications.
Install
python-amazon-sp-api on PyPI
pip
pip install python-amazon-sp-apiuv
uv add python-amazon-sp-apipoetry
poetry add python-amazon-sp-apiInstalling python-amazon-sp-api
Before you install
Low friction install with four lightweight runtime dependencies. The project is actively maintained with a recent release and 671 GitHub stars, indicating established community use. Requires Python 3.10 or later.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for business automation and integration projects.
Quickstart
pip install python-amazon-sp-api
from sp_api.api import Orders
from datetime import datetime, timedelta, timezone
orders_client = Orders()
res = orders_client.get_orders(
CreatedAfter=(datetime.now(timezone.utc) - timedelta(days=7)).isoformat()
)
print(res.payload)
Requires Python 3.10 or later. Amazon Selling Partner API credentials must be configured before making API calls.
Verify before relying
- How credentials are configured and whether environment variables, config files, or code-based setup is required
- Rate limiting and throttling behavior when calling Amazon's API endpoints
- Whether async operations support all the same endpoints as sync clients
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — httpx, cachetools, confuse, typing-extensions |
| Maintenance | actively maintained — 13 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 467,664/month — #6,497 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: python_amazon_sp_api-2.1.20-py3-none-any.whl
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
growwapiSDK for connecting to Groww's trading platform…
permissive · top 15,000 on PyPI
python-amazon-paapiA Python wrapper for Amazon's product APIs that…
permissive · top 15,000 on PyPI
stream-pythonOfficial Python client library for Stream Feeds…
permissive · top 5,000 on PyPI
amazon-transcribeStreams audio to Amazon Transcribe and receives…
permissive · top 15,000 on PyPI
smartapi-pythonA Python client library for Angel Broking's…
unclear · top 15,000 on PyPI
pybitpybit is the official Python connector for…
permissive · top 15,000 on PyPI
elastic-transportProvides shared HTTP transport classes and…
permissive · top 1,000 on PyPI
aws_sdk_transcribe_streamingProvides a Python client for AWS Transcribe…
permissive · top 15,000 on PyPI
python-binanceUnofficial Python wrapper for the Binance…
permissive · top 15,000 on PyPI
pydocketDocket is a distributed background task system…
permissive · top 5,000 on PyPI