For the complete documentation index, see llms.txt. This page is also available as Markdown.

Amazon

Gather Amazon data effortlessly with Web Scraper API. Collect product, pricing, and seller details using ready-made examples and flexible parameters.

With Web Scraper API, you can scrape and parse various types of Amazon pages; below is an overview of all supported scrapers and their respective source values.

Source
Description
Dedicated parser

amazon_product

Product page of an ASIN of your choice.

Yes.

amazon_search

Search results for a search term of your choice.

Yes.

amazon_pricing

List of offers available for an ASIN of your choice.

Yes.

amazon_sellers

Seller information of a seller of your choice.

Yes.

amazon_bestsellers

List of best seller items in a taxonomy node of your choice.

Yes

amazon

Submit any Amazon URL you like.

Limited to URLs of specific Amazon page types.

Getting started

Create your API user credentials: Sign up for a free trial or purchase the product in the Oxylabs dashboard to create your API user credentials (USERNAME and PASSWORD).

Request sample

curl 'https://realtime.oxylabs.io/v1/queries' \
--user "USERNAME:PASSWORD" \
-H "Content-Type: application/json" \
-d '{
        "source": "amazon_product",
        "query": "B07FZ8S74R",
        "geo_location": "90210",
        "parse": true
    }'
import requests
from pprint import pprint

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

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

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

We use synchronous Realtime integration method in our examples. If you would like to use Proxy Endpoint or asynchronous Push-Pull integration, refer to the integration methods section.

Optionally, you can include additional parameters such as geo_location, user_agent_type, parse, render and more to customize your scraping request. Read more:

Features

Last updated

Was this helpful?