Question Answers
GET /request
The Question Answers Parameters are applicable when making a request with type=question_answers to retrieve all answers for a single question on Amazon - the question is specified using either the question_id and amazon_domain parameters or the url parameter (where the url parameter contains a link to a question answers page). The parameters should be appended as querystring parameters to the Product Data API GET HTTP request.
Question Answers are retrieved from the customer question answers page for a single question on Amazon.
Question IDs Rainforest API returns question_id 's from type=questions requests in the id parameter. See the questions parameters for further information.
For example, to request all answers on page=1 for a question with Question ID Tx2YPKCGKAORFA4 on amazon.com the request would be:
The following parameters are available for all requests made when type=question_answers .
Parameter | Required | Description |
---|---|---|
amazon_domain | optional | The Amazon domain to retrieve answers for the question specified in the question_id parameter from. For a full list of supported Amazon domains see Supported Amazon Domains . Note : If the amazon_domain and question_id parameters are supplied then the url parameter is ignored. |
question_id | optional | The ID of the question to retrieve answers for. Rainforest API returns question_id 's from type=questions requests in the id parameter. See the questions parameters for further information. |
url | optional | The Amazon product-page URL to retrieve Question Answers from. Note : If the url parameter is supplied then the amazon_domain and question_id parameters are ignored. |
page | optional | The current page of answers to retrieve. Inspect the pagination.total_pages property in the Question Answers results to see how many pages of answers are available. |
max_page | optional | Use the max_page parameter to get multiple pages of results in one request. The API will automatically paginate through pages and concatenate the results into one response. See the Pagination docs for more information. |
Next Steps Question Answers Results