Documentation has been updated: see help center and changelog in one place.

Questions & Answers

The amazon_questions data source is designed to retrieve any particular product's Questions & Answers pages. To see the response example with retrieved data, download this sample output file in HTML format or check structured data output here.

Explore output data dictionary for Questions & Answers, 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.

Request samples

In the code examples below, we make a request to retrieve the Q&A page for ASIN B00004SU18 on amazon.nl marketplace.

curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
        "source": "amazon_questions", 
        "domain": "nl", 
        "query": "B00004SU18",
        "parse": true
    }'

We use synchronous Realtime integration method in our examples. If you would like to use Proxy Endpoint or asynchronous Push-Pull integration, refer to the integration methods section.

Request parameter values

Generic

Basic setup and customization options for scraping Amazon product Q&A pages.

Parameter
Description
Default Value

source

Sets the scraper.

amazon_questions

query

10-symbol ASIN code.

-

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

- mandatory parameter

Localization

Adapt results to specific geographical locations, domains, and languages.

Parameter
Description
Default Value

geo_location

The Deliver to location. See our guide to using this parameter here.

-

domain

Domain localization for Amazon. 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.

-

Structured data

Below you can find a structured output example for amazon_questions.

Amazon_questions structured output

Data dictionary

HTML sample

JSON structure

The amazon_questions data provides detailed information about questions asked and answers provided by users regarding a specific product listed on Amazon. The table below presents a detailed list of each field we parse, along with its description and data type. The table also includes some metadata.

Key
Description
Type

url

The URL of the Questions and Answers page of a selected Amazon product.

string

asin

Amazon Standard Identification Number.

string

page

The current page number.

integer

page_type

The type of the Amazon page.

string

questions

A list of questions with their respective details.

array

asin_in_url

Amazon Standard Identification Number extracted from the URL.

string

questions_total

The total number of questions submitted for the selected Amazon product.

integer

parse_status_code

The status code of the parsing job. You can see the parser status codes described here.

integer

created_at

The timestamp when the scraping job was created.

timestamp

update_at

The timestamp when the scraping job was finished.

timestamp

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

In the following sections, parsed JSON code snippets are shortened where more than one item for the result type is available.

Questions

questions contains multiple questions asked by users about a specific product, along with their respective details such as title and votes. Each question may also include a list of answers provided by users, including the author, content, and timestamp of each answer.

Key (questions)
Description
Type

title

The question submitted in the questions and answers page of the product.

string

votes

The number of votes.

integer

answers

A list of details available about the answer.

array

answers.author

Indication of the user who has submitted the answer.

string

answers.content

The content of the answer.

string

answers.timestamp

Indicates when the answer has been submitted.

timestamp

Last updated

Was this helpful?