Using SDK
CreatorsAPI provides SDKs for multiple programming languages to simplify integration. Each SDK handles authentication, request signing, and API communication automatically, allowing you to focus on building your application.
Before using any SDK, you need to generate credentials from Amazon Associates Central. Follow the instructions in the Register for Creators API guide to create your credentials (Client ID, Client Secret, and Version).
Available SDKs
CreatorsAPI offers SDKs for the following languages:
Node.js - For JavaScript/TypeScript applications
Python - For Python applications
PHP - For PHP applications
Java - For Java applications
Node.js SDK
Installation & Setup
Download & extract
Download creatorsapi-nodejs-sdk and extract the archive file
Navigate to the extracted directory
Install dependencies
Run
npm installto install all required dependenciesRun
npm run buildto build the SDK
Configure credentials
Open the project in any editor of your preference
Navigate to the examples directory
Add your Credential ID, Credential Secret and Version in the sample files
Add your marketplace to which you want to send the request (e.g., "www.amazon.com" for US marketplace)
Add valid Partner Tag for the requested marketplace in applicable sample code snippet files
Run sample code
Execute samples like
node sampleGetItems.jsto get item detailsTry
node sampleSearchItems.jsto search for items
Example Files
sampleGetItems.js- Retrieve item information by ASINsampleSearchItems.js- Search for items using keywords
Python SDK
Installation & Setup
Download & extract
Download creatorsapi-python-sdk and extract the archive file
Navigate to the extracted directory
Install dependencies
Install dependencies using
pip3 install -r requirements.txt
Configure credentials
Open the project in any editor of your preference
Navigate to the examples directory
Add your Credential ID, Credential Secret and Version in the sample files
Add your marketplace to which you want to send the request (e.g., "www.amazon.com" for US marketplace)
Add valid Partner Tag for the requested marketplace in applicable sample code snippet files
Run sample code
Execute samples like
python3 sample_get_items.pyto get item detailsTry
python3 sample_search_items.pyto search for items
Example Files
sample_get_items.py- Retrieve item information by ASINsample_search_items.py- Search for items using keywords
PHP SDK
Installation & Setup
Download & extract
Download creatorsapi-php-sdk and extract the archive file
Navigate to the extracted directory
Install dependencies
Install dependencies using
composer install
Configure credentials
Open the PHP project in any editor of your preference
Navigate to the examples directory
Add your Credential ID, Credential Secret and Version in sample code snippet files
Add your marketplace to which you want to send the request (e.g., "www.amazon.com" for US marketplace)
Add valid Partner Tag for the requested marketplace in applicable sample code snippet files
Run sample code
Execute samples like
php SampleGetItems.phpto get item detailsTry
php SampleSearchItems.phpto search for items
Example Files
SampleGetItems.php- Retrieve item information by ASINSampleSearchItems.php- Search for items using keywords
Java SDK
Installation & Setup
Download & extract
Download creatorsapi-java-sdk and extract the archive file
Navigate to the extracted directory
Configure credentials
Open the project in any editor of your preference
Add all jars present in dependencies folder to the build path
Navigate to the examples directory
Add your Credential ID, Credential Secret and Version in sample code snippet files
Add your marketplace to which you want to send the request (e.g., "www.amazon.com" for US marketplace)
Add valid Partner Tag for the requested marketplace in applicable sample code snippet files
Run sample code
Execute samples like
SampleGetItems.javato get item detailsTry
SampleSearchItems.javato search for items
Example Files
SampleGetItems.java- Retrieve item information by ASINSampleSearchItems.java- Search for items using keywords
Best Practices
Token Management: The SDK automatically handles access token caching and renewal. Tokens are cached until they expire (1 hour by default)
Error Handling: Always implement proper error handling in your application code when making API calls
Rate Limiting: Be mindful of API rate limits. Implement appropriate throttling in your application
Security: Never commit your credentials (Credential ID, Credential Secret) to version control or expose them in client-side code
SDK Changelog
| Version | Release Date | Changes |
|---|---|---|
| 1.2.0 | February 22, 2026 | • Added support for v3 credentials |
| 1.1.3 | February 3, 2026 | • Fixed Price in GetVariations operation • General bug fixes and improvements |
| 1.1.2 | January 12, 2026 | • Fixed SortBy parameter functionality in SearchItems operation • General bug fixes and improvements |
| 1.1.0 | January 9, 2026 | • Added support for Reporting API (S3 Report generation and management) |
| 1.0.0 | December 15, 2025 | • Initial release of CreatorsAPI SDKs • Support for Products API operations (GetItems, SearchItems, GetBrowseNodes, GetVariations) • Automatic authentication and token management • Token caching with automatic renewal |
