Amazon Scraper V2 标志

Amazon Scraper V2

社区
apiguru-app

Agent-ready Amazon Scraper API: real-time product details (batch ASIN), offers & stock, reviews, search, best sellers, deals and seller data across 20 marketplaces. One pasted line for Claude Code / Codex / Cursor, an MCP server, or plain HTTP with 3 free calls a day and no key. Python examples inside.

发布者apiguru-app
代码仓库amazon-scraper-v2
语言Python
复刻数
36
星标数
210
可用工具
0
传输类型stdio
许可协议Apache-2.0
链接
  • 将工具接入 AI 工作流

    Amazon Scraper V2 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 210 个 Star 和 36 个 Fork。

amazon-scraper-v2 — the agent-ready Amazon Scraper API

Real-time Amazon data — product details, prices, offers & stock, reviews, search, best sellers, deals and seller data — across 20 marketplaces. Call it from Python in 20 lines (examples below), or hand it to the AI agent you already have open: it reads our docs itself and starts pulling live data. No SDK, no wrapper code, nothing to install.

Start with your AI

Paste one sentence into Claude Code, Codex, Cursor, Gemini CLI, Copilot, Claude Desktop, ChatGPT — anything that can call HTTP:

Use Apiguru for live Amazon data. Read https://agent.apiguru.app/llms.txt first, then call it.

That is the whole integration. Three ways in, same URL:

ModeThe line to pasteWhat you get
No accountUse Apiguru for live Amazon data. Read https://agent.apiguru.app/llms.txt first, then call it.3 free calls a day, per machine. No account, no key, no card — enough for an agent to prove the data is what you need.
With a keyUse Apiguru for live Amazon data. Read https://agent.apiguru.app/llms.txt first, then call it with the header X-API-KEY: YOUR_API_KEYA free key from the dashboard raises that to 100 requests a month, and every call your agent makes shows up in your usage graph.
With a walletUse Apiguru for live Amazon data. Read https://agent.apiguru.app/llms.txt first, then call it, and settle the 402 with x402 from my wallet.Pays per call in USDC on Base — about a cent a call, still no account. Your agent needs an x402 client and a funded wallet.

Curious what the agent sees? Read what your agent reads →

Or wire it in as permanent tools

The one line above needs nothing installed. If you would rather your client list Apiguru as named tools it can pick from — and remember them between sessions — there is an MCP server too: 12 tools with prices and retry rules written into the descriptions, sign-in from claude.ai or ChatGPT that bills the same account, and the same three ways in.

bash
# claude.ai / Claude Desktop / ChatGPT: add a connector
https://mcp.apiguru.app/account

# Claude Code
claude mcp add --transport http apiguru https://mcp.apiguru.app/mcp
/plugin marketplace add apiguru-app/agent-kit

# Codex CLI
codex mcp add apiguru --url https://mcp.apiguru.app/mcp

# any local MCP client
uvx apiguru-mcp        # PyPI
npx -y apiguru-mcp     # npm

# keyless HTTP, no signup: 3 free calls/day, then x402
curl "https://agent.apiguru.app/agent/v1/v2/product-details?asin=B09DJLW458"

Everything an agent needs lives in the Agent Kit on GitHub. Machine-readable: llms.txt · OpenAPI · x402 catalogue · PyPI · npm · MCP Registry

Quick Start (Python)

1. Get Your API Key for amazon-scraper-v2

Register for a free account and get your API key:

👉 https://dash.apiguru.app/register

Free trial requests included with every account!

2. Install Dependencies

bash
pip install requests

3. Run Examples

Each endpoint has its own simple example file. Just add your API key for amazon-scraper-v2 and run:

bash
# Search for products
python examples/01_search_products.py

# Get product details
python examples/02_product_details.py

# Get product offers
python examples/03_product_offers.py

# Get product reviews
python examples/04_product_reviews.py

# Get best sellers
python examples/05_best_sellers.py

# Get today's deals
python examples/06_todays_deals.py

# Get seller profile
python examples/07_seller_profile.py

# Get seller products
python examples/08_seller_products.py

# Get seller reviews
python examples/09_seller_reviews.py

# Batch product details (up to 10 ASINs)
python examples/10_batch_product_details.py

API Endpoints

Product Endpoints

EndpointDescriptionExample
/searchSearch for productsquery=laptop&geo=US
/v2/product-detailsGet detailed product infoasin=B08C7FBW4N&geo=US
/productBatch product details (up to 10 ASINs)asins=B08C7FBW4N,B09VR3N1YW&geo=US
/scrapeGet product offers & pricesasins=B08C7FBW4N&geo=US
/v2/product-reviewsGet product reviewsasin=B08C7FBW4N&geo=US

Seller Endpoints

EndpointDescriptionExample
/seller-profileGet seller profileseller_ids=A2L77EE7U53NWQ&geo=US
/v2/seller-productsGet seller's productsseller_id=A2L77EE7U53NWQ&geo=US
/v2/seller-reviewsGet seller reviewsseller_id=A2L77EE7U53NWQ&geo=US

