Skip to main content
GET
Amazon: Get category statistics

Request contract

  • Method and path: GET /apis/v1/commerce/amazon/categories/{country}/{category_id}/statistics
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/commerce/amazon/categories/{country}/{category_id}/statistics
  • country: path; required
  • category_id: path; required
  • period: query; required
  • date: query; optional
  • top_n: query; optional
  • new_product: query; optional
  • namespace: query; optional
  • fields: query; optional
  • provenance: query; optional
  • Runtime facts: e4ea23246d148272326d4d18f79f43b8fa99cd58edd96f4f3759a860c1c99cf8
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

A request reference price is not currently available; use a request quote where supported. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.

Authorizations

Authorization
string
header
required

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

Path Parameters

country
enum<string> | null
required

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

Available options:
US
category_id
string
required

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}$

Query Parameters

period
enum<string> | null
required

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.

Available options:
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
default:amazon.browse_node

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

Available options:
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
default: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.

Available options:
compact,
full

Response

Success

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