跳转到主要内容
GET
Amazon: Get category statistics

请求规范

  • 方法与路径: GET /apis/v1/commerce/amazon/categories/{country}/{category_id}/statistics
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/commerce/amazon/categories/{country}/{category_id}/statistics
  • country: path; 必填
  • category_id: path; 必填
  • period: query; 必填
  • date: query; 可选
  • top_n: query; 可选
  • new_product: query; 可选
  • namespace: query; 可选
  • fields: query; 可选
  • provenance: query; 可选
  • Runtime 事实版本: e4ea23246d148272326d4d18f79f43b8fa99cd58edd96f4f3759a860c1c99cf8
完整 OpenAPI 定义 有效请求与价格声明(包括认证和引用的 schema):

费用与请求规则

当前未提供请求参考价格;请使用接口支持的报价功能确认费用。 最终费用以账户适用价格及实际结算为准。 公开参考值不是你的账户报价或最终扣费。对于支持 X-AISA-Cost-Mode: quote 的接口,执行前请针对完整请求获取免费报价;执行后通过响应费用元数据和 Usage Logs 核对结算费用。1 USD 等于 1,000,000 个整数 micro-USD。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

country
enum<string> | null
必填

Marketplace country as an uppercase ISO 3166-1 alpha-2 code (GB, not UK). See the enum for supported countries.

可用选项:
US
category_id
string
必填

Category ID returned by the category endpoint for the same platform. Amazon Browse Node ID, for example 23883894011. Colon-separated category paths are not accepted.

Pattern: ^[1-9][0-9]{0,18}$

查询参数

period
enum<string> | null
必填

Reporting window. 1d, 7d, 30d, and 90d are rolling windows ending at the latest update; calendar_month and calendar_week select the calendar period identified by date. See the enum for supported values.

可用选项:
30d,
calendar_month
date
string<date> | null

Date identifying a calendar period, in YYYY-MM-DD format. See operation-specific notes for the required day of the week or month.

top_n
string | null

Sample size for top_n_* metrics; these metrics cover only the top N products.

new_product
string | null

Definition of a new product used by new_product_* metrics.

namespace
enum<string> | null
默认值:amazon.browse_node

ID namespace. Defaults to the namespace used by this operation.

可用选项:
amazon.browse_node
fields
string[] | null

Comma-separated business field paths to return. Omit to use this operation's default field selection. Only fields mapped by this operation are accepted. Field selection determines which sources are requested. Default fields may exclude optional data, such as inventory probes, which must be explicitly selected.

provenance
enum<string> | null
默认值:compact

compact (default) returns value and source per field. Shared collection time, license, origin, and value_type are grouped in meta.sources; differing values retain their own metadata. full returns complete per-value provenance, including precision and confidence.

可用选项:
compact,
full

响应

Success

fields
object | null
key
string | null
kind
string | null
meta
object | null
missing
(object | null)[] | null