Sample code for Amazon Selling Partner API use cases
200
stars
464
commits
Java
primary language
Sep 9, 2026
updated
This repository contains sample code in various programming languages for use cases supported by the Amazon Selling Partner API (SP-API).
[!IMPORTANT]
SP-API code samples are example code that demonstrates practical implementations of SP-APIs for specific use cases and scenarios.These sample solutions are not supported products in their own right, but educational examples to help our customers use our products for their applications. As our customer, any applications you integrate these examples into should be thoroughly tested, secured, and optimized according to your business's security standards & policies before deploying to production or handling production workloads.
This repository contains two types of sample code:
We welcome contributions to this repo in the form of fixes or improvements to existing content. For more information on contributing, please see the CONTRIBUTING guide.
This is considered an intermediate learning resource, and should typically be referenced after reading the SP-API Documentation. Please see Learning Resources for additional resources.
The @amazon-sp-api-release/sp-api-dev-mcp package is a local MCP (Model Context Protocol) server for SP-API that bundles multiple developer tools into a single npm package. It is published from the sp-api-dev-mcp source in the selling-partner-api-samples GitHub repository.
npm install -g @amazon-sp-api-release/sp-api-dev-mcp
| Server | Command |
|---|---|
| SP-API Dev Assistant | sp-api-dev-assistant-mcp-server |
| SP-API Workflow Builder | sp-api-workflow-mcp |
npx -y @amazon-sp-api-release/sp-api-dev-mcp sp-api-dev-assistant-mcp-server
npx -y @amazon-sp-api-release/sp-api-dev-mcp sp-api-workflow-mcp-server
Required secret: NPM_TOKEN — a granular npm access token with read/write permission for @amazon-sp-api-release/sp-api-dev-mcp.
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.
Java
53.3%
Python
18.7%
TypeScript
10.2%
JavaScript
8.2%
C#
7.3%
Shell
1.4%
Sample code for Amazon Selling Partner API use cases
200
stars
464
commits
Java
primary language
Sep 9, 2026
updated
This repository contains sample code in various programming languages for use cases supported by the Amazon Selling Partner API (SP-API).
[!IMPORTANT]
SP-API code samples are example code that demonstrates practical implementations of SP-APIs for specific use cases and scenarios.These sample solutions are not supported products in their own right, but educational examples to help our customers use our products for their applications. As our customer, any applications you integrate these examples into should be thoroughly tested, secured, and optimized according to your business's security standards & policies before deploying to production or handling production workloads.
This repository contains two types of sample code:
We welcome contributions to this repo in the form of fixes or improvements to existing content. For more information on contributing, please see the CONTRIBUTING guide.
This is considered an intermediate learning resource, and should typically be referenced after reading the SP-API Documentation. Please see Learning Resources for additional resources.
The @amazon-sp-api-release/sp-api-dev-mcp package is a local MCP (Model Context Protocol) server for SP-API that bundles multiple developer tools into a single npm package. It is published from the sp-api-dev-mcp source in the selling-partner-api-samples GitHub repository.
npm install -g @amazon-sp-api-release/sp-api-dev-mcp
| Server | Command |
|---|---|
| SP-API Dev Assistant | sp-api-dev-assistant-mcp-server |
| SP-API Workflow Builder | sp-api-workflow-mcp |
npx -y @amazon-sp-api-release/sp-api-dev-mcp sp-api-dev-assistant-mcp-server
npx -y @amazon-sp-api-release/sp-api-dev-mcp sp-api-workflow-mcp-server
Required secret: NPM_TOKEN — a granular npm access token with read/write permission for @amazon-sp-api-release/sp-api-dev-mcp.
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.
Java
53.3%
Python
18.7%
TypeScript
10.2%
JavaScript
8.2%
C#
7.3%
Shell
1.4%