Skip to main content

amazon-scraper-api

PyPI version Python Versions License: MIT

Ultra-fast, zero-dependency Amazon product, BuyBox winner, real-time pricing, and inventory extraction client. Engineered to bypass dynamic WAFs, CAPTCHAs, and 503 bot challenges out-of-the-box.


Key Features

  • Automated Anti-Bot Bypass: No proxy rotation or browser emulation needed. Bypasses Amazon Akamai and bot blocks natively.
  • Global Marketplace Coverage: Native endpoints for US, Germany, UK, Turkey, France, Japan, and more.
  • Sub-50ms Cached Extraction: Edge acceleration powered by multi-region distributed caching.
  • Granular Data Payloads: Extracts BuyBox owner, list prices, stock counts, shipping terms, and child variation mappings.
  • Zero External Dependencies: Built strictly on native Python standard libraries (urllib, json).

Installation

pip install amazon-scraper-api

Quick Start

from amazon_scraper import AmazonScraper

# Initialize client
client = AmazonScraper(api_key="YOUR_API_KEY")

# Extract product by ASIN and marketplace domain
product = client.get_product(asin="B0FPXGC6YG", domain="com.tr")

print("Title:", product["data"]["title"])
print("Price:", product["data"]["pricing"]["price"], product["data"]["pricing"]["currency"])
print("BuyBox Seller:", product["data"]["seller_info"]["sold_by"])
print("Stock Status:", product["data"]["inventory"]["in_stock"])

Sample Response Payload

{
  "success": true,
  "data": {
    "asin": "B0FPXGC6YG",
    "title": "Sample Product Title",
    "marketplace": "amazon.com.tr",
    "pricing": {
      "price": 499.90,
      "currency": "TRY",
      "is_prime": true
    },
    "seller_info": {
      "sold_by": "Amazon.com.tr",
      "ships_from": "Amazon",
      "is_buybox_winner": true
    },
    "inventory": {
      "in_stock": true,
      "stock_level": "In Stock."
    }
  }
}

Parameters

Parameter Type Required Default Description
asin str Optional* None 10-character Amazon Standard Identification Number.
url str Optional* None Full Amazon product URL (can be used instead of ASIN).
domain str Optional "com" Target marketplace extension (com, com.tr, de, co.uk, etc.).

* Either asin or url must be provided.


Error Handling

from amazon_scraper import AmazonScraper

client = AmazonScraper(api_key="YOUR_API_KEY")

try:
    product = client.get_product(asin="INVALID_ASIN")
except RuntimeError as err:
    print(f"Extraction failed: {err}")

Authentication & API Keys

To obtain your production API key and access free monthly extraction credits, create an account at Chaldia Labs.


License

Distributed under the MIT License. Copyright (c) Chaldia Labs.

Metadata

Release files for amazon-data-scraper 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for amazon-data-scraper 1.0.1
File Size Uploaded
amazon_data_scraper-1.0.1.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for amazon-data-scraper 1.0.1
File Interpreter ABI Platform
amazon_data_scraper-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 5.6 kB

Release files / amazon_data_scraper-1.0.1.tar.gz

Download URL amazon_data_scraper-1.0.1.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
67b1c6cd2880dd261714e65aa2884fb0d4c9a2975ebaceeec91914e1d1d88cda
BLAKE2b-256 checksum
How to use checksums
7fece624e88ed95f372730af95767d6047ab18ded9da572e6d3b9a0ce50f24f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / amazon_data_scraper-1.0.1-py3-none-any.whl

Download URL amazon_data_scraper-1.0.1-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13fe3eb561a9da2be3c6825e617d5c40d0c52da4b14e27be38b200c676992a95
BLAKE2b-256 checksum
How to use checksums
1868b6c8d908dbc14b5a8c4e993e8221399b56793697e135d9cbfced21cdb25f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page