Easily Collect Product Data With E-Commerce Scraper API

  • Pay only for successfully delivered results

  • Get highly localized e-commerce data without IP blocks

  • Boost efficiency while reducing infrastructure costs

See it in action

*This scraper is part of Web Scraper API.

Dive into code samples

Accessing product data from the top online marketplaces has never been easier. Explore E-Commerce Scraper API with practical code samples.

Input parameters

source

Scraper

Set the scraper to 'amazon_product' to get product data. (Other sources: 'amazon_search', 'amazon_pricing', 'amazon_reviews', 'amazon_questions', 'amazon_bestsellers', 'amazon_sellers')

query

ASIN

Input 10-symbol ASIN code of the product you want to scrape.

geo_location

Localization

Specify the 'Deliver to' location.

domain

Amazon domain

Specify Amazon marketplace you want to scrape.

locale

Interface language

Set the interface language.

render

JavaScript rendering

Enable to load JavaScript-based content.

parse

Structured data

Enable to get structured product data.

Input

Output

Output preview

Copy

import requests
from pprint import pprint

# Structure payload.
payload = {
    'source': 'amazon_product',
    'query': 'B0BGYWPWNC',
    'geo_location': '90210',
    'domain': 'com',
    'parse': True
}

# Take a free trial or buy the product on our dashboard to create an API user.
# Replace 'USERNAME' and 'PASSWORD' with your API credentials to run this request.

# Get response by using real-time endpoint.
response = requests.request(
    'POST',
'https://realtime.oxylabs.io/v1/queries',
    auth=('USERNAME', 'PASSWORD'),
    json=payload,
)

# Print prettified response to stdout.
pprint(response.json())

See full code

...
"product_details": {
    "os": "iOS 16",
    "ram": "1024 GB",
    "asin": "B0BGYWPWNC",
    "color": "Silver",
    "batteries": "1 Lithium Ion batteries required. (included)",
    "form_factor": "Slate",
    "item_weight": "15.5 ounces",
    "manufacturer": "Apple Computer",
    "customer_reviews": "4.2 4.2 out of 5 stars 1,444 ratings 4.2 out of 5 stars",
    "whats_in_the_box": "iPhone, Charger, Mfi cable, SIM Pin ejector",
    "best_sellers_rank": "#139 in Amazon Renewed (See Top 100 in Amazon Renewed) #49 in Renewed Smartphones #1,003 in Climate Pledge Friendly: Electronics",
    "country_of_origin": "China",
    "item_model_number": "A2483",
    "product_dimensions": "0.28 x 2.8 x 5.75 inches",
    "battery_power_rating": "3095",
    "date_first_available": "September 30, 2022",
    "other_display_features": "Wireless",
    "memory_storage_capacity": "1024 GB",
    "connectivity_technologies": "Wi-Fi",
    "ram_memory_installed_size": "1 TB",
    "standing_screen_display_size": "6.1 Inches"
},
...

Try E-Commerce Scraper API out for yourself

Discover Scraper APIs Playground on Oxylabs dashboard for a firsthand interaction with our APIs, and explore technical documentation for all the information you need.

Gather data from any online marketplace

With E-Commerce Scraper API, retrieve product data across various online marketplaces, including major e-commerce platforms and smaller e-shops. Get timely e-commerce data from search, product, and other pages in HTML or JSON.

OxyCopilot

Automate API call code generation with OxyCopilot

OxyCopilot, an integral feature of Web Scraper API, is an AI-powered assistant designed to auto-generate codes for scraping requests and parsing instructions, eliminating manual coding:

  • Use Scraper API Playground

  • Input your prompt

  • Receive ready-to-use code

Explore Amazon scrapers

Enjoy the benefits of our team's expertly crafted scrapers and parsers, designed for a wide range of Amazon page types to extract essential e-commerce data points.

Get public e-commerce data from any location

Easily scrape localized product data from any area and in your preferred language, hassle-free.

  • Access public data from 195 countries

  • Target at country, state, city, or even zip code levels

Test our API: 5K free e-commerce results

Advanced features

Leverage E-Commerce Scraper API smart features for collecting data at scale.

Proxy management

ML-driven proxy selection and rotation using our premium proxy pool from 195 countries.

Custom parameters

Enhance your scraping control with custom headers and cookies at no extra cost.

AI-driven fingerprinting

Unique HTTP headers, JavaScript, and browser fingerprints ensure resilience to dynamic content.

CAPTCHA bypass

Automatic retries and CAPTCHA bypassing for uninterrupted data retrieval.

JavaScript rendering

Render JavaScript with a single line of code, skipping complex browser development.

Web Crawler

Comprehensive page discovery on websites, extracting only essential data.

Scheduler

Automate recurring scraping jobs with desired frequency and receive data to AWS S3 or GCS.

