Amazon Category Products
Use the Amazon Category Products API for Amazon market analysis. Review request parameters, response fields, and runnable examples.
/v1 /amazon /markets /productsAPI data samples
Inspect the request body and complete response shape used by this endpoint.
{
"categoryId": "678533011",
"marketplace": "US"
}{
"request_id": "f3291e94-5415-5676-8000-406e29c160c7",
"data": [
{
"asin": "B07PFYT8MC",
"parent_asin": "B0GCYRZLVQ",
"title": "Reynolds Kitchens Unbleached Parchment Paper Roll, 45sq ft",
"sub_title": "Chlorine-Free, Nonstick Baking Parchment Paper, Microwave and Oven Safe To 425F, Fits Standard Baking Sheets, 12 in x 45 ft",
"brand": "Reynolds",
"main_image": [
"https://m.media-amazon.com/images/W/BW_MEDIAX_AVIF_MEASUREMENT_1306696-T4/images/I/71fSQYVwU7L._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/W/BW_MEDIAX_AVIF_MEASUREMENT_1306696-T4/images/I/71vzXKJ23aL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/W/BW_MEDIAX_AVIF_MEASUREMENT_1306696-T4/images/I/91DimLA68mL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/W/BW_MEDIAX_AVIF_MEASUREMENT_1306696-T4/images/I/91IVB63n0+L._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/W/BW_MEDIAX_AVIF_MEASUREMENT_1306696-T4/images/I/91OWHpHRJpL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/W/BW_MEDIAX_AVIF_MEASUREMENT_1306696-T4/images/I/91gTeF-Ty6L._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/W/BW_MEDIAX_AVIF_MEASUREMENT_1306696-T4/images/I/91b4Pys9c+L._AC_SL1500_.jpg"
],
"price": 3.59,
"sales_price": 2.69,
"list_price": 3.59,
"monthly_sales_volume": 61542,
"monthly_sales_amount": 165547.98,
"yearly_sales_volume": 614542,
"delivery_type": null,
"is_fba": true,
"fba_fee": 3.47,
"fbm_delivery_fee": 0,
"ratings": 4.8,
"rating_count": 24153,
"a_plus": true,
"has_video": false,
"variation_count": 4,
"seller_count": 2,
"buybox_seller": "Amazon",
"online_date": "2019-04-13",
"category": [
"Kitchen & Dining",
"kitchen"
],
"sub_category": [
[
"Baking Parchment",
"678533011",
"3"
]
],
"subcategory_rank": 54
},
{
"asin": "B0B6PLG6G2",
"parent_asin": "B0GLGP515N",
"title": "125Pcs 8 Inch Square Air Fryer Liners Disposable for 5-8QT, Parchment Paper",
"sub_title": "Non-Stick, Unbleached Food Grade, Waterproof Oilproof Baking Airfryer Sheets Papers for Oven, Microwave, Baking, Roasting",
"brand": "vailnd",
"main_image": [
"https://m.media-amazon.com/images/I/710lcyAkSSL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/I/71TaFjnZHLL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/I/71kh4CJ5cvL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/I/713e5byorGL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/I/71sucL4rg1L._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/I/81dHzNvpzDL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/I/71-2IaiPGSL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/I/71DzSSuNL+L._AC_SL1500_.jpg"
],
"price": 8.49,
"sales_price": 8.49,
"list_price": 9.99,
"monthly_sales_volume": 55383,
"monthly_sales_amount": 470201.67,
"yearly_sales_volume": 547623,
"delivery_type": null,
"is_fba": true,
"fba_fee": 6.83,
"fbm_delivery_fee": 0,
"ratings": 4.6,
"rating_count": 34374,
"a_plus": true,
"has_video": true,
"variation_count": 23,
"seller_count": 4,
"buybox_seller": "Amazon",
"online_date": "2022-08-10",
"category": [
"Kitchen & Dining",
"kitchen"
],
"sub_category": [
[
"Baking Parchment",
"678533011",
"1"
]
],
"subcategory_rank": 46
}
]
}Availability: Available
This endpoint is active in the v1 gateway, OpenAPI, and subscription catalog. Each call consumes 1 billing unit, including calls that find nothing (
RESULT_NOT_FOUND).
POST /v1/amazon/markets/products
The request and response fields below match the current public contract.
MCP
| Item | Value |
|---|---|
| MCP Code | amazon_markets_products |
Quick call
First create an API key, then store it in a server-side environment variable:
export ECOMMERCE_DATA_API_KEY="your_api_key"curl --request POST \
--url https://ecommercedataapi.com/v1/amazon/markets/products \
--header "Content-Type: application/json" \
--header "X-API-Key: ${ECOMMERCE_DATA_API_KEY}" \
--data '{
"categoryId": "678533011",
"marketplace": "US"
}'Integrate with an AI CLI
Copy for your AI CLI
Paste this task into Codex, Claude Code, Gemini CLI, or another coding agent.
Integrate the "Amazon Category Products" endpoint from Ecommerce Data API into the current repository. Make the changes directly instead of only returning sample code.
API documentation: https://ecommercedataapi.com/en/docs/amazon/markets/products
Endpoint: POST https://ecommercedataapi.com/v1/amazon/markets/products
API key environment variable: ECOMMERCE_DATA_API_KEY
Example request:
{
"categoryId": "678533011",
"marketplace": "US"
}
Requirements:
1. Read the API documentation first, then inspect the repository's language, framework, HTTP client, directory structure, and environment-variable conventions.
2. Reuse the existing API client and error-handling patterns. If none exist, add the smallest reusable Ecommerce Data API client and an endpoint-specific wrapper.
3. Read the key from the server-side ECOMMERCE_DATA_API_KEY environment variable and send Content-Type: application/json plus the X-API-Key header. Never write a real key into source code, browser code, logs, test snapshots, or Git.
4. If the environment variable is missing, tell me to configure ECOMMERCE_DATA_API_KEY myself. Do not request, print, or invent the real key, and continue implementing code and tests that do not require a live request.
5. Implement request and response types from the documentation. Handle non-2xx responses, request_id, error.code, error.message, and 429 rate limits.
6. Add a minimal usage example or test that follows the repository's conventions. Run one minimal live request only when the key is already configured and external requests are allowed; otherwise use mocks or static validation.
7. Run the relevant formatter, type checker, and tests. Report changed files, usage, verification results, and any environment variable I still need to configure.Open this request in Postman
Download the preconfigured collection for this endpoint, then import it into Postman.
Node.js example
const response = await fetch(
'https://ecommercedataapi.com/v1/amazon/markets/products',
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': process.env.ECOMMERCE_DATA_API_KEY,
},
body: JSON.stringify({
categoryId: '678533011',
marketplace: 'US',
}),
}
);
const result = await response.json();
if (!response.ok) {
throw new Error(`${result.error?.code}: ${result.error?.message}`);
}
console.log(result.data);Python example
import os
import requests
response = requests.post(
"https://ecommercedataapi.com/v1/amazon/markets/products",
headers={
"Content-Type": "application/json",
"X-API-Key": os.environ["ECOMMERCE_DATA_API_KEY"],
},
json={
"categoryId": "678533011",
"marketplace": "US",
},
timeout=30,
)
response.raise_for_status()
print(response.json()["data"])Request body
Send the fields below directly in the JSON body without an extra wrapper. Undefined fields are rejected.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
categoryId | String | Yes | Amazon category (browse node) ID, from Amazon Product Categories or a product’s category path. | 678533011 |
marketplace | String | No | Amazon marketplace code. Supported values are listed in the schema. Available values (Table 1.2): US, JP, UK, DE, FR, IT, ES, CA, IN, MX, BR, AU, AE | US |
page | Integer | No | Page number, 20 results per page. | 1 |
Response structure
| Field | Type | Description |
|---|---|---|
request_id | String | Unique identifier for this request. |
data | Array | Endpoint business data. |
The fields below are inside data. For array endpoints they describe one array item; for paginated endpoints they describe one record in items[].
Response fields
| Field | Type | Description | Example |
|---|---|---|---|
asin | String | Product ASIN. | B07PFYT8MC |
parent_asin | String | Parent ASIN; null if there is no variation parent. | B0GCYRZLVQ |
title | String | Product title. | Reynolds Kitchens Unbleached Parchment Paper Roll, 45sq ft |
sub_title | String | Product subtitle; null if there is none. | Chlorine-Free, Nonstick Baking Parchment Paper, Microwave and Oven Safe To 425F, Fits Standard Baking Sheets, 12 in x 45 |
brand | String | Brand name. | Reynolds |
main_image | Array | Array of main image URLs. | - |
price | Number | Current selling price in USD; -1 means no data for that period. | 3.59 |
sales_price | Number | Selling price after coupon deduction in USD; -1 means no data for that period. | 2.69 |
list_price | Number | Original list (strikethrough) price in USD; -1 means no data for that period. | 3.59 |
monthly_sales_volume | Integer | Estimated monthly sales volume; -1 means no data for that period. | 61542 |
monthly_sales_amount | Number | Estimated monthly sales amount in USD; -1 means no data for that period. | 165547.98 |
is_fba | Boolean | Whether the listing is fulfilled by Amazon FBA; also true for AmzFBA (a third-party seller, e.g. from 1688, shipping via Amazon FBA). | True |
fba_fee | Number | FBA fee in USD; 0 when fulfillment is not FBA; -1 means no data for that period. | 3.47 |
fbm_delivery_fee | Integer | FBM delivery fee in USD; 0 when fulfillment is not FBM; -1 means no data for that period. | 0 |
ratings | Number | Product rating, 0-5. | 4.8 |
rating_count | Integer | Total review count. | 24153 |
a_plus | Boolean | Whether the product has A+ content. | True |
variation_count | Integer | Number of child variations. | 4 |
seller_count | Integer | Total number of sellers for this listing. | 2 |
buybox_seller | String | Name of the buy box seller. | Amazon |
online_date | String | Product launch date, in yyyy-MM-dd format. | 2019-04-13 |
category | Array | Primary category as an array: [category name, categoryId]. | - |
sub_category | Array | Subcategories as a 2D array: [[category name, node_id, rank]]. | - |
subcategory_rank | Integer | Sales rank in the subcategory. | 54 |
Response example
{
"request_id": "f3291e94-5415-5676-8000-406e29c160c7",
"data": [
{
"asin": "B07PFYT8MC",
"parent_asin": "B0GCYRZLVQ",
"title": "Reynolds Kitchens Unbleached Parchment Paper Roll, 45sq ft",
"sub_title": "Chlorine-Free, Nonstick Baking Parchment Paper, Microwave and Oven Safe To 425F, Fits Standard Baking Sheets, 12 in x 45 ft",
"brand": "Reynolds",
"main_image": [
"https://m.media-amazon.com/images/W/BW_MEDIAX_AVIF_MEASUREMENT_1306696-T4/images/I/71fSQYVwU7L._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/W/BW_MEDIAX_AVIF_MEASUREMENT_1306696-T4/images/I/71vzXKJ23aL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/W/BW_MEDIAX_AVIF_MEASUREMENT_1306696-T4/images/I/91DimLA68mL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/W/BW_MEDIAX_AVIF_MEASUREMENT_1306696-T4/images/I/91IVB63n0+L._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/W/BW_MEDIAX_AVIF_MEASUREMENT_1306696-T4/images/I/91OWHpHRJpL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/W/BW_MEDIAX_AVIF_MEASUREMENT_1306696-T4/images/I/91gTeF-Ty6L._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/W/BW_MEDIAX_AVIF_MEASUREMENT_1306696-T4/images/I/91b4Pys9c+L._AC_SL1500_.jpg"
],
"price": 3.59,
"sales_price": 2.69,
"list_price": 3.59,
"monthly_sales_volume": 61542,
"monthly_sales_amount": 165547.98,
"yearly_sales_volume": 614542,
"delivery_type": null,
"is_fba": true,
"fba_fee": 3.47,
"fbm_delivery_fee": 0,
"ratings": 4.8,
"rating_count": 24153,
"a_plus": true,
"has_video": false,
"variation_count": 4,
"seller_count": 2,
"buybox_seller": "Amazon",
"online_date": "2019-04-13",
"category": ["Kitchen & Dining", "kitchen"],
"sub_category": [["Baking Parchment", "678533011", "3"]],
"subcategory_rank": 54
},
{
"asin": "B0B6PLG6G2",
"parent_asin": "B0GLGP515N",
"title": "125Pcs 8 Inch Square Air Fryer Liners Disposable for 5-8QT, Parchment Paper",
"sub_title": "Non-Stick, Unbleached Food Grade, Waterproof Oilproof Baking Airfryer Sheets Papers for Oven, Microwave, Baking, Roasting",
"brand": "vailnd",
"main_image": [
"https://m.media-amazon.com/images/I/710lcyAkSSL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/I/71TaFjnZHLL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/I/71kh4CJ5cvL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/I/713e5byorGL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/I/71sucL4rg1L._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/I/81dHzNvpzDL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/I/71-2IaiPGSL._AC_SL1500_.jpg",
"https://m.media-amazon.com/images/I/71DzSSuNL+L._AC_SL1500_.jpg"
],
"price": 8.49,
"sales_price": 8.49,
"list_price": 9.99,
"monthly_sales_volume": 55383,
"monthly_sales_amount": 470201.67,
"yearly_sales_volume": 547623,
"delivery_type": null,
"is_fba": true,
"fba_fee": 6.83,
"fbm_delivery_fee": 0,
"ratings": 4.6,
"rating_count": 34374,
"a_plus": true,
"has_video": true,
"variation_count": 23,
"seller_count": 4,
"buybox_seller": "Amazon",
"online_date": "2022-08-10",
"category": ["Kitchen & Dining", "kitchen"],
"sub_category": [["Baking Parchment", "678533011", "1"]],
"subcategory_rank": 46
}
]
}See Errors and rate limits for error payloads, request tracing, and rate-limit headers.