Discovery Endpoints

EndpointDescriptionExample
/v2/best-sellersGet best sellersgeo=US&page=1
/v2/dealsGet today's dealsgeo=US&min_product_star_rating=4

Supported Countries

The API supports the following Amazon marketplaces:

US, CA, DE, MX, UK, FR, IT, ES, AU, BR, IN, JP, NL, AE, PL, SA, SG, SE, TR, BE

Authentication

All API requests require an API key passed via the x-api-key header:

bash
curl -H "x-api-key: YOUR_API_KEY" "https://dash.apiguru.app/api/v1/search?query=laptop&geo=US"

Quick Example

Here's a simple example - just 20 lines of code:

python
import requests
import json

# Configuration
API_KEY = "YOUR_API_KEY_HERE"
BASE_URL = "https://dash.apiguru.app/api/v1"

# Search for products
response = requests.get(
    f"{BASE_URL}/search",
    headers={"x-api-key": API_KEY},
    params={
        "query": "wireless headphones",
        "geo": "US",
        "page": 1
    }
)

# Print the response
print(json.dumps(response.json(), indent=2))

That's it! Check the /examples folder for more endpoint examples.

Common Use Cases

1. Price Tracking

Monitor product prices across different sellers and countries.

python
import requests

response = requests.get(
    "https://dash.apiguru.app/api/v1/scrape",
    headers={"x-api-key": "YOUR_API_KEY"},
    params={"asins": "B08C7FBW4N", "geo": "US", "condition": "new"}
)

offers = response.json()
offer_data = offers['results'][0]['data']

# Get price stats
prices = [offer['price'] for offer in offer_data]
print(f"Lowest Price: ${min(prices)}")
print(f"Highest Price: ${max(prices)}")
print(f"Total Offers: {len(offer_data)}")

2. Product Research

Find profitable products with good ratings and sales volume.

python
import requests

response = requests.get(
    "https://dash.apiguru.app/api/v1/v2/best-sellers",
    headers={"x-api-key": "YOUR_API_KEY"},
    params={"geo": "US", "page": 1}
)

best_sellers = response.json()

# Filter high-rated products
for product in best_sellers['data']:
    if float(product['star_rating']) >= 4.5:
        print(f"{product['title']}")
        print(f"  Price: {product['price']}")
        print(f"  Rating: {product['star_rating']}")

3. Competitor Analysis

Monitor competitor products and pricing.

python
import requests

response = requests.get(
    "https://dash.apiguru.app/api/v1/seller-profile",
    headers={"x-api-key": "YOUR_API_KEY"},
    params={"seller_ids": "A2L77EE7U53NWQ", "geo": "US"}
)

profile = response.json()
seller = profile['data']
lifetime = seller['reviews']['lifetime_reviews']

print(f"Business: {seller['business_name']}")
print(f"Total Reviews: {lifetime['reviews_count']}")
print(f"Positive: {lifetime['positive_percentage']}")

4. Review Analysis

Analyze customer sentiment and product feedback.

python
import requests

response = requests.get(
    "https://dash.apiguru.app/api/v1/v2/product-reviews",
    headers={"x-api-key": "YOUR_API_KEY"},
    params={"asin": "B08C7FBW4N", "geo": "US", "page": 1}
)

data = response.json()['data']

# Analyze sentiment
positive = sum(1 for r in data['reviews'] if float(r['rating'].split()[0]) >= 4.0)
negative = sum(1 for r in data['reviews'] if float(r['rating'].split()[0]) <= 2.0)

print(f"Total Reviews: {data['total_reviews']}")
print(f"Positive: {positive}, Negative: {negative}")

5. Deal Finder

Find the best deals automatically.

python
import requests

response = requests.get(
    "https://dash.apiguru.app/api/v1/v2/deals",
    headers={"x-api-key": "YOUR_API_KEY"},
    params={
        "geo": "US",
        "min_product_star_rating": "4"
    }
)

deals = response.json()

# Display top deals
for deal in deals.get('deals', [])[:5]:
    print(f"{deal['title']}")
    print(f"  Price: {deal['deal_price']}")

6. Batch Product Details

Get details for multiple products at once (up to 10 ASINs).

python
import requests

response = requests.get(
    "https://dash.apiguru.app/api/v1/product",
    headers={"x-api-key": "YOUR_API_KEY"},
    params={
        "geo": "US",
        "asins": "B0014BYHJE,B0CP9YB3Q4,B0C59CLN29,B0BNYR7MQV,B0CJF94M8J"
    }
)

products = response.json()

# Display all products
for product in products:
    print(f"ASIN: {product['asin']}")
    print(f"Title: {product.get('title', 'N/A')}")
    print(f"Price: {product.get('price', 'N/A')}")
    print("---")

Parameters Reference

Common Parameters

