skillfed

python-amazon-sp-api

Python wrapper for the Amazon Selling-Partner API

python-amazon-sp-api v2.1.20 467.7K downloads/30d#6,497 on PyPI671
Permissive license MIT Active released

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-api

uv

uv add python-amazon-sp-api

poetry

poetry add python-amazon-sp-api

Installing 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

amazon selling partner api clientamazon sp-api python wrapperamazon orders reports feedsamazon seller automationasync amazon marketplace apiamazon seller data integrationsp-api sync async client
amazon-integrationasync-supportmarketplace-api

More WWW/HTTP packages