Products By Category
Retrieves paginated Amazon products for a numeric category node in a selected country marketplace, with configurable result sorting. Use it to browse a category, compare assortments, or collect category-specific product candidates.
Parameters
| Name | Required | Type | Description | Example | Allowed values |
|---|---|---|---|---|---|
category_id |
Required | string | Numeric Amazon category node ID taken from the node query parameter of a category URL. | 172282 |
— |
country |
Optional | string | Country code for the Amazon product. Available Values: - `US`: United States - `AU`: Australia - `BR`: Brazil - `CA`: Canada - `CN`: China - `FR`: France - `DE`: Germany - `IN`: India - `IT`: Italy - `MX`: Mexico - `NL`: Netherlands - `SG`: Singapore - `ES`: Spain - `TR`: Turkey - `AE`: United Arab Emirates - `GB`: United Kingdom - `JP`: Japan - `SA`: Saudi Arabia - `PL`: Poland - `SE`: Sweden - `BE`: Belgium - `EG`: Egypt - `ZA`: South Africa - `IE`: Ireland | US |
USAUBRCACNFRDEINITMXNLSG |
sort_by |
Optional | string | Sort by. Available Values: - `RELEVANCE`: Relevance - `LOWEST_PRICE`: Lowest Price - `HIGHEST_PRICE`: Highest Price - `REVIEWS`: Reviews - `NEWEST`: Newest - `BEST_SELLERS`: Best Sellers | RELEVANCE |
RELEVANCELOWEST_PRICEHIGHEST_PRICEREVIEWSNEWESTBEST_SELLERS |
page |
Optional | integer | Page number for pagination. | 1 |
— |
Code samples
curl -G "https://api.mofa-ai.com/v1/amazon/get_category_products_v1" \
-H "Authorization: Bearer $MOFA_API_KEY" \
--data-urlencode 'category_id=172282' \
--data-urlencode 'country=US' \
--data-urlencode 'sort_by=RELEVANCE' \
--data-urlencode 'page=1'
import os
import requests
resp = requests.get(
"https://api.mofa-ai.com/v1/amazon/get_category_products_v1",
headers={"Authorization": f"Bearer {os.environ['MOFA_API_KEY']}"},
params={
"category_id": "172282",
"country": "US",
"sort_by": "RELEVANCE",
"page": "1",
},
timeout=60,
)
body = resp.json()
if body["success"]:
print(body["cost_usd"], body["data"])
else:
print(body["error"], body["message"])
const url = new URL("https://api.mofa-ai.com/v1/amazon/get_category_products_v1");
url.search = new URLSearchParams({
category_id: "172282",
country: "US",
sort_by: "RELEVANCE",
page: "1",
});
const resp = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.MOFA_API_KEY}` },
});
const body = await resp.json();
if (body.success) console.log(body.cost_usd, body.data);
else console.error(body.error, body.message);
Try it
Sign in to call this endpoint from this page. Successful calls are billed to your balance, failed calls are free, and new accounts get $0.50 of trial credit.
Example response
Captured 2026-11-08, took 2118 ms · Request parameters {"page": "1", "country": "US", "sort_by": "RELEVANCE", "category_id": "172282"}
JSON
{
"success": true,
"code": 0,
"message": "success",
"request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
"endpoint": "amazon.get_category_products_v1",
"cost_usd": 0.02,
"data": {
"code": 0,
"data": {
"domain": "www.amazon.com",
"country": "US",
"products": [
{
"asin": "B0FQFB8FMG",
"currency": "USD",
"delivery": "FREE delivery Mon, Nov 23",
"is_prime": false,
"unit_count": null,
"product_url": "https://www.amazon.com/dp/B0FQFB8FMG",
"sales_volume": "10K+ bought in past month",
"product_photo": "https://m.media-amazon.com/images/I/61solmQSSlL._AC_UL960_FMwebp_QL65_.jpg",
"product_price": "$199.00",
"product_title": "Apple AirPods Pro 3 Wireless Earbuds with Active Noise Cancellation",
"has_variations": false,
"is_best_seller": false,
"product_byline": "Live Translation, Heart Rate Sensing, Hearing Aid Feature, Bluetooth Headphones, Spatial Audio, USB-C Charging",
"is_amazon_choice": false,
"product_num_offers": 7,
"product_num_ratings": 17580,
"product_star_rating": "4.4",
"product_original_price": "$249.00",
"climate_pledge_friendly": false,
"product_minimum_offer_price": "$183.44"
},
{
"asin": "B07RZ3LSHM",
"currency": "USD",
"delivery": null,
"is_prime": false,
"unit_count": null,
"product_url": "https://www.amazon.com/dp/B07RZ3LSHM",
"sales_volume": null,
"product_photo": "https://m.media-amazon.com/images/I/41UPkD0ruML._AC_UL960_FMwebp_QL65_.jpg",
"product_price": "$16.99",
"product_title": "Complete Protect: One plan covers eligible past & future Amazon Purchases",
"has_variations": false,
"is_best_seller": false,
"is_amazon_choice": false,
"product_num_offers": 1,
"product_num_ratings": 11571,
"product_star_rating": "4.3",
"product_original_price": null,
"climate_pledge_friendly": false,
"product_minimum_offer_price": "$16.99"
},
"… +22"
],
"total_products": 89318
},
"message": null,
"requestId": "a8485ba592254ed7bb32c5076e96ab15",
"recordTime": "2026-11-08T08:00:25.870813728",
"requestParams": {
"body": null,
"query": {
"page": "1",
"sortBy": "RELEVANCE",
"country": "US",
"categoryId": "172282"
}
}
}
}