Last updated
Was this helpful?
Last updated
Was this helpful?
The amazon_search
source is designed to retrieve Amazon search result pages. To see the response example with retrieved data, download file in HTML format or check structured data output .
Explore output for each Amazon Search feature, offering a brief description, screenshot, parsed JSON code snippet, and a table defining each parsed field. Navigate through the details using the right-side navigation or scrolling down the page.
In the code examples below, we make a request to retrieve a result from amazon.nl
, which includes 2
search results pages, starting from page #2
, for the search term nirvana tshirt
. Additionally, the search is be limited to category ID: 16391693031
.
Basic setup and customization options for scraping Amazon search results.
- mandatory parameter
Adapt results to specific geographical locations, domains, languages.
Controls for managing the pagination and retrieval of search results.
Additional advanced settings and controls for specialized requirements.
API returns a HTML or JSON object that contains the search results retrieved from the Amazon.
All search results are contained within the results
JSON array. Each search result includes a combination of paid
, organic
, suggested
, amazons_choices
,instant_recommendations
listings. Additionally, variations may be present, and they are captured within the variations
key, providing details about different types or categories of products, such as various models, editions, or versions.
In the following sections, parsed JSON code snippets are shortened where more than one item for the result type is available.
The paid
section of the search results refers to inline ad content that is displayed within the Amazon search results.
The organic
section of the search results refers to non-sponsored content that appears naturally based on Amazon's search algorithm.
The suggested
section in the search results typically contains product listings recommended by the platform based on the user's search query, browsing history, or purchase behavior.
The amazons_choices
section features products with 'Amazon's Choice' badge and are recommended by the platform for their perceived quality and value.
The instant_recommendations
section may include products that are suggested to users based on their current search or viewing activity in real-time.
The variations
section lists different versions or models of a product, providing a detailed overview of available options in the specified category.
We use synchronous integration method in our examples. If you would like to use or asynchronous integration, refer to the section.
IMPORTANT: On most page types, Amazon tailors the returned results based on the delivery location of their customers. Therefore, we advise using the geo_location
parameter to set your preferred delivery location. You can read more about using geo_location
with Amazon .
source
Sets the scraper.
amazon_search
query
UTF-encoded keyword.
-
render
Enables JavaScript rendering when set to html
. More info.
-
parse
Returns parsed data when set to true
. Explore output data dictionary.
false
callback_url
URL to your callback endpoint. More info.
-
user_agent_type
Device type and browser. The full list can be found here.
desktop
geo_location
The Deliver to location. See our guide to using this parameter here.
-
domain
Domain localization for Bestbuy. The full list of available domains can be found here.
com
locale
Accept-Language
header value, which sets the interface language of the Amazon page. More info.
-
start_page
Starting page number.
1
pages
Number of pages to retrieve.
1
context
:
category_id
Search for items in a particular browse node (product category).
-
context
:
merchant_id
Search for items sold by a particular seller.
-
context
:
currency
Sets the currency. Check the available values here.
Depends on the marketplace. Check the default values here.
url
The URL of the Amazon search page.
string
page
The current page number.
integer
pages
The total number of pages.
integer
query
The search query used.
string
results
A dictionary containing the results of the search.
object
results.paid
A list of sponsored products with their respective details.
array
results.organic
A list of organic products with their respective details.
array
results.suggested
A list of suggested products with their respective details.
array
results.amazons_choices
A list of Amazon's choices with their respective details.
array
results.instant_recommendations
A list of instant recommendations with their respective details.
array
parse_status_code
The status code of the parsing job. You can see the parser status codes described here.
integer
total_results_count
The total number of results found for the search query.
integer
created_at
The timestamp when the scraping job was created.
string
updated_at
The timestamp when the scraping job was finished.
string
job_id
The ID of the job associated with the scraping job.
string
status_code
The status code of the scraping job. You can see the scraper status codes described here.
integer
parser_type
The type of parser used for parsing the data.
string
url
The URL of the product.
string
asin
Amazon Standard Identification Number.
string
price
The price of the product.
float
title
The title of the product.
string
rating
The rating of the product.
float
rel_pos
The relative position of the product in the search results.
(either pos
or rel_pos
is present)
integer
pos
A unique indicator denoting the position in the listing. (either pos
or rel_pos
is present)
integer
currency
The currency in which the price is denominated.
string
url_image
The URL of the product image.
string
best_seller
Indicates whether the product is a best seller.
boolean
price_upper
The upper limit of the price if applicable.
float
is_sponsored
Indicates whether the product is sponsored.
boolean
manufacturer
The name of the manufacturer of the product.
string
pricing_count
The count of offers for the product.
integer
reviews_count
The count of reviews for the product.
integer
is_amazons_choice
Indicates whether the product is marked as “Amazon's choice”.
boolean
no_price_reason
Indicator why the price is not present, if it’s equal to 0.0
string (optional)
sales_volume
The sales volume or number of units sold for a particular product.
string (optional)
is_prime
Indicates whether the product is eligible for Amazon Prime.
boolean
shipping_information
Information about the shipping details for the produc
string
pos
A unique indicator denoting the position in the listing.
integer
url
The URL of the product.
string
asin
Amazon Standard Identification Number.
string
price
The price of the product.
float
title
The title of the product.
string
rating
The rating of the product.
float
currency
The currency in which the price is denominated.
string
url_image
The URL of the product image.
string
best_seller
Indicates whether the product is a best seller.
boolean
price_upper
The upper limit of the price if applicable.
float
is_sponsored
Indicates whether the product is sponsored.
boolean
manufacturer
The name of the manufacturer of the product.
string
pricing_count
The count of pricings for the product.
integer
reviews_count
The count of reviews for the product.
integer
is_amazons_choice
Indicates whether the product is Amazon's choice.
boolean
no_price_reason
Indicator why the price is not present, if it’s equal to 0.0
string(optional)
is_prime
Indicates whether the product is eligible for Amazon Prime.
boolean
sales_volume
The sales volume or number of units sold for a particular product.
string(optional)
variations
List of different versions or models of a product
Array
url
The URL of the product.
string
asin
Amazon Standard Identification Number.
string
price
The price of the product.
float
title
The title of the product.
string
rating
The rating of the product.
float
currency
The currency in which the price is denominated.
string
url_image
The URL of the product image.
string
best_seller
Indicates whether the product is a best seller.
boolean
price_upper
The upper limit of the price if applicable.
float
is_sponsored
Indicates whether the product is sponsored.
boolean
manufacturer
The name of the manufacturer of the product.
string
pricing_count
The count of pricing for the product.
integer
reviews_count
The count of reviews for the product.
integer
is_amazons_choice
Indicates whether the product is Amazon's choice.
boolean
pos
A unique indicator denoting the position in the listing.
integer
is_prime
Indicates whether the product is eligible for Amazon Prime.
boolean
shipping_information
Information about the shipping details for the product.
string
sales_volume
The sales volume or number of units sold for a particular product.
string(optional)
no_price_reason
Indicator why the price is not present, if it’s equal to 0.0
string(optional)
suggested_query
The suggested query provided by Amazon as part of the search results.
string
url
The URL of the product.
string
asin
Amazon Standard Identification Number.
string
price
The price of the product.
float
title
The title of the product.
string
rating
The rating of the product.
float
currency
The currency in which the price is denominated.
string
url_image
The URL of the product image.
string
best_seller
Indicates whether the product is a best seller.
boolean
price_upper
The upper limit of the price if applicable.
float
is_sponsored
Indicates whether the product is sponsored.
boolean
manufacturer
The name of the manufacturer of the product.
string
pricing_count
The count of pricing for the product.
integer
reviews_count
The count of reviews for the product.
integer
is_amazons_choice
Indicates whether the product is Amazon's choice.
boolean
pos
A unique indicator denoting the position in the listing.
integer
is_prime
Indicates whether the product is eligible for Amazon Prime.
boolean
shipping_information
Information about the shipping details for the product.
string
sales_volume
The sales volume or number of units sold for a particular product.
string(optional)
no_price_reason
Indicator why the price is not present, if it’s equal to 0.0
string(optional)
variations
List of different versions or models of a product
Array
url
The URL of the product.
string
asin
Amazon Standard Identification Number.
string
price
The price of the product.
float
title
The title of the product.
string
rating
The rating of the product.
float
currency
The currency in which the price is denominated.
string
url_image
The URL of the product image.
string
best_seller
Indicates whether the product is a best seller.
boolean
price_upper
The upper limit of the price if applicable.
float
is_sponsored
Indicates whether the product is sponsored.
boolean
manufacturer
The name of the manufacturer of the product.
string
pricing_count
The count of pricings for the product.
integer
reviews_count
The count of reviews for the product.
integer
is_amazons_choice
Indicates whether the product is Amazon's choice.
boolean
pos
A unique indicator denoting the position in the listing.
integer
sales_volume
The sales volume or number of units sold for a particular product.
string(optional)
no_price_reason
Indicator why the price is not present, if it’s equal to 0.0
string(optional)
asin
Amazon Standard Identification Number
string
title
Title of the variation
string
price
Price of the variation
float
price_strikethrough
The original price before any discounts or promotions
float
not_available
Indicates if the variation is currently unavailable
boolean