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

Try it in the console

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"}'

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.

200 OK · fetched 2026-11-09
{
  "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

FieldTypeExample value
typestringproduct
asinstringB0FQFB8FMG
urlstringhttps://www.amazon.com/dp/B0FQFB8FMG
categoryIdstring172282
titlestringApple AirPods Pro 3 Wireless Earbuds with Active Noise Cance…
subtitlestringLive Translation, Heart Rate Sensing, Hearing Aid Feature, B…
priceTextstring$199.00
pricenumber199
originalPriceTextstring$249.00
originalPricenumber249
currencystringUSD
unitCountnullnull
unitPriceTextnullnull
ratingnumber4.4
ratingCountnumber17684
offerCountnumber7
lowestOfferPriceTextstring$183.44
isBestSellerbooleanfalse
isAmazonChoicebooleanfalse
isPrimebooleantrue
isClimatePledgeFriendlybooleanfalse
hasVariationsbooleanfalse
badgenullnull
couponTextnullnull
salesVolumeTextstring10K+ bought in past month
salesVolumenumber10000
deliverystringJoin Prime to get FREE delivery Tomorrow, Nov 10Or Non-membe…
bookFormatnullnull
imageUrlstringhttps://m.media-amazon.com/images/I/61solmQSSlL._AC_UL960_FM…
countrystringUS
domainstringwww.amazon.com

Parameters 3

NameTypeRequiredDescriptionExample
limitintegernoHow many records to return, 1 to 100. A request never returns more than this.5
categoryIdsarrayyesNumeric Amazon category IDs (for example 172282 for Electronics), or category links that contain node=<ID>.["172282"]
countrystringnoThe 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.

JavaScript
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.