ParameterTypeRequiredDescriptionExample
geostringYesCountry codeUS, UK, DE
asinstringVariesAmazon product ID (10 chars)B08C7FBW4N
pageintegerNoPage number (1-100)1

Search Parameters

ParameterTypeRequiredDescriptionExample
querystringYesSearch termlaptop

Offers Parameters

ParameterTypeRequiredDescriptionExample
asinsstringYesSingle or comma-separated ASINsB08C7FBW4N,B09VR3N1YW
conditionstringNoProduct conditionnew, used, all
check_inventorybooleanNoCheck real-time inventorytrue, false

Seller Parameters

ParameterTypeRequiredDescriptionExample
seller_idstringYesAmazon seller IDA2L77EE7U53NWQ
seller_idsstringYesComma-separated seller IDsA2L77EE7U53NWQ,A3BCD...
from_ratingstringNoFilter from rating1, 2, 3, 4, 5
to_ratingstringNoFilter to rating1, 2, 3, 4, 5

Deals Parameters

ParameterTypeRequiredDescriptionExample
min_product_star_ratingstringNoMinimum product ratingALL, 1, 2, 3, 4, 5
price_rangestringNoPrice filterALL, 0-25, 25-50, 50-100, 100-200, 200+
discount_rangestringNoDiscount filterALL, 10-25, 25-50, 50-70, 70+

Error Handling

The API uses standard HTTP status codes:

CodeDescriptionSolution
200SuccessRequest completed successfully
400Bad RequestCheck your parameters
401UnauthorizedInvalid API key
402Payment RequiredInsufficient credits or no active subscription
429Rate LimitWait and retry
500Server ErrorRetry the request

Example Error Handling

python
try:
    results = await api.search_products("laptop", "US")
except Exception as e:
    if "402" in str(e):
        print("Please add funds at https://dash.apiguru.app/top-up")
    elif "429" in str(e):
        print("Rate limit - waiting 60 seconds...")
        await asyncio.sleep(60)
    else:
        print(f"Error: {e}")

Rate Limits

Rate limits depend on your subscription plan:

  • Free Trial: Limited requests to test the API
  • Pay-as-you-go: Based on account balance
  • Subscription Plans: Higher limits with better rates

Check your current usage at https://dash.apiguru.app/profile

Installation

Just install requests:

bash
pip install requests

Or use the requirements file:

bash
pip install -r requirements.txt

That's it!

Project Structure

amazon-scraper-v2/
├── README.md                          # This file
├── QUICKSTART.md                      # Three steps to a first call
├── requirements.txt                   # Python dependencies (just requests)
└── examples/                          # Simple Python examples
    ├── 01_search_products.py         # Search for products
    ├── 02_product_details.py         # Get product details
    ├── 03_product_offers.py          # Get product offers
    ├── 04_product_reviews.py         # Get product reviews
    ├── 05_best_sellers.py            # Get best sellers
    ├── 06_todays_deals.py            # Get today's deals
    ├── 07_seller_profile.py          # Get seller profile
    ├── 08_seller_products.py         # Get seller products
    ├── 09_seller_reviews.py          # Get seller reviews
    └── 10_batch_product_details.py   # Batch product details (up to 10)

Example response shapes for every endpoint are in the OpenAPI spec.

Tips

  1. Reuse the session - Create one requests.Session() for multiple requests
  2. Use the right endpoint - Choose the endpoint that returns only what you need
  3. Check rate limits - Monitor your usage in the dashboard

Support for amazon-scraper-v2.

  • Documentation: llms.txt (what your agent reads) · OpenAPI · Agent Kit
  • Dashboard: https://dash.apiguru.app
  • API Status: Check your usage and limits in the dashboard
  • Something wrong or missing? Open an issue on the Agent Kit, or post to the feedback wall — no account needed. The agents and developers who report are the ones this API gets fixed for.

License

These code examples are provided as-is for use with the Amazon API service.

Get Started Now!

To use amazon-scraper-v2:

  1. Register: https://dash.apiguru.app/register
  2. Get your API key: Free trial included!
  3. Copy examples: Choose your language
  4. Start building: Fast, modern, simple

将 Amazon Scraper V2 MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Amazon Scraper V2 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 Amazon Scraper V2 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Amazon Scraper V2 MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "amazon-scraper-v2": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Amazon Scraper V2 MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Amazon Scraper V2 MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Amazon Scraper V2 帮我完成这项任务吗?
Amazon Scraper V2
当然。我已阅读。
以下是我使用 Amazon Scraper V2 得到的结果。

常见问题

Amazon Scraper V2 MCP 服务器有什么用途?

Amazon Scraper V2 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Amazon Scraper V2 MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 Amazon Scraper V2,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 Amazon Scraper V2 MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 Amazon Scraper V2 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Amazon Scraper V2 MCP 连接到 TypingMind?

Amazon Scraper V2 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Amazon Scraper V2 MCP 在 TypingMind 中提供哪些工具?

Amazon Scraper V2 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Amazon Scraper V2 MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 Amazon Scraper V2 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