Amazon Offers API

This endpoint will retrieve offers for a specified product from an Amazon offers page and transform it into usable JSON.

import fetch from 'node-fetch';
fetch(`https://api.scraperapi.com/structured/amazon/offers?
api_key=API_KEY&asin=ASIN&country=COUNTRY&tld=TLD`)
.then(response => {
console.log(response)
})
.catch(error => {
console.log(error)
})

As you can see in the code abode, you can use several parameters with this method as well:

ParameterDetails

API_KEY

User account’s normal API key.

ASIN

Amazon Standard Identification Number. Please not that ASIN's are market specific (TLD).

TLD

Valid values include:

com (amazon.com)

co.uk (amazon.co.uk)

ca (amazon.ca)

de (amazon.de)

es (amazon.es)

fr (amazon.fr)

it (amazon.it)

jp (amazon.co.jp)

in (amazon.in)

cn (amazon.cn)

sg (amazon.com.sg)

mx (amazon.com.mx)

ae (amazon.ae)

br (amazon.com.br)

nl (amazon.nl)

au (amazon.com.au)

tr (amazon.com.tr)

sa (amazon.sa)

se (amazon.se)

pl (amazon.pl)

COUNTRY

Valid values are two letter country codes for which we offer Geo Targeting (e.g. “au”, “es”, “it”, etc.).

Where an amazon domain needs to be scraped from another country (e.g. scraping amazon.com from Canada to get Canadian shipping information), both TLD and COUNTRY parameters must be specified.

ref

A reference string used by amazon.

For example: olp_f_usedAcceptable aod_f_new

aod_f_rental

aod_f_used (parent)

—> aod_f_usedLikeNew

—> aod_f_usedVeryGood

—> aod_f_usedGood

—> aod_f_usedAcceptable

condition

A text based condition parameter. For example: new

f_new

Boolean parameter with a possible value of true or false indicating the condition of the listed items.

f_used_good

Boolean parameter with a possible value of true or false indicating the condition of the listed items.

f_used_like_new

Boolean parameter with a possible value of true or false indicating the condition of the listed items.

f_used_very_good

Boolean parameter with a possible value of true or false indicating the condition of the listed items.

f_used_acceptable

Boolean parameter with a possible value of true or false indicating the condition of the listed items.

Sample Response

{
	"item": {
		"name": "Razer Blade 15 Gaming Laptop 2019: Intel Core i7-9750H 6 Core, NVIDIA GeForce RTX 2060, 15.6\" FHD 1080p 144Hz, 16GB RAM, 512GB SSD, CNC Aluminum, Chroma RGB Lighting, Thunderbolt 3",
		"subtitle": "",
		"author": "",
		"brand": "Razer",
		"product_information": {
			"brand": "Razer",
			"series": "Blade 15",
			"screen_size": "15.6 Inches",
			"color": "Classic Black",
			"hard_disk_size": "512 GB",
			"cpu_model": "Core i7 Family",
			"ram_memory_installed_size": "16 GB",
			"operating_system": "Windows 10",
			"card_description": "Dedicated",
			"graphics_coprocessor": "NVIDIA GeForce RTX 2060"
		},
		"listings_link": "https://www.amazon.com/gp/aod/ajax/ref=tmm_pap_used_aod_0?filters=%257B%2522all%2522%253Atrue%252C%2522usedLikeNew%2522%253Atrue%252C%2522usedVeryGood%2522%253Atrue%252C%2522usedGood%2522%253Atrue%257D&condition=used&asin=B07R1P4DQG&pc=dp;",
		"image": "",
		"average_rating": 4.4,
		"total_reviews": 697
	},
	"listings": [
		{
			"price_with_currency": "",
			"price": null,
			"shipping_price": null,
			"has_prime_shipping": false,
			"ships_from": "Amazon.com",
			"sold_by": "Amazon.com",
			"fullfilled_by_amazon": false
		}
	],
	"pagination": []
}

Last updated