Custom Parser

Define your parsing logic using XPath or CSS selectors for structured data collection.

Headless Browser

Render JavaScript-based pages with a single line of code, eliminating the need for complex browser development or automated third-party tools. Set up custom browser instructions and enable Headless Browser to execute mouse clicks, input text, scroll pages, wait for elements to appear, and more.

  • Effortless JavaScript rendering

  • Browser instructions execution

  • Seamless data collection

Learn more

Get a maintenance-free scraping infrastructure

Benefit from our ML-powered online shopping data collection infrastructure that is ready-to-use straight away.

  • No need to develop or maintain scrapers and browsers

  • Let us overcome IP blocks and handle CAPTCHAs for you

  • Allocate your resources towards analyzing structured data

Simple integration

Step 1: Put your endpoint URL, API user credentials, and data payload into a single request.

Step 2: Send this request to our API. We'll take care of everything from there – you don't need to do anything else.

Step 3: Get the result back either directly from the API or store it in your chosen cloud storage bucket.

API reference

Copy

import requests
from pprint import pprint

username = "USERNAME"
password = "PASSWORD"

payload = {
    "source": "amazon_search",
    "query": "shoes",
    "domain": "com",
    "geo_location": "90210",
    "parse": True,
}

response = requests.request(
    'POST',
    'https://realtime.oxylabs.io/v1/queries',
    auth=(username, password),
    json=payload,
)

pprint(response.json())

We have been utilizing Oxylabs' E-Commerce Scraper API for 3+ years now. Our business requires up-to-the-minute web scraping with no downtime. We tried other services before that, but they either failed to provide reliable service on a consistent basis or were too expensive. Oxylabs has been by far the fastest, most reliable service we have had to date.

User in Retail

G2 review

What do others say?

Designed for seamless web scraping operations, our API is backed by top-notch 24/7 support. Whenever you need assistance or resources, our expert team is here for you, ensuring smooth progress towards your project goals.

Pricing

Regular
Enterprise

Pay only for successful results

Avoid CAPTCHAs and IP blocks

Save time and development costs

Don’t miss out

Free trial

0

1 week trial

Limited to 1 user

Micro

49

$2.00 / 1K results

$49 + VAT billed monthly

Starter

99

$1.80 / 1K results

$99 + VAT billed monthly

Advanced

249

$1.65 / 1K results

$249 + VAT billed monthly

Results
5,000

24,500

55,000

151,000

Rate Limit
5 requests / s

10 requests / s

15 requests / s

30 requests / s

AI-Powered Web Scraping
Worldwide Geo-Targeting
JavaScript Rendering
Dedicated Account Manager

10% off

Yearly plans discount

For all our plans by paying yearly. Contact sales to learn more.

We accept these payment methods:

Frequently asked questions

What is e-commerce scraping?

E-commerce scraping is the process of extracting publicly-available e-commerce product data from e-commerce marketplaces or standalone shops. To learn more about the process, you can refer to our free whitepaper.

Alternatively, you can choose to acquire e-commerce datasets instead of scraping this information yourself.

How can I tell if a website is using JavaScript?

If you do not find the text in the source, but you can see it in the browser, it is probably being rendered with JavaScript. This is one of the most common problems that developers face when scraping a JavaScript-heavy website. The initial response you receive from the server might not contain the information you expect as per visual inspection. Oxylabs’ E-Commerce Scraper API is capable of getting data from JavaScript rendered websites.

How long does E-Commerce Scraper API take to give the results back?

Usually, it takes less than 10 seconds on average but results may slightly vary from case-to-case. You can see it for yourself by trying out the free trial and use various code samples from our guides for the major e-commerce markets (see Etsy scraping example.)

How to scrape and parse data from a dynamically changing product page?

Websites with constantly changing layouts often demand specialized tools for data parsing. Our Dedicated Parsers are designed precisely for this purpose, effectively managing changes in website structures. While occasional variations may arise, the automatic parsing consistently captures crucial data such as titles, prices, and product descriptions. Depending on the target website, simply include the "parse": True parameter in your payload to leverage this feature of our E-Commerce Scraper API and receive structured data in JSON format.

Can E-Commerce Scraper API automate recurring scraping and parsing tasks?

Yes, we offer a free Scheduler feature for all Scraper APIs. You can automate your recurring scraping and parsing jobs by scheduling them. Check out our documentation to learn more about how to set up your schedule.

Is E-Commerce Scraper API ISO certified?

Yes, E-Commerce Scraper API is ISO/IEC 27001:2017 certified. This certification demonstrates our commitment to maintaining a robust Information Security Management System (ISMS) that adheres to internationally recognized standards for data security. To learn more about what ISO/IEC 27001:2017 certification means for our product and users, please read here.

More FAQs

Get the latest news from data gathering world

I'm interested