# Amazon 美国站详情采集 (`affectionate_mound/amazon-us-detail-http`) Actor

输入单个或批量 ASIN，通过 HTTP 与 Apify Proxy 采集 Amazon 美国站详情页的标题、五点、当前售价、价格分层、购物车、卖家、可售与评分状态。

- **URL**: https://apify.com/affectionate_mound/amazon-us-detail-http.md
- **Developed by:** [Gon](https://apify.com/affectionate_mound) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 asin 详情采集

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Amazon 美国站商品详情采集

输入一个或多个 Amazon 美国站 ASIN，获得商品详情页的结构化页面证据。适合价格监控、选品复核、商品资料归档与自动化工作流。

### 采集内容

每个 ASIN 会生成一条 Dataset 记录，尽可能包含：

- ASIN、最终商品 URL、canonical ASIN 与身份校验结果；
- 标题、子标题、品牌、五点描述；
- 当前选中子体的可信页面售价 `price`；
- 当前展示价、明确标注的划线价、单位参考价、Deal 价、Sale 价、优惠券文案；
- 当前选中变体；
- 是否可售、可售文案；
- 星级、评分数；
- 是否存在主购物车、是否有明确的丢购物车证据；
- 购物车卖家名称与原始卖家文案；
- 验证码/机器人页、Amazon 狗页、缺货、身份不一致等页面状态。

### 输入示例

单个 ASIN：

```json
{
  "asin": "B0ABC12345"
}
```

### 计费说明

- 每个提交处理的 ASIN 收费 **$0.005（$5 / 1,000 个）**；
- 每次运行另收一次 **$0.01 运行基础费**；
- 批量运行只收一次基础费，并按提交的 ASIN 数量逐个计费；
- 每条结果都会返回页面状态，方便调用方据此筛选可用详情；
- 用户可在运行前设置最高消费上限。

批量 ASIN（最多 20 个）：

```json
{
  "asins": ["B0ABC12345", "B0DEF67890"]
}
```

### 可信售价规则

只有同时满足以下条件，`price` 才会写入：

1. 页面能证明属于请求的 ASIN 或目标子体；
2. 页面不是验证码、机器人页或 Amazon 狗页；
3. 商品不是明确缺货状态；
4. 页面出现当前选中子体的展示售价。

划线价、单位参考价、Deal 价、Sale 价和优惠券会单独输出，绝不会替代 `price`。页面明确缺货时，`allow_list_price_fallback` 只是一项状态提示，不会把其他价格冒充为详情售价。

### 购物车与卖家说明

- `has_main_buybox=true`：检测到主购物车与加入购物车按钮；
- `lost_buybox=true`：页面明确出现“查看全部报价”等替代购买入口且没有主购物车；
- `lost_buybox=null`：页面证据不足，不做猜测；
- `buybox_seller_name` 仅在页面商家模块可读取时返回。

### 运行方式与限制

- 仅支持 Amazon 美国站 `amazon.com`；
- 单次最多 20 个 ASIN，最多 2 个并发；
- 默认使用美国住宅代理；每个 ASIN 使用独立代理会话，页面异常时会换会话重试一次；
- Amazon 页面结构、库存、价格、购物车和卖家会实时变化，字段可能为空；
- 不采集 Keepa、销量、BSR、历史趋势、全部 SKU 矩阵、精确库存或配送承诺。

请遵守 Amazon 的规则，仅将结果用于你拥有权限的业务分析与工作流。

# Actor input Schema

## `asin` (type: `string`):

10 位 Amazon ASIN，例如 B0ABC12345。

## `asins` (type: `array`):

最多 20 个美国站 ASIN；自动去重，每个 ASIN 独立代理会话采集并按提交数量计费。

## `proxySettings` (type: `object`):

默认使用美国住宅代理。每个 ASIN 使用独立代理会话；页面异常时切换会话重试。

## Actor input object example

```json
{
  "proxySettings": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `results` (type: `string`):

按 ASIN 返回的商品详情、价格与可售状态。

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "proxySettings": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("affectionate_mound/amazon-us-detail-http").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "proxySettings": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    } }

# Run the Actor and wait for it to finish
run = client.actor("affectionate_mound/amazon-us-detail-http").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "proxySettings": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call affectionate_mound/amazon-us-detail-http --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,affectionate_mound/amazon-us-detail-http"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/92vzlnRW7UUO9ONm4/builds/WtNaK3VnNRIbcfWYp/openapi.json
