Skip to main content

Amazon Parser

Using the ScrapeOps Parser API you can scrape Amazon Pages without having to maintain your own product parsers.

Simply send the HTML of the Amazon Pages to the Parser API endpoint, and receive the data in structured JSON format.

Amazon Parser API Endpoint:


"https://parser.scrapeops.io/v2/amazon"

The Amazon Parser supports the following page types:


Authorisation - API Key

To use the ScrapeOps Parser API, you first need an API key which you can get by signing up for a free account here.

Your API key must be included with every request using the api_key query parameter otherwise the API will return a 403 Forbidden Access status code.


ScrapeOps Parser API - Amazon Product Page

Amazon Product Page Parser

To use the Parser API without the ScrapeOps Proxy Aggregator, you first need to retrieve the HTML of the page you want to extract the data from.

For example, here we retrieve the HTML from the following Amazon Product Page with a very simple GET request:


import requests

response = requests.get('https://www.amazon.com/dp/B08WM3LMJF')

if response.status_code == 200:
html = response.text
print(html)

Next, we send this HTML to the ScrapeOps Parser API for data extraction using a POST request:


import requests

response = requests.get('https://www.amazon.com/dp/B08WM3LMJF')

if response.status_code == 200:
html = response.text

data = {
'url': 'https://www.amazon.com/dp/B08WM3LMJF',
'html': html,
}

response = requests.post(
url='https://parser.scrapeops.io/v2/amazon',
params={'api_key': 'YOUR_API_KEY'},
json=data
)

print(response.json())

The API will return a JSON response with the following data (status, data, url):


{
"data": {
"brand": "Visit the JBL Store",
"description": "JBL TUNE 510BT Wireless on-ear headphones The JBL Tune 510BT headphones let you stream powerful JBL Pure Bass sound with no strings attached. Easy to use, with up to 40 hours of battery life and speed charge, they are super lightweight and comfortable. Grab them and fill your day with music! JBL Pure Bass Sound Wireless Bluetooth 5.0 Up to 40 hours battery life with speed charge Microphone on ear cup for hands-free calls Ask Siri or Hey Google For over 70 years, JBL has engineered the most precise, impressive sound found in big venues around the world. Harman's mission and vision is to make life more connected, entertaining, personalized and productive. The company combines passion and purpose to design smart products systems, software and services to connect people wherever they are.",
"features": [
"NOTE: If headset is too tight we suggest placing them over a ball or something of similar size/shape. Leave undisturbed for at least 24 hours. Repeat if necessary. Please also try length adjustments of either earpiece until both sides best fit you.",
"JBL PURE BASS SOUND: These wirelss headpones feature the renowned JBL Pure Bass sound, which can be found in the most famous venues all around the world.",
...
],
"images": [
"./product_page_files/61kFL7ywsZS._AC_SX466_.jpg",
"./product_page_files/31SNd2tQupS._AC_US40_.jpg",
...
],
"product_information": {
"ASIN": "B08WM3LMJF",
"Age Range (Description)": "Adult",
"Audio Driver Type": "Dynamic Driver",
"Batteries": "1 Lithium Polymer batteries required.",
"Battery Life": "40 Hour",
"Best Sellers Rank": "#20 in Electronics (See Top 100 in Electronics) #1 in On-Ear Headphones",
"Bluetooth Range": "10 Meters",
"Bluetooth Version": "5",
"Cable Feature": "Without Cable",
"Carrying Case Material": "ABS",
"Charging Time": "2 Hour",
"Compatible Devices": "Smart TV, Tablet, Smart Phones, Laptop,",
"Connectivity Technology": "Bluetooth 5.0",
"Control Method": "Touch, Voice",
"Control Type": "Voice Control",
"Customer Reviews": "4.5 out of 5 stars",
"Date First Available": "February 15, 2021",
"Earpiece Shape": "On-ear",
"Frequency Range": "20 Hz – 20 kHz",
"Frequency Response": "20 KHz",
"Included Components": "Tune 510BT headphones, USB-C charging cable, warranty/warning card and quick start guide",
"Is Autographed": "No",
"Is Discontinued By Manufacturer": "No",
"Item Weight": "5.6 ounces",
"Item model number": "JBLT510BTBLKAM",
"Manufacturer": "JBL",
"Material": "Acrylonitrile Butadiene Styrene (ABS)",
"Model Name": "Tune 510BT",
"Noise Control": "Active Noise Cancellation",
"Number of Items": "1",
"Number of Power Levels": "1",
"Product Dimensions": "8.07 x 1.89 x 8.78 inches",
"Series Number": "510",
"Specific Uses For Product": "Personal",
"Style": "headphones",
"UPC": "050036382410 050036380614",
"Unit Count": "1.0 Count",
"Water Resistance Level": "Not Water Resistant",
"Wireless Communication Technology": "Bluetooth"
},
"rating": 4.5,
"review_count": 74701,
"technical_details": {},
"title": "JBL Tune 510BT - Bluetooth headphones with up to 40 hours battery, microphone for call, foldable and comfortable, Android and iOs compatible (Black)"
},
"status": "valid",
"url": "https://www.amazon.com/dp/B08WM3LMJF"
}

