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
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Normal-tier reference price: $0.1 USD per delivered read. A delivered read is an entity with at least one requested field, or one page of a result set. A read that delivers nothing is not charged. Stored result: $0.1 USD. Your account price may differ; use a request quote where supported.

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