An Amazon product API that uses the Product advertising API to provide the latest non-cached data about an ASIN.
This API was used at CloudSolve with several high rate limit Amazon associate accounts to provide clients with fast, high volume Amazon monitoring.
- Multiple PA API account details can be used in
credentials.json
- API usage can be tracked and secured with API keys
- The worker queue architecture assigns requests optimally across accounts to avoid rate limits and reduce response times
Amazon associates can get access to the PA API here. Please note that you need a fairly extensive history as an associate to get reasonable rate limit allowances.
Fill in your PA API credentials in the json array in credentials.json
.
Each account's rate limit can be calculated here and inserted in the requestsPerSecond
property so the job queue best assigns incoming requests. Multiple high rate limit credentials are recommended for a good quality monitor.
- Install Golang
- Complete
credentials.json
with your PA API details - Enter your MongoDB connection string in
mongo.js
to track API usage - Navigate to the source directory
- Execute
go mod download
to install the required packages - Specify the desired port in the process
PORT
environment variable. By default, the API will be available at port8080
- Execute
go run main.go
to start the service
Endpoint documentation can be seen at localhost:PORT/documentation.html