Skip to main content
The /api/amazon/category endpoint returns the full details of a single Amazon product category — including its subcategories, a paginated list of products, and metadata such as its breadcrumb path. Use this endpoint to power category browse pages, populate product grids, or walk the Amazon category tree by following the subcategories array into deeper levels.

Request


GET https://api.glade.dev/api/amazon/category
string
required
The Amazon category node ID you want to browse. Retrieve valid IDs from the /api/amazon/categories endpoint. For example, 7141123011 corresponds to the Headphones category on amazon.com.
string
default:"US"
The Amazon marketplace to query. Accepted values: US, UK, CA, DE, FR, IT, ES, AU, IN, MX, BR, JP, PL. Defaults to US when omitted.
integer
The page number of product results to return. Must be 1 or greater. Omit to retrieve the first page.
string
The sort order applied to product results. Common values include featured, price-asc-rank, price-desc-rank, review-rank, and date-desc-rank. When omitted, Amazon’s default featured sort is used.

Response

A successful response returns data.amazonProductCategory.
object

Example response

Curl example

Error handling

If a required parameter is missing or invalid, the API returns a non-2xx status code with a JSON error body. Always check the success field before reading data.

Example error response