A full example JSON response can be found here.


ScrapeOps Parser API - Amazon Search Page

Amazon Search Page Parser

To use the Parser API without the ScrapeOps Proxy Aggregator, you first need to retrieve the HTML of the page you want to extract the data from.

For example, here we retrieve the HTML from the following Amazon Search Page with a very simple GET request:


import requests

response = requests.get('https://www.amazon.com/s?k=headphones')

if response.status_code == 200:
html = response.text
print(html)

Next, we send this HTML to the ScrapeOps Parser API for data extraction using a POST request:


import requests

response = requests.get('https://www.amazon.com/s?k=headphones')

if response.status_code == 200:
html = response.text

data = {
'url': 'https://www.amazon.com/s?k=headphones',
'html': html,
}

response = requests.post(
url='https://parser.scrapeops.io/v2/amazon',
params={'api_key': 'YOUR_API_KEY'},
json=data
)

print(response.json())

The API will return a JSON response with the following data (status, data, url):


{
"data": {
"products": [
{
"asin": "B0D1VN2VB7",
"image_url": "./search_page_files/51K8eJaYsKL._AC_UY218_.jpg",
"original_price": 149.99,
"price": 111.63,
"rating": 4.4,
"review_count": 864,
"shipping": "Delivery",
"title": "Marshall Major V On-Ear Bluetooth Headphone, Black",
"url": "https://www.amazon.com/sspa/click?ie=UTF8&spc=MToxOTg2ODA3MzQxNjE4MzYyOjE3NDUzMDUwNDY6c3BfYXRmOjMwMDcyNTM0NjA5NzcwMjo6MDo6&url=%2FMarshall-Major-Bluetooth-Headphone-Black%2Fdp%2FB0D1VN2VB7%2Fref%3Dsr_1_1_sspa%3Fdib%3DeyJ2IjoiMSJ9.k9JWCEN5R4K9gPt8Ce6djRguhyQo6RbOLUQuB3wZyNUnWgxqR6gQe7IjRzcGCyVFAOTPUO7-aglYqIRtYxuKlT8aSJWqT5X2D9vHccj2DC2k7X-EjSQa4CcDQUAMhLsEinUeKsku_59dIbcgGLfHthmhnVlM1AF5Q0FLqSYbF-j74tfKmdL8MsqxHcideSiaXjiO4SyarSgDa69343iy2BLPbCH735oo-6H1kB3laIc.RztHQpZ0jAbdEdhujstrHExSXOC6oxp21KrEoEkkyhA%26dib_tag%3Dse%26keywords%3Dheadphones%26qid%3D1745305046%26sr%3D8-1-spons%26sp_csd%3Dd2lkZ2V0TmFtZT1zcF9hdGY%26psc%3D1"
},
{
"asin": "B09FLNSYDZ",
"image_url": "./search_page_files/71GPFE2yHGL._AC_UY218_.jpg",
"original_price": 49.99,
"price": 39.99,
"rating": 4.3,
"review_count": 56443,
"shipping": "Delivery",
"title": "bmani Wireless Earbuds Bluetooth Headphones 48hrs Play Back Sport Earphones with LED Display Over-Ear Buds with Earhooks Built-in Mic Headset for Workout Black",
"url": "https://www.amazon.com/sspa/click?ie=UTF8&spc=MToxOTg2ODA3MzQxNjE4MzYyOjE3NDUzMDUwNDY6c3BfYXRmOjMwMDU5ODE5MTI1NzMwMjo6MDo6&url=%2FWireless-Bluetooth-Headphones-Earphones-BMANI-VEAT00L%2Fdp%2FB09FLNSYDZ%2Fref%3Dsr_1_2_sspa%3Fdib%3DeyJ2IjoiMSJ9.k9JWCEN5R4K9gPt8Ce6djRguhyQo6RbOLUQuB3wZyNUnWgxqR6gQe7IjRzcGCyVFAOTPUO7-aglYqIRtYxuKlT8aSJWqT5X2D9vHccj2DC2k7X-EjSQa4CcDQUAMhLsEinUeKsku_59dIbcgGLfHthmhnVlM1AF5Q0FLqSYbF-j74tfKmdL8MsqxHcideSiaXjiO4SyarSgDa69343iy2BLPbCH735oo-6H1kB3laIc.RztHQpZ0jAbdEdhujstrHExSXOC6oxp21KrEoEkkyhA%26dib_tag%3Dse%26keywords%3Dheadphones%26qid%3D1745305046%26sr%3D8-2-spons%26sp_csd%3Dd2lkZ2V0TmFtZT1zcF9hdGY%26psc%3D1"
},
{
"asin": "B09LYF2ST7",
"badge": "Best Sellerin Over-Ear Headphones",
"image_url": "./search_page_files/71F2ccIPPLL._AC_UY218_.jpg",
"original_price": 26.99,
"price": 19.99,
"rating": 4.5,
"review_count": 33942,
"shipping": "Delivery",
"title": "BERIBES Bluetooth Headphones Over Ear, 65H Playtime and 6 EQ Music Modes Wireless Headphones with Microphone, HiFi Stereo Foldable Lightweight Headset, Deep Bass for Home Office Cellphone PC Ect.",
"url": "https://www.amazon.com/BERIBES-Bluetooth-Headphones-Microphone-Lightweight/dp/B09LYF2ST7/ref=sr_1_3?dib=eyJ2IjoiMSJ9.k9JWCEN5R4K9gPt8Ce6djRguhyQo6RbOLUQuB3wZyNUnWgxqR6gQe7IjRzcGCyVFAOTPUO7-aglYqIRtYxuKlT8aSJWqT5X2D9vHccj2DC2k7X-EjSQa4CcDQUAMhLsEinUeKsku_59dIbcgGLfHthmhnVlM1AF5Q0FLqSYbF-j74tfKmdL8MsqxHcideSiaXjiO4SyarSgDa69343iy2BLPbCH735oo-6H1kB3laIc.RztHQpZ0jAbdEdhujstrHExSXOC6oxp21KrEoEkkyhA&dib_tag=se&keywords=headphones&qid=1745305046&sr=8-3"
},
{
"asin": "B0DLKB5V35",
"badge": "Overall Pick",
"image_url": "./search_page_files/61OHplw85eL._AC_UY218_.jpg",
"rating": 4.5,
"review_count": 85785,
"shipping": "$39.59",
"title": "Soundcore Anker Life Q20 Hybrid Active Noise Cancelling Headphones, Wireless Over Ear Bluetooth Headphones, 60H Playtime, Hi-Res Audio, Deep Bass, Memory Foam Ear Cups, Travel, Office, USB-C Charging",
"url": "https://www.amazon.com/Soundcore-Cancelling-Headphones-Wireless-Bluetooth/dp/B0DLKB5V35/ref=sr_1_4?dib=eyJ2IjoiMSJ9.k9JWCEN5R4K9gPt8Ce6djRguhyQo6RbOLUQuB3wZyNUnWgxqR6gQe7IjRzcGCyVFAOTPUO7-aglYqIRtYxuKlT8aSJWqT5X2D9vHccj2DC2k7X-EjSQa4CcDQUAMhLsEinUeKsku_59dIbcgGLfHthmhnVlM1AF5Q0FLqSYbF-j74tfKmdL8MsqxHcideSiaXjiO4SyarSgDa69343iy2BLPbCH735oo-6H1kB3laIc.RztHQpZ0jAbdEdhujstrHExSXOC6oxp21KrEoEkkyhA&dib_tag=se&keywords=headphones&qid=1745305046&sr=8-4"
},
...
]
},
"status": "valid",
"url": "https://www.amazon.com/s?k=headphones"
}

