Amazon · E-commerce
Products of a category
Send category IDs and a marketplace; get the category's products with ASIN, title, price, rating, rating count and badges.
POST/v1/amazon/category
$0.004per record
- 1,000 records
- ≈ $4.00
- minimum per page of 10 records
- $0.017968
Works with trial balancePages with a cursor
Send it
POST with a JSON body, or GET with the same parameters in the query string. Your key goes in the Authorization header.
curl -X POST "https://api.silklinedata.com/v1/amazon/category" \
-H "Authorization: Bearer $SILKLINE_KEY" \
-H "Content-Type: application/json" \
-d '{"limit":5,"categoryIds":["172282"],"country":"US"}'import os, requests
response = requests.post(
"https://api.silklinedata.com/v1/amazon/category",
headers={"Authorization": "Bearer " + os.environ["SILKLINE_KEY"]},
json={
"limit": 5,
"categoryIds": ["172282"],
"country": "US",
},
)
answer = response.json()
print(answer["data"], answer["meta"]["charged_usd"])const response = await fetch("https://api.silklinedata.com/v1/amazon/category", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.SILKLINE_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({
"limit": 5,
"categoryIds": [
"172282"
],
"country": "US"
}),
});
const { data, cursor, meta } = await response.json();
console.log(data, meta.charged_usd);What comes back
Records from a real request on 2026-11-09. Names, avatars and profile links of ordinary users show as <masked>; long text is cut here, not in the API.
{
"data": [
{
"type": "product",
"asin": "B0FQFB8FMG",
"url": "https://www.amazon.com/dp/B0FQFB8FMG",
"categoryId": "172282",
"title": "Apple AirPods Pro 3 Wireless Earbuds …",
"subtitle": "Live Translation, Heart Rate Sensing,…",
"priceText": "$199.00",
"price": 199,
"originalPriceText": "$249.00",
"originalPrice": 249,
"currency": "USD",
"unitCount": null,
"unitPriceText": null,
"rating": 4.4,
"ratingCount": 17684,
"offerCount": 7,
"lowestOfferPriceText": "$183.44",
"isBestSeller": false,
"isAmazonChoice": false,
"isPrime": true,
"isClimatePledgeFriendly": false,
"hasVariations": false,
"badge": null,
"couponText": null,
"salesVolumeText": "10K+ bought in past month",
"salesVolume": 10000,
"delivery": "Join Prime to get FREE delivery Tomor…",
"bookFormat": null,
"imageUrl": "https://m.media-amazon.com/images/I/6…",
"country": "US",
"domain": "www.amazon.com"
},
{
"type": "product",
"asin": "B07RZ3LSHM",
"url": "https://www.amazon.com/dp/B07RZ3LSHM",
"categoryId": "172282",
"title": "Complete Protect: One plan covers eli…",
"subtitle": null,
"priceText": "$16.99",
"price": 16.99,
"originalPriceText": null,
"originalPrice": null,
"currency": "USD",
"unitCount": null,
"unitPriceText": null,
"rating": 4.3,
"ratingCount": 11602,
"offerCount": 1,
"lowestOfferPriceText": "$16.99",
"isBestSeller": false,
"isAmazonChoice": false,
"isPrime": false,
"isClimatePledgeFriendly": false,
"hasVariations": false,
"badge": null,
"couponText": null,
"salesVolumeText": null,
"salesVolume": null,
"delivery": null,
"bookFormat": null,
"imageUrl": "https://m.media-amazon.com/images/I/4…",
"country": "US",
"domain": "www.amazon.com"
}
],
"cursor": "c1.Hq8vR2mTn5wK.yJ0dXA…",
"meta": {
"request_id": "req_01JD8Q…",
"charged_usd": "0.017968",
"balance_usd": "9.875000",
"items": 2
}
}Fields 31
| Field | Type | Example value |
|---|---|---|
| type | string | product |
| asin | string | B0FQFB8FMG |
| url | string | https://www.amazon.com/dp/B0FQFB8FMG |
| categoryId | string | 172282 |
| title | string | Apple AirPods Pro 3 Wireless Earbuds with Active Noise Cance… |
| subtitle | string | Live Translation, Heart Rate Sensing, Hearing Aid Feature, B… |
| priceText | string | $199.00 |
| price | number | 199 |
| originalPriceText | string | $249.00 |
| originalPrice | number | 249 |
| currency | string | USD |
| unitCount | null | null |
| unitPriceText | null | null |
| rating | number | 4.4 |
| ratingCount | number | 17684 |
| offerCount | number | 7 |
| lowestOfferPriceText | string | $183.44 |
| isBestSeller | boolean | false |
| isAmazonChoice | boolean | false |
| isPrime | boolean | true |
| isClimatePledgeFriendly | boolean | false |
| hasVariations | boolean | false |
| badge | null | null |
| couponText | null | null |
| salesVolumeText | string | 10K+ bought in past month |
| salesVolume | number | 10000 |
| delivery | string | Join Prime to get FREE delivery Tomorrow, Nov 10Or Non-membe… |
| bookFormat | null | null |
| imageUrl | string | https://m.media-amazon.com/images/I/61solmQSSlL._AC_UL960_FM… |
| country | string | US |
| domain | string | www.amazon.com |
Parameters 3
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| limit | integer | no | How many records to return, 1 to 100. A request never returns more than this. | 5 |
| categoryIds | array | yes | Numeric Amazon category IDs (for example 172282 for Electronics), or category links that contain node=<ID>. | ["172282"] |
| country | string | no | The Amazon marketplace to read (US = amazon.com, DE = amazon.de, JP = amazon.co.jp ...). | US |
Paging
Send the cursor of the last answer back with the same parameters to get the next page. Each page is a request of its own, charged on its own; the last page has cursor null.
const params = {"categoryIds":["172282"],"country":"US"};
const records = [];
let cursor = null;
do {
const response = await fetch("https://api.silklinedata.com/v1/amazon/category", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.SILKLINE_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ ...params, limit: 100, ...(cursor ? { cursor } : {}) }),
});
const answer = await response.json();
records.push(...answer.data);
cursor = answer.cursor;
} while (cursor);
console.log(records.length);What a request costs
You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged.
Here a page holds up to 10 records and its minimum is $0.017968; a request for 100 records reads 10 pages.
- 1 record: up to $0.017968
- 20 records: up to $0.08
- 100 records: up to $0.40
The response's meta says what was charged (charged_usd) and what is left (balance_usd). Errors on our side are not charged.
Questions
What parameters does Products of a category take?
Required: categoryIds. Optional: country. Every request also takes limit (1 to 100).
How many records does one request return?
Up to 100 (limit 1 to 100). A page holds up to 10 records, so 100 records take 10 pages in one request.
Can I page through more results?
Yes. While the answer carries a cursor, send it back with the same parameters for the next batch.
How much does it cost?
Per record: record $0.004. The minimum is $0.017968 per page: with few records or none, a request pays at most that for each page it reads, possibly less. 100 records cost at most $0.40.
What does a request cost when it fails or comes back empty?
You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged. Each answer's meta says what the request was charged and the balance left.