Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Amazon Products By Category

Tài liệu 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.

Giá
$0.014286USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 3 tùy chọn

Phòng thử nghiệm

Đầu vào
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.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Amazon$0.014286 mỗi lần gọiJSON
AmazonTừ $0.0033 mỗi lần gọiJSON
Amazon$0.00015 mỗi lần gọiJSON bất đồng bộ
Amazon$0.014286 mỗi lần gọiJSON
AmazonTừ $0.00085 mỗi lần gọiJSON
Amazon$0.01 mỗi lần gọiJSON

Hướng dẫn:Best Amazon API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Amazon Products By Category?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/amazon/category-products với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Amazon Products By Category có giá bao nhiêu?

$0.014286 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Amazon Products By Category chấp nhận những tham số nào?

Bắt buộc: categoryId (string). Tùy chọn: country (một trong số 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 (một trong số RELEVANCE, LOWEST_PRICE, HIGHEST_PRICE, REVIEWS, NEWEST, BEST_SELLERS) và page (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Amazon Products By Category trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Amazon không?

Không. Amazon Products By Category chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Amazon.