A full example JSON response can be found here.


ScrapeOps Parser API - Amazon Reviews Page

Amazon Reviews Page Parser

To use the Parser API without the ScrapeOps Proxy Aggregator, you first need to retrieve the HTML of the page you want to extract the data from.

For example, here we retrieve the HTML from the following Amazon Reviews Page with a very simple GET request:


import requests

response = requests.get('https://www.amazon.com/product-reviews/B08WM3LMJF')

if response.status_code == 200:
html = response.text
print(html)

Next, we send this HTML to the ScrapeOps Parser API for data extraction using a POST request:


import requests

response = requests.get('https://www.amazon.com/product-reviews/B08WM3LMJF')

if response.status_code == 200:
html = response.text

data = {
'url': 'https://www.amazon.com/product-reviews/B08WM3LMJF',
'html': html,
}

response = requests.post(
url='https://parser.scrapeops.io/v2/amazon',
params={'api_key': 'YOUR_API_KEY'},
json=data
)

print(response.json())

The API will return a JSON response with the following data (status, data, url):


{
"data": {
"pagination": [
"https://www.amazon.com/JBL-Tune-510BT-Ear-Headphones/product-reviews/B08WM3LMJF/ref=cm_cr_arp_d_paging_btm_2?ie=UTF8&pageNumber=2"
],
"product": {
"brand": "JBL",
"image": "https://m.media-amazon.com/images/G/01/gno/sprites/nav-sprite-global-1x-reorg-privacy._CB587940754_.png",
"name": "JBL Tune 510BT: Wireless On-Ear Headphones with Purebass Sound - Black",
"url": "https://www.amazon.com/JBL-Tune-510BT-Ear-Headphones/dp/B08WM3LMJF/ref=cm_cr_arp_d_product_top?ie=UTF8",
"variant": "Color: Black Style: headphones"
},
"review_overview": {
"1_star_percent": 0.03,
"1_star_rating": 1923,
"2_star_percent": 0.02,
"2_star_rating": 1282,
"3_star_percent": 0.05,
"3_star_rating": 3206,
"4_star_percent": 0.14,
"4_star_rating": 8977,
"5_star_percent": 0.75,
"5_star_rating": 48096,
"rating_average": 4.6,
"reviews_count": 64128
},
"reviews": [
{
"date": "August 18, 2024",
"helpful": 13,
"is_verified_purchase": true,
"location": "the United States",
"rating": 5,
"text": "13+! These headphones are very high quality! I use them everyday! Very comfy dont pinch ur head and u can adust the head size on it! The sound quality is outstanding! Its worth the price! Their is not cord outlet to put the aux cord in its only bluetooth! I use these on my iphone 4s and it really works well! I highly recommend for 13+!",
"title": "I highly recommend these for teens!",
"url": "https://www.amazon.com/gp/customer-reviews/R2YEY0T2NW345O/ref=cm_cr_arp_d_rvw_ttl?ie=UTF8&ASIN=B08WM3LMJF",
"user_name": "KatyPerryMEGAFAN",
"user_url": "https://www.amazon.com/gp/profile/amzn1.account.AFCFIF7U7JBTW6O4HIEWW4HDFYDQ/ref=cm_cr_arp_d_gw_btm?ie=UTF8",
"variant": "Color: Black Style: headphones"
},
{
"date": "August 1, 2024",
"helpful": 12,
"is_verified_purchase": true,
"location": "the United States",
"rating": 5,
"text": "This was one of my best purchases. They are super comfortable with great fit (don’t slip off), audio quality and noise cancellation are both great, and the battery life lasts very long, and I love most of all that it has hands-free calling, which allows me to multi-task throughout my day while being able to speak with family and business. Not to mention they are very cute and sleek, especially the pink color. 10/10 recommend these",
"title": "Very cute and good quality!",
"url": "https://www.amazon.com/gp/customer-reviews/R1JWEWHZGHGP4J/ref=cm_cr_arp_d_rvw_ttl?ie=UTF8&ASIN=B08WM3LMJF",
"user_name": "Elizabeth",
"user_url": "https://www.amazon.com/gp/profile/amzn1.account.AEZQWPSEFAINMSWYPTL2GO4SRQWQ/ref=cm_cr_arp_d_gw_btm?ie=UTF8",
"variant": "Color: Rose Style: headphones"
}
...
],
"top_critical_review": {
"content": "overall: for the price, good headphones if you are not using them for the mic and/or calls. there’s some connection issues (but that may not happen with every pair, it may just be mine!) i bought these headphones november 2023 and as of today, august 2024, they won’t connect to my phone anymore. the audio still works and it’s a decent audio, but it definitely is not the same as it used to be. the audio was the best for the first 4-5 months of having them. now, they do not have as clear or loud of a sound and the bass is nowhere near as good. they still connect to my laptop, but i’ve tried everything possible and they will not connect to my phone anymore. ever since i got them, ive had random small issues with connections, audio, and the built in mic. i’m gonna make a list of the random things that have happened off and on ever since ive bought these headphones (just cause lists are easier!): - when in a call (specifically when watching someone screen share), the audio will randomly become extremely static and distorted and i can’t understand a single word. i have figured out no way to fix this other than waiting for it to stop. - the mic is just not good at all and never has been good. either no one can hear me or im breaking up. the only way people can hear me is if i take the headphones off and speak directly into the tiny hole where the mic is. - when i’m in a call with someone and trying to watch something in the background, the audio of the video or the music is HORRIBLE. i don’t know how to describe it other than a muffled deep fried distortion (if you know what i mean.) this is possibly normal but i’ve not experienced this with other headphones/earbuds. - the headphones occasionally will say they’re connected to my phone and/or laptop, yet they’ll actually be connected to neither. i’ll turn them on and the blue light will stay solid (indicating it’s connected) and on my laptop and phone it’ll say the headphones are connected via bluetooth, but when i go to play something, it doesn’t play through my headphones. it will either play through my devices’ speakers or play nothing at all. to fix this i turn off my bluetooth and turn off the headphones, then turn both back on and it will usually connect and play correctly - lastly, there have been a few times where i just couldn’t get my headphones to connect to anything at all. i’ve figured out that this only happens when the headphones are around 15-30% charged. on top of this, i will have to say that i feel like the battery life has diminished a LOT since i first bought them. i wanna add that ive done research and tried lots of things and troubleshooted lots to figure out if this was a device issue or headphones issue, and it is indeed a headphones issue. specifically these connection issues have never happened with any of my other bluetooth headphones or earbuds. i DO recommend these if you only need them for music or maybe streaming shows, movies, youtube. but these headphones are not the best option if you are looking for a good mic.",
"date": "August 7, 2024",
"helpful": 1,
"location": "the United States",
"rating": 3,
"title": "good headphones for sound only",
"user_name": "wormyh2o",
"user_url": "https://www.amazon.com/gp/profile/amzn1.account.AFBTDGY75ULHML262H7WIJNVO6ZA/ref=cm_cr_arp_d_gw_rgt?ie=UTF8"
},
"top_positive_review": {
"content": "13+! These headphones are very high quality! I use them everyday! Very comfy dont pinch ur head and u can adust the head size on it! The sound quality is outstanding! Its worth the price! Their is not cord outlet to put the aux cord in its only bluetooth! I use these on my iphone 4s and it really works well! I highly recommend for 13+!",
"date": "August 18, 2024",
"helpful": 13,
"location": "the United States",
"rating": 5,
"title": "I highly recommend these for teens!",
"user_name": "KatyPerryMEGAFAN",
"user_url": "https://www.amazon.com/gp/profile/amzn1.account.AFCFIF7U7JBTW6O4HIEWW4HDFYDQ/ref=cm_cr_arp_d_gw_lft?ie=UTF8"
}
},
"status": "valid",
"url": "https://www.amazon.com/JBL-Tune-510BT-Ear-Headphones/product-reviews/B08WM3LMJF"
}

A full example JSON response can be found here.


Proxy API Integration

The ScrapeOps Parser API is integrated into the ScrapeOps Proxy API Aggregator and can be used for free by using the Auto Extract functionality.

So if you already have a Proxy API Aggregator plan then use the Parser API for no extra charge.

The following example shows you how to use the Parser API via a Python Requests based scraper using the Proxy API Aggregator:


import requests

response = requests.get(
url='https://proxy.scrapeops.io/v2/',
params={
'api_key': 'YOUR_API_KEY',
'url': 'https://www.amazon.com/dp/B08WM3LMJF',
'auto_extract': 'amazon'
}
)

print(response.json())