Scrapingdog
HomePricingSupportLogin
  • Documentation
  • Web Scraping API
    • Request Customization
      • Javascript Rendering
        • Wait when rendering Javascript
      • Custom Headers
      • Premium Residential Proxies
      • Geotargeting
      • Sessions
  • POST Request
  • Google Search Scraper API
    • Google Country Parameter: Supported Google Countries
    • Supported Google Countries via cr parameter
    • Google Domains Page
    • Google Language Page
    • Google LR Language Page
  • Google AI Overview API
  • Google Maps API
    • Google Maps Posts API
    • Google Maps Photos API
    • Google Maps Reviews API
    • Google Maps Places API
  • Google Trends API
    • Google Trends Autocomplete API
    • Google Trends Trending Now API
  • Google Images API
  • Google News API
    • Google News API 2.0
  • Google Shopping API
  • Google Product API
  • Google Videos API
  • Google Shorts API
  • Google Autocomplete API
  • Google Scholar API
    • Google Scholar Profiles API
    • Google Scholar Author API
      • Google Scholar Author Citation API
    • Google Scholar Cite API
  • Google Finance API
  • Google Lens API
  • Google Jobs API
  • Google Local API
  • Google Patents API
    • Google Patent Details API
  • Bing Search Scraper API
  • Amazon Scraper API
    • Amazon Product Scraper
    • Amazon Search Scraper
    • Amazon Reviews API
    • Amazon Autocomplete Scraper
  • Instagram Scraper API
  • Linkedin Scraper API
    • Person Profile Scraper
    • Company Profile Scraper
  • Linkedin Jobs Scraper
    • Scrape Linkedin Jobs
    • Scrape LinkedIn Job Overview
  • Yelp Scraper API
  • Twitter Scraping API
    • X Scraping API 2.0
  • Indeed Scraper API
  • Zillow Scraper API
  • Youtube Scraper API
    • Youtube Search API
    • YouTube Transcripts API
    • YouTube Channel API
  • Walmart Scraper API
    • Walmart Product Scraper
    • Walmart Search Scraper
    • Walmart Reviews Scraper
  • Screenshot API
  • Webhook Integration
  • Datacenter Proxies
  • Account API
Powered by GitBook
On this page
  • Parameters
  • TLD Supported
  • Country
  • API Example
  • Response
  1. Amazon Scraper API

Amazon Product Scraper

This API can be used for scraping any product page from Amazon. All you need is the ASIN code of that product.

You have to send a GET request to https://api.scrapingdog.com/amazon/product with the below given parameters.

Parameters

Parameter
Description

api_key required

Your personal API key. Available on your dashboard Type: String

domain required

This is the TLD extension of the amazon page. Example - in, com, tr, etc Type: String

asin required

This is the Amazon product ID. Type: String

country required

5 credits will be charged for each successful request with this parameter. 1 credit will be charged if the target country is the USA.

Default value is us. Type: String

postal_code

To get data from a particular postal code. Type: String

language

The language parameter in your Amazon Product API should be defined using standard ISO 639-1 codes (e.g., en for English, de for German, fr for French) to specify the language in which the product data (like titles and descriptions) should be returned. This helps tailor results according to regional Amazon domains, such as amazon.de for German (de) or amazon.fr for French (fr). Use this parameter to map the request to the appropriate Amazon locale and return content in the desired language. Type: String

TLD Supported

Domain
Amazon Url

com

amazon.com

co.uk

amazon.co.uk

ca

amazon.ca

de

amazon.de

es

amazon.es

fr

amazon.fr

it

amazon.it

co.jp

amazon.co.jp

in

amazon.in

cn

amazon.cn

com.sg

amazon.com.sg

com.mx

amazon.com.mx

ae

amazon.ae

com.br

amazon.com.br

nl

amazon.com.nl

com.au

amazon.com.au

com.tr

amazon.com.tr

sa

amazon.sa

se

amazon.se

pl

amazon.pl

Country

Country Code
Country

us

United States

gb

United Kingdom

ca

Canada

de

Germany

es

Spain

fr

France

it

Italy

jp

Japan

in

India

cn

China

sg

Singapore

mx

Mexico

br

Brazil

nl

Netherlands

au

Australia

tr

Turkey

pl

Poland

API Example

curl "https://api.scrapingdog.com/amazon/product?api_key=5eaa61a6e562fc52fe763tr516e4653&domain=com&asin=B00AP877FS"
import requests

url = "https://api.scrapingdog.com/amazon/product"
params = {
    "api_key": "5eaa61a6e562fc52fe763tr516e4653",
    "domain": "com",
    "asin": "B00AP877FS"
}

response = requests.get(url, params=params)

if response.status_code == 200:
    data = response.json()
    print(data)
else:
    print(f"Request failed with status code {response.status_code}")
const axios = require('axios');

const url = 'https://api.scrapingdog.com/amazon/product';
const params = {
  api_key: '5eaa61a6e562fc52fe763tr516e4653',
  domain: 'com',
  asin: 'B00AP877FS',
};

