跳转到主要内容
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; 可选
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

普通用户参考价格:每次成功交付查询 $0.1 USD。 一次交付指返回至少一个请求字段的实体,或一页结果集。 未交付查询结果时不收费。 使用已存结果:$0.1 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