Amazon Pricing

Web Scraping API Amazon Pricing Target

The amazon_pricing target is built to obtain Amazon product offer listings.

📘

Useful Links


Input Parameters

Request parameters available for Amazon Pricing target:

Parameter

Type

Required

Description

target

string

Target type must be set to amazon_pricing.

query

string

A 10-character Amazon Product ASIN code.

headless

string

html value enables JavaScript rendering. Read more. png value enables screenshot response. Read more.

parse

boolean

Automatically parses results when set to true. Default value is false.

geo

string

Set the delivery location to use when submitting the query. Read more.

domain

string

Specify top-level domain. Read more.

locale

string

Set the value to change your Amazon web page interface language. Read more.

device_type

string

Specify device type and browser. Read more.

page_from

string

Customize the starting page number. Default value is 1.

xhr

boolean

Set to true to retrieve a list of XHR and fetch requests.Read more. Default value is false.

markdown

boolean

Set to true to receive a Markdown response. Read more.
Default value is false.

Request Examples

curl --request 'POST' \
        --url 'https://scraper-api.decodo.com/v2/scrape' \
        --header 'Accept: application/json' \
        --header 'Authorization: Basic TOKEN VALUE' \ // update with your authorization token
        --header 'Content-Type: application/json' \
        --data '
    {
      "target": "amazon_pricing",
      "query": "B0BS1QCFHX",
      "page_from": "1",
      "parse": true
    }
'

const scrape = async() => {
  const response = await fetch("https://scraper-api.decodo.com/v2/scrape", {
    method: "POST",
    body: JSON.stringify({
      "target": "amazon_pricing",
      "query": "B0BS1QCFHX",
      "page_from": "1",
      "parse": true
    }),
    headers: {
      "Content-Type": "application/json",
      "Authorization": "Basic TOKEN VALUE" // update with your authorization token
    },
  }).catch(error => console.log(error));

  console.log(await response.json())
}

scrape()
import requests
  
url = "https://scraper-api.decodo.com/v2/scrape"
  
payload = {
      "target": "amazon_pricing",
      "query": "B0BS1QCFHX",
      "page_from": "1",
      "parse": True
}
  
headers = {
    "accept": "application/json",
    "content-type": "application/json",
    "authorization": "Basic TOKEN VALUE" # update with your authorization token
}
  
response = requests.post(url, json=payload, headers=headers)
  
print(response.text)

Output

Descriptions for fields in the parsed JSON results section are provided in the table below. Keep in mind that the amount of fields can vary according to the provided search query.

