The Amazon Search API allows users to get search results from Amazon based on the specified query and domain. This API enables searching for products on Amazon.
Get Your API Key
Sign in at hasdata.com , go to your account settings, and copy your API key.
All requests must include your key in the x-api-key header.
Request Cost and API Credits
Each request to the Amazon Search API consumes API Credits from your account balance.
Cost per request: 5 API Credits
Credits are deducted only for successful requests.
Your total available credits depend on your active plan.
You can use your credits across all HasData APIs. The same credit balance is shared platform-wide.
Unused credits do not roll over. Any remaining credits expire at the end of the current billing period.
To monitor your credit usage and remaining balance, sign in to your account dashboard at app.hasdata.com .
Make Your First Request
cURL
Node.js
Python
PHP
Java
C#
Ruby
Rust
Go
curl --request GET -G \
--url 'https://api.hasdata.com/scrape/amazon/search' \
--data-urlencode 'q=Laptop' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <your-api-key>'
API Parameters
Parameter Default Value Required Description qLaptop Yes The search term for which to get the search results. domain- No Amazon domain to use. Default is www.amazon.com . language- No Optional Amazon language code. Supported values depend on the selected domain. page- No Page number for pagination (e.g., 1 for the first page, 2 for the second page, etc.). deliveryZip- No Postal code of the delivery location. shippingLocation- No The two-letter country code to define the country of the delivery address. sortBy- No Parameter used for sorting results