Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Every call is GET /request with type naming the data; each endpoint here fixes type.
- Billed in credits: 1 per page retrieved, more for some options; request_info.credits_used and credits_remaining in each answer show the cost.
- Give asin (or gtin) with amazon_domain. The vendor’s url parameter, which takes a raw Amazon page URL, is left out.
- Calls are run against Amazon in real time when made, not served from a stored index.
Endpoints
Get an Amazon product
- asin or gtin is required (one of them), or the call is a 400.
- 1 credit per call; variant_prices, include_safety_product_resources and similar options cost more, as listed per option. A gtin lookup is cached for 2 months.
Search Amazon products
- 1 credit per page fetched (max_page multiplies it); include_products_count, which runs product calls for top results, is left out because each one is another credit.
Get an Amazon product’s offers
- asin or gtin is required (one of them), or the call is a 400.
- 1 credit per page fetched.
Get an Amazon bestsellers list
- 1 credit per page fetched.
Get Amazon search suggestions
- 1 credit per call.