Results keyDescription
urlURL to the Amazon Product page.
asinAmazon's unique identifier for products, known as the Amazon Standard Identification Number.
pageThe page number.
titleThe product's title.
pricingAn array of pricing information.
asin_in_urlAmazon Standard Identification Number (ASIN) from the product URL.
review_countThe total number of reviews for the product.
Response Example
{
    "results": {
        "url": "https://www.amazon.com/gp/product/ajax/aodAjaxMain/ref=dp_aod_unknown_mbc?asin=B0BS1QCFHX&pageno=1&language=en_US",
        "asin": "B0BS1QCFHX",
        "page": 1,
        "title": "Sony WH-CH720N Noise Canceling Wireless Headphones Bluetooth Over The Ear Headset with Microphone and Alexa Built-in, Black New",
        "pricing": [
            {
                "price": 98,
                "seller": "Adorama",
                "currency": "USD",
                "delivery": "Ships from Adorama",
                "condition": "New",
                "seller_id": "A17MC6HOH9AVE6",
                "seller_link": "/gp/aag/main?ie=UTF8&seller=A17MC6HOH9AVE6&isAmazonFulfilled=0&asin=B0BS1QCFHX&ref_=olp_merch_name_0",
                "rating_count": 581574,
                "price_shipping": 0,
                "delivery_options": [
                    {
                        "date": {
                            "by": "Tomorrow, November 20"
                        },
                        "type": "FREE delivery"
                    }
                ],
                "price_with_prime": 90
            },
            {
                "price": 74.14,
                "seller": "Amazon Resale",
                "currency": "USD",
                "delivery": "Ships from Amazon.com",
                "condition": "Used - Good",
                "seller_id": "",
                "seller_link": "https://www.amazon.com/Warehouse-Deals/b?ie=UTF8&node=10158976011",
                "rating_count": 0,
                "price_shipping": 0,
                "delivery_options": [
                    {
                        "date": {
                            "by": "Monday, November 24"
                        },
                        "type": "FREE delivery"
                    },
                    {
                        "date": {
                            "by": "Friday, November 21"
                        },
                        "type": "Prime members FREE delivery"
                    }
                ]
            },
            {
                "price": 75,
                "seller": "Beach Camera Same Day Shipping",
                "currency": "USD",
                "delivery": "Ships from Beach Camera Same Day Shipping",
                "condition": "Used - Like New",
                "seller_id": "A13BNE3P7C8THK",
                "seller_link": "/gp/aag/main?ie=UTF8&seller=A13BNE3P7C8THK&isAmazonFulfilled=0&asin=B0BS1QCFHX&ref_=olp_merch_name_2",
                "rating_count": 356045,
                "price_shipping": 0,
                "delivery_options": [
                    {
                        "date": {
                            "by": "Friday, November 21"
                        },
                        "type": "FREE delivery"
                    }
                ]
            },
            {
                "price": 89.99,
                "seller": "MeimeiGo",
                "currency": "USD",
                "delivery": "Ships from MeimeiGo",
                "condition": "Used - Like New",
                "seller_id": "A24H8QAZNNLWWM",
                "seller_link": "/gp/aag/main?ie=UTF8&seller=A24H8QAZNNLWWM&isAmazonFulfilled=0&asin=B0BS1QCFHX&ref_=olp_merch_name_3",
                "rating_count": 261,
                "price_shipping": 0,
                "delivery_options": [
                    {
                        "date": {
                            "by": "Wednesday, November 26"
                        },
                        "type": "FREE delivery"
                    },
                    {
                        "date": {
                            "by": "Tomorrow, November 20"
                        },
                        "type": "fastest delivery"
                    }
                ]
            },
            {
                "price": 95,
                "seller": "JZXN Tech",
                "currency": "USD",
                "delivery": "Ships from JZXN Tech",
                "condition": "Used - Like New",
                "seller_id": "A3JWQJ9F8N82T1",
                "seller_link": "/gp/aag/main?ie=UTF8&seller=A3JWQJ9F8N82T1&isAmazonFulfilled=0&asin=B0BS1QCFHX&ref_=olp_merch_name_4",
                "rating_count": 53,
                "price_shipping": 0,
                "delivery_options": [
                    {
                        "date": {
                            "by": "November 24 - 26"
                        },
                        "type": "FREE delivery"
                    },
                    {
                        "date": {
                            "by": "Friday, November 21"
                        },
                        "type": "fastest delivery"
                    }
                ]
            },
            {
                "price": 95,
                "seller": "NewConcept1",
                "currency": "USD",
                "delivery": "Ships from NewConcept1",
                "condition": "Used - Like New",
                "seller_id": "AGHAKUO0VEBNZ",
                "seller_link": "/gp/aag/main?ie=UTF8&seller=AGHAKUO0VEBNZ&isAmazonFulfilled=0&asin=B0BS1QCFHX&ref_=olp_merch_name_5",
                "rating_count": 8,
                "price_shipping": 0,
                "delivery_options": [
                    {
                        "date": {
                            "by": "Friday, November 28"
                        },
                        "type": "FREE delivery"
                    },
                    {
                        "date": {
                            "by": "Friday, November 21"
                        },
                        "type": "fastest delivery"
                    }
                ]
            },
            {
                "price": 95.23,
                "seller": "NAMA Technology LLC",
                "currency": "USD",
                "delivery": "Ships from NAMA Technology LLC",
                "condition": "Used - Like New",
                "seller_id": "AQH6BLIXB790D",
                "seller_link": "/gp/aag/main?ie=UTF8&seller=AQH6BLIXB790D&isAmazonFulfilled=0&asin=B0BS1QCFHX&ref_=olp_merch_name_6",
                "rating_count": 41,
                "price_shipping": 0,
                "delivery_options": [
                    {
                        "date": {
                            "by": "November 24 - 26"
                        },
                        "type": "FREE delivery"
                    },
                    {
                        "date": {
                            "by": "November 20 - 24"
                        },
                        "type": "fastest delivery"
                    }
                ]
            },
            {
                "price": 95.23,
                "seller": "True Mart LLC",
                "currency": "USD",
                "delivery": "Ships from True Mart LLC",
                "condition": "Used - Like New",
                "seller_id": "A38NQ511PUC45R",
                "seller_link": "/gp/aag/main?ie=UTF8&seller=A38NQ511PUC45R&isAmazonFulfilled=0&asin=B0BS1QCFHX&ref_=olp_merch_name_7",
                "rating_count": 322,
                "price_shipping": 0,
                "delivery_options": [
                    {
                        "date": {
                            "by": "November 25 - 28"
                        },
                        "type": "FREE delivery"
                    },
                    {
                        "date": {
                            "by": "November 21 - 25"
                        },
                        "type": "fastest delivery"
                    }
                ]
            },
            {
                "price": 95.23,
                "seller": "Blue Sky Distribution",
                "currency": "USD",
                "delivery": "Ships from Blue Sky Distribution",
                "condition": "Used - Like New",
                "seller_id": "A3157HR2I6E5II",
                "seller_link": "/gp/aag/main?ie=UTF8&seller=A3157HR2I6E5II&isAmazonFulfilled=0&asin=B0BS1QCFHX&ref_=olp_merch_name_8",
                "rating_count": 81,
                "price_shipping": 0,
                "delivery_options": [
                    {
                        "date": {
                            "by": "November 25 - 28"
                        },
                        "type": "FREE delivery"
                    },
                    {
                        "date": {
                            "by": "November 24 - 25"
                        },
                        "type": "fastest delivery"
                    }
                ]
            },
            {
                "price": 95.23,
                "seller": "SmartShopper LLC",
                "currency": "USD",
                "delivery": "Ships from SmartShopper LLC",
                "condition": "Used - Like New",
                "seller_id": "AJ98EZ5BUNORU",
                "seller_link": "/gp/aag/main?ie=UTF8&seller=AJ98EZ5BUNORU&isAmazonFulfilled=0&asin=B0BS1QCFHX&ref_=olp_merch_name_9",
                "rating_count": 113,
                "price_shipping": 0,
                "delivery_options": [
                    {
                        "date": {
                            "by": "November 25 - 28"
                        },
                        "type": "FREE delivery"
                    },
                    {
                        "date": {
                            "by": "November 21 - 25"
                        },
                        "type": "fastest delivery"
                    }
                ]
            },
            {
                "price": 0,
                "seller": "Video & Audio Center - Same Day Shipping",
                "currency": "USD",
                "delivery": "Ships from Amazon.com",
                "condition": "New",
                "seller_id": "A13ACIRM091OJE",
                "seller_link": "/gp/aag/main?ie=UTF8&seller=A13ACIRM091OJE&isAmazonFulfilled=1&asin=B0BS1QCFHX&ref_=olp_merch_name_10",
                "rating_count": 67096,
                "price_shipping": 0,
                "delivery_options": [
                    {
                        "date": {
                            "by": "Tuesday, November 25"
                        },
                        "type": "FREE delivery"
                    },
                    {
                        "date": {
                            "by": "Saturday, November 22"
                        },
                        "type": "Prime members FREE delivery"
                    }
                ]
            }
        ],
        "_warnings": [
            "Could not parse rating count.",
            "Could not parse pricing price."
        ],
        "asin_in_url": "B0BS1QCFHX",
        "review_count": 12983,
        "parse_status_code": 12000
    },
    "errors": [],
    "status_code": 12000,
    "task_id": "7396912499506832385"
}

Support

Still can't find an answer? Want to say hi? We take pride in our 24/7 customer support. Alternatively, you can reach us via our support email at [email protected].

Feedback

Something's missing? Request an article!
Got feedback? Let us know how we're doing and what can be improved.