axios
  .get(url, { params })
  .then((response) => {
    if (response.status === 200) {
      const data = response.data;
      console.log(data);
    } else {
      console.log(`Request failed with status code ${response.status}`);
    }
  })
  .catch((error) => {
    console.error('Request failed with an error:', error);
  });
<?php

$apiUrl = 'https://api.scrapingdog.com/amazon/product';
$apiKey = '5eaa61a6e562fc52fe763tr516e4653';
$domain = 'com';
$asin = 'B00AP877FS';

$queryString = http_build_query([
    'api_key' => $apiKey,
    'domain' => $domain,
    'asin' => $asin,
]);

$fullUrl = $apiUrl . '?' . $queryString;

$ch = curl_init($fullUrl);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);

if ($httpCode == 200) {
    $data = json_decode($response, true);
    print_r($data);
} else {
    echo "Request failed with status code $httpCode\n";
}

curl_close($ch);
?>
require 'net/http'
require 'json'

api_url = 'https://api.scrapingdog.com/amazon/product'
api_key = '5eaa61a6e562fc52fe763tr516e4653'
domain = 'com'
asin = 'B00AP877FS'

params = {
  'api_key' => api_key,
  'domain' => domain,
  'asin' => asin
}

uri = URI(api_url)
uri.query = URI.encode_www_form(params)

response = Net::HTTP.get_response(uri)

if response.is_a?(Net::HTTPSuccess)
  data = JSON.parse(response.body)
  puts data
else
  puts "Request failed with status code #{response.code}"
end
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;

public class Main {
    public static void main(String[] args) {
        String apiURL = "https://api.scrapingdog.com/amazon/product";
        String apiKey = "5eaa61a6e562fc52fe763tr516e4653";
        String domain = "com";
        String asin = "B00AP877FS";

        try {
            // Create the URL with query parameters
            URL url = new URL(apiURL + "?api_key=" + apiKey + "&domain=" + domain + "&asin=" + asin);
            HttpURLConnection connection = (HttpURLConnection) url.openConnection();

            // Set the request method to GET
            connection.setRequestMethod("GET");

            // Get the response code
            int responseCode = connection.getResponseCode();

            if (responseCode == 200) {
                // Read the response data
                BufferedReader reader = new BufferedReader(new InputStreamReader(connection.getInputStream()));
                String line;
                StringBuilder response = new StringBuilder();

                while ((line = reader.readLine()) != null) {
                    response.append(line);
                }
                reader.close();

                // Print the response data
                System.out.println(response.toString());
            } else {
                System.out.println("Request failed with response code: " + responseCode);
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}

Response

{
    "title": "Cosmetic Brush Kit 5 Pcs Makeup Brush Travel Set Princessa - Pink",
    "product_information": {
        "UPCundefined": "716189022169",
        "ASINundefined": "B00AP877FS",
        "CustomerReviews": "5.0 stars and 4 reviews"
    },
    "brand": "Brand: BeautyEZ",
    "brand_url": "/s/ref=bl_dp_s_web_0?ie=UTF8&search-alias=aps&field-keywords=BeautyEZ",
    "description": "This set of 5 pieces makeup brushes provides an assortment of brushes for cosmetic applications. It is an important beauty essential for you. The Brushes are used for applying powder, foundation, brush, and eye shadow. Its design is suitable to carry and use when you are travelling.",
    "price": "$6.95",
    "list_price": "$6.95",
    "shipping_info": "Details",
    "availability_status": "In Stock",
    "images": [
        "https://m.media-amazon.com/images/I/41BWGQGj93L.jpg",
        "https://m.media-amazon.com/images/I/41tEyvqzdxL.jpg",
        "https://m.media-amazon.com/images/I/41Bvv57t03L.jpg",
        "https://m.media-amazon.com/images/I/41Bvv57t03L.jpg"
    ],
    "number_of_videos": 0,
    "product_category": "Beauty & Personal Care › Tools & Accessories › Makeup Brushes & Tools › Brush Sets",
    "average_rating": 5,
    "feature_bullets": [
        "1 set of 5 pcs makeup brushes",
        "Lash & Brow Comb, Sponge Tip Applicator",
        "Powder Brush, Liner Brush and Eye Shadow Brush",
        "Soft tips and Stylish design",
        "4 to 4.2 inches each to easily fit in your travel case."
    ],
    "total_reviews": 4,
    "total_answered_questions": "",
    "other_sellers": [],
    "customization_options": {
        "color": [],
        "size": [],
        "style": []
    },
    "merchant_info": "BEAUTYezSHOP",
    "ships_from": "BEAUTYezSHOPBEAUTYezSHOP",
    "sold_by": "BEAUTYezSHOP"
}
PreviousAmazon Scraper APINextAmazon Search Scraper

Last updated 28 days ago

For targeting a particular country. This should be the of a country.

ISO Code