Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Amazon Products By Category

API 文件
https://api.sandbase.ai/v1/api/amazon/category-products

Get paginated Amazon products for a numeric category node in a selected country marketplace, with configurable result sorting.

價格
$0.014286美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 3 個選填

Playground

輸入
Numeric Amazon category node ID taken from the node query parameter of a category URL.
Country code for the Amazon product.
Sort by.
Page number for pagination.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Amazon Products By Category API

Returns a page of Amazon products listed under one category node in a chosen country marketplace. You send a numeric categoryId and can set country, sortBy and page. Each product includes its ASIN, title, rating, offer count and listing badges.

Use cases

  • Find discounted listings in one category by comparing product_original_price with the current listed amount.
  • Rank a category with sortBy set to BEST_SELLERS or REVIEWS to find top items.
  • Build a catalog of ASINs in a category, then fetch full details for each one.
  • Compare the same category across country marketplaces by changing country.

Request

curl -X POST "https://api.sandbase.ai/v1/api/amazon/category-products" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"categoryId": "electronics"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
categoryIdstringYesNumeric Amazon category node ID taken from the node query parameter of a category URL.
countrystringNoCountry code for the Amazon product.
pageintegerNoPage number for pagination.
sortBystringNoSort by.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "country": "US",
  "domain": "www.amazon.com",
  "products": [
    {
      "asin": "B0FHJ7TKZM",
      "climate_pledge_friendly": true,
      "currency": "USD",
      "delivery": "Join Prime to get FREE delivery Tomorrow, Nov 4Or Non-members get FREE delivery …",
      "has_variations": true,
      "is_amazon_choice": false,
      "is_best_seller": false,
      "is_prime": true,
      "product_badge": "Limited Prime deal",
      "product_minimum_offer_price": "$39.99",
      "product_num_offers": 1,
      "product_num_ratings": 8292
    }
  ],
  "total_products": 917494
}

Response fields

FieldMeaning
total_productsTotal number of products reported for the category. Use it to plan how many pages to request.
country / domainThe marketplace country code and the Amazon domain used for the results, such as US and www.amazon.com.
products[].asinThe Amazon product ID. Use it to look up the product in other APIs.
products[].product_titleThe product title as shown in the listing.
products[].product_price / products[].product_original_price / products[].product_minimum_offer_priceThe current listed amount, the original amount before a discount, and the lowest offer amount. All are strings that include the currency symbol.
products[].currencyThe currency code for the amounts, such as USD.
products[].product_star_rating / products[].product_num_ratingsThe average star rating as a string and the number of ratings.
products[].product_num_offersThe number of offers shown for the product.
products[].is_prime / products[].is_best_seller / products[].is_amazon_choice / products[].climate_pledge_friendlyBoolean flags for Prime eligibility and listing badges.
products[].sales_volumeText such as 10K+ bought in past month.
products[].product_url / products[].product_photoThe product page link and the main image link.

Notes

  • Take categoryId from the node query parameter of an Amazon category URL.
  • Set page to get more results. It starts at 1 by default.
  • To get full data for one item, pass its asin to Amazon Product Details.

Pricing

$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相關 APIs

所有 APIs
API價格回應
Amazon每次呼叫 $0.014286JSON
Amazon每次呼叫 $0.0033 起JSON
Amazon每次呼叫 $0.00015非同步 JSON
Amazon每次呼叫 $0.014286JSON
Amazon每次呼叫 $0.00085 起JSON
Amazon每次呼叫 $0.01JSON

指南:Best Amazon API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Amazon Products By Category API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/amazon/category-products。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Amazon Products By Category API 的費用是多少?

每次 $0.014286,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Amazon Products By Category API 接受哪些參數?

必要:categoryId (string)。 選填:country(US, AU, BR, CA, CN, FR, DE, IN, IT, MX, NL, SG, ES, TR, AE, GB, JP, SA, PL, SE, BE, EG, ZA, IE 之一), sortBy(RELEVANCE, LOWEST_PRICE, HIGHEST_PRICE, REVIEWS, NEWEST, BEST_SELLERS 之一) 和 page (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Amazon Products By Category API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Amazon 開發者帳號或 API 金鑰嗎?

不需要。Amazon Products By Category 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Amazon API 存取權。