HELP CENTER

How to get prices for specific products with Amazon API?

In the DataForSEO API, you can get the list of sellers along with related prices of a specific product on Amazon using the Amazon Sellers endpoint. It will also supply you with relevant product conditions, shipment, and rating details for each seller.

Note: before setting a task to Amazon Sellers you need to obtain the ASIN value. You can receive this value by making a separate request to the Amazon Products endpoint.

Learn more about ASINs in DataForSEO Amazon API >>

Once you have the ASIN of the product you are interested in, you can set a task to the following endpoint:

POST: https://api.dataforseo.com/v3/merchant/amazon/sellers/task_post

The body of your POST request should be structured as in the example below:

[      
    {
        "language_code": "en",
        "location_code": 2840,
        "asin": "B085RFFC9Q"
    }
]

After the task is set, use the ID of the task (e.g. "id": "04171157-0696-0183-0000-4f63affdd40a") to retrieve the results in JSON by the GET endpoint:

GET: https://api.dataforseo.com/v3/merchant/amazon/sellers/task_get/advanced/$id

The response from our API will contain the following data for each seller offering the product on the Amazon marketplace:

{
  "type": "amazon_seller_item",
  "rank_group": 1,
  "rank_absolute": 2,
  "position": "left",
  "xpath": "/span[1]/span[1]/span[1]/div[1]/div[1]/div[4]/div[1]",
  "seller_name": "Goodwill of Silicon Valley",
  "seller_url": "http://amazon.com/gp/aag/main?ie=UTF8&seller=A2E0CHYEXDW1VC&isAmazonFulfilled=0&asin=0008454299&ref_=olp_merch_name_1",
  "ships_from": "Goodwill of Silicon Valley",
  "price": {
    "current": 16.84,
    "regular": null,
    "max_value": null,
    "currency": "USD",
    "is_price_range": false,
    "displayed_price": "$16.84"
  },
  "rating": {
    "type": "rating_element",
    "position": "left",
    "rating_type": "Max5",
    "value": "5",
    "votes_count": null,
    "rating_max": "5"
  },
  "condition": null,
  "condition_description": "The cover and pages are in good condition! Any other included accessories are also in good condition showing some minor use. Supports Goodwill job training programs.",
  "delivery_info": {
    "free_delivery_date_from": "2021-07-23T00:00:00+00:00",
    "free_delivery_date_to": "2021-07-28T00:00:00+00:00",
    "fastest_delivery_date_from": null,
    "fastest_delivery_date_to": null
  }
}

If you would like to collect the results in the HTML format, use the Amazon Sellers HTML endpoint.

Embed DataForSeo widget on your website


Embed code:
Preview: