# 产品详情与销售趋势

查询一个 Amazon ASIN 的详情与近 15 天可用趋势。区分 ASIN 公布销量与 Listing 估算销量、销售额。评论请使用商品评论任务。

ID: native-http:commerce.amazon.product.detail · Region: cn · Status: unknown

catalog_version: 5c920c774a55e44d7e8c709143b88a18b8b2afcef91a5d19a8c9ae5d565d9077
updated_at: 2026-10-21T12:06:16.523771+00:00

缓存资料；当前可用状态待核实。

查询一个 Amazon ASIN 的详情与近 15 天可用趋势。区分 ASIN 公布销量与 Listing 估算销量、销售额。评论请使用商品评论任务。

历史数据以数据集发布版本定义覆盖周期；实时读取反映请求时资料，不保证覆盖全部记录。

Docs: https://docs.asklear.cn/capabilities/native-http%3Acommerce.amazon.product.detail

## POST /v1/native/commerce/amazon/products/detail

native · unknown · api_key

REST 需要客户 API Key；MCP 需要已开放的服务及现有授权；CLI 需要已发布且包含该命令的客户端。

查询一个 Amazon ASIN 的详情与近 15 天可用趋势。区分 ASIN 公布销量与 Listing 估算销量、销售额。评论请使用商品评论任务。

按成功请求计费，每次请求计一次；max_credits 限制本次费用上限。

恢复同一次原生请求时复用原 Idempotency-Key。

等待态响应提供结果/状态引用。先读取原结果；超时或结果不明时禁止自动重新提交付费执行。401/403/422 应先修正鉴权、权限或输入。

### Input schema / 输入契约

```json
{
  "$defs": {
    "Schema1": {}
  },
  "additionalProperties": false,
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "QueryTrendEndDt": {
          "description": "YYYY-MM-DD; provide together with QueryTrendStartDt and include_trends=\"true\". Must be on or after the start date, with at most 15 inclusive days.",
          "format": "date",
          "type": "string"
        },
        "QueryTrendStartDt": {
          "description": "YYYY-MM-DD; provide together with QueryTrendEndDt and include_trends=\"true\". The inclusive window must contain at most 15 days.",
          "format": "date",
          "type": "string"
        },
        "country": {
          "default": "US",
          "description": "Country maps to provider domain ID 1..14",
          "enum": [
            "US",
            "GB",
            "DE",
            "FR",
            "IN",
            "CA",
            "JP",
            "ES",
            "IT",
            "MX",
            "AE",
            "AU",
            "BR",
            "SA"
          ],
          "type": "string"
        },
        "include_trends": {
          "default": "true",
          "description": "String \"true\" includes trends; string \"false\" excludes them. Defaults to \"true\".",
          "enum": [
            "true",
            "false"
          ],
          "type": "string"
        },
        "product": {
          "description": "One ASIN or one Amazon product URL matching country; comma-separated ASIN lists are not accepted.",
          "maxLength": 2048,
          "minLength": 10,
          "type": "string"
        }
      },
      "required": [
        "product"
      ],
      "type": "object"
    },
    "max_credits": {
      "anyOf": [
        {
          "maximum": 1000000000,
          "minimum": 0,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "task_query": {
      "anyOf": [
        {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional task attribution: when provided, write one concise, self-contained task_query in the user's language and reuse that exact value in every call for the task, including discovery, search, approval retry, results, export, and status checks. For MCP calls, when omitted, Asklear records a generic non-user-specific attribution so compatible clients can still call the tool. REST calls may omit it and remain unattributed. It is a task description, not a task identifier. Do not include hidden reasoning, credentials, or direct personal identifiers such as phone numbers, email addresses, identity numbers, or street addresses.",
          "maxLength": 300
        },
        {
          "type": "null"
        }
      ],
      "default": null
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}
```

### Synthetic request / 合成请求

```json
{
  "input": {
    "product": "B09V3KXJPB"
  }
}
```

### Response schema / 响应契约

```json
{
  "$defs": {
    "Schema1": {},
    "Schema2": {
      "properties": {
        "api_name": {
          "type": "string"
        },
        "credits_charged": {
          "minimum": 0,
          "type": "integer"
        },
        "latency_ms": {
          "minimum": 0,
          "type": "integer"
        },
        "next_input": {
          "anyOf": [
            {
              "additionalProperties": false,
              "properties": {
                "QueryTrendEndDt": {
                  "format": "date",
                  "type": "string"
                },
                "QueryTrendStartDt": {
                  "format": "date",
                  "type": "string"
                },
                "country": {
                  "default": "US",
                  "enum": [
                    "US",
                    "GB",
                    "DE",
                    "FR",
                    "IN",
                    "CA",
                    "JP",
                    "ES",
                    "IT",
                    "MX",
                    "AE",
                    "AU",
                    "BR",
                    "SA"
                  ],
                  "type": "string"
                },
                "include_trends": {
                  "default": "true",
                  "enum": [
                    "true",
                    "false"
                  ],
                  "type": "string"
                },
                "product": {
                  "maxLength": 2048,
                  "minLength": 10,
                  "type": "string"
                }
              },
              "required": [
                "product"
              ],
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "api_name",
        "request_id",
        "latency_ms",
        "credits_charged",
        "next_input"
      ],
      "type": "object"
    }
  },
  "properties": {
    "data": {
      "additionalProperties": true,
      "description": "Known optional fields from sanitized offline fixtures; conditional fields may be null. Additional business fields are retained.",
      "properties": {
        "Code": {
          "type": [
            "integer",
            "null"
          ]
        },
        "Data": {
          "additionalProperties": true,
          "properties": {
            "Asin": {
              "type": [
                "string",
                "null"
              ]
            },
            "Title": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "meta": {
      "$ref": "#/$defs/Schema2"
    }
  },
  "required": [
    "data",
    "meta"
  ],
  "type": "object"
}
```

### Synthetic response / 合成响应

```json
{
  "data": {
    "Code": 0,
    "Data": {
      "Asin": "B000000001",
      "Title": "Synthetic product"
    }
  },
  "meta": {
    "api_name": "commerce.amazon.product.detail",
    "credits_charged": 10,
    "latency_ms": 12,
    "next_input": null,
    "request_id": "asklear-example"
  }
}
```

- data (object): Known optional fields from sanitized offline fixtures; conditional fields may be null. Additional business fields are retained.
- data.Code (integer|null): 暂无字段说明
- data.Data (object|null): 暂无字段说明
- data.Data.Asin (string|null): 返回商品的 ASIN，可传给产品详情或商品评论任务。
- data.Data.Title (string|null): 商品名称。
- meta (object): 暂无字段说明
- meta.api_name (string): 暂无字段说明
- meta.request_id (string): 暂无字段说明
- meta.latency_ms (integer): 暂无字段说明
- meta.credits_charged (integer): 暂无字段说明
- meta.next_input (scalar): 暂无字段说明
- meta.next_input.QueryTrendEndDt (string): 暂无字段说明
- meta.next_input.QueryTrendStartDt (string): 暂无字段说明
- meta.next_input.country (string): 暂无字段说明
- meta.next_input.include_trends (string): 暂无字段说明
- meta.next_input.product (string): 暂无字段说明

Follow up: GET /v1/native/results/{query_id}
读取已保存结果，不重复查询数据或收费。

