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

Amazon Product Search

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

Search Amazon marketplace products by keyword or ASIN with country, sort, condition, Prime-only, deals, and page controls.

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

Playground

輸入
Search keyword or ASIN to find Amazon products.
Country code for the Amazon marketplace.
Sort order for Amazon product search results.
Product condition filter for Amazon search results.
Whether to return only Prime-eligible products.
Deals and discounts filter for Amazon search results.
Page number for pagination.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Amazon Product Search API

Returns a page of Amazon search results for a keyword or ASIN. Each product has its ASIN, title, rating, offer count, badges, and delivery text. The only required input is keyword.

Use cases

  • Compare listings for the same keyword across Amazon marketplaces by changing country.
  • Track which products carry the best seller or Amazon's Choice badge for a search term.
  • Find listings that show a discount by setting dealsAndDiscounts to ALL_DISCOUNTS or TODAYS_DEALS.
  • Build a list of ASINs for a keyword and pass them to a product detail lookup.

Request

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

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

Parameters

NameTypeRequiredDescription
keywordstringYesSearch keyword or ASIN to find Amazon products.
countrystringNoCountry code for the Amazon marketplace.
dealsAndDiscountsstringNoDeals and discounts filter for Amazon search results.
isPrimebooleanNoWhether to return only Prime-eligible products.
pageintegerNoPage number for pagination.
productConditionstringNoProduct condition filter for Amazon search results.
sortBystringNoSort order for Amazon product search results.

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": "B0HJHXTRFN",
      "climate_pledge_friendly": false,
      "currency": "USD",
      "delivery": "FREE delivery Thu, Nov 5Or fastest delivery Tomorrow, Nov 4",
      "has_variations": true,
      "is_amazon_choice": false,
      "is_best_seller": false,
      "is_prime": false,
      "product_minimum_offer_price": "$1,549.00",
      "product_num_offers": 1,
      "product_num_ratings": 13,
      "product_original_price": null
    }
  ],
  "total_products": 259
}

Response fields

FieldMeaning
total_productsNumber of products the search matched.
country / domainAmazon marketplace country code and domain that served the search.
products[].asinAmazon product ID. Use it to look up the product elsewhere.
products[].product_titleListing title as shown in the search results.
products[].product_price / products[].product_original_priceCurrent listed amount and the earlier amount shown before a discount, both as formatted strings with a currency symbol. The original amount is null when no discount is shown.
products[].product_minimum_offer_price / products[].product_num_offersLowest amount among the offers for the product, and the number of offers listed.
products[].currencyCurrency code for the amounts on the listing, for example USD.
products[].product_star_rating / products[].product_num_ratingsAverage star rating as a string, and the count of ratings.
products[].is_best_seller / products[].is_amazon_choice / products[].is_prime / products[].climate_pledge_friendlyBoolean flags for the badges and Prime eligibility shown on the listing.
products[].sales_volumeText such as 1K+ bought in past month.
products[].product_url / products[].product_photoLink to the product page and the main product image URL.

Notes

For two separate Python requests—a keyword search and a manually selected ASIN lookup—see the Amazon research walkthrough. Choose this endpoint's country-code parameters rather than the other Search variant's k and amazon_domain fields.

  • Pass an ASIN such as B0DHJ896RY as keyword to search for a specific product.
  • Use page to get more results. Each response holds one page of products, and total_products shows the overall match count.
  • For full details on one ASIN, call 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.014286JSON
Amazon每次呼叫 $0.00085 起JSON

指南:Best Amazon API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Amazon Product Search API?

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

Amazon Product Search API 的費用是多少?

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

Amazon Product Search API 接受哪些參數?

必要:keyword (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 之一), productCondition(ALL, NEW, USED, RENEWED, COLLECTIBLE 之一), isPrime (boolean), dealsAndDiscounts(NONE, ALL_DISCOUNTS, TODAYS_DEALS 之一) 和 page (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Amazon Product Search API 會回傳什麼?

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

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

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

我應該使用哪些欄位來搜尋 marketplace?

請使用 keyword,並可選擇搭配支援的國家代碼。這個 Product Search endpoint 也接受 sortBy、productCondition、isPrime、dealsAndDiscounts 以及整數 page。另一個獨立的 Amazon Search endpoint 使用 k 和 amazon_domain;它的輸入名稱與執行模式都不能與這個請求互換。

這個 Product Search 請求是同步的嗎?我要怎麼讀取結果?

目前參考文件將此 endpoint 說明為同步。確認 HTTP 回應與平台狀態已完成後,請從 outputs[0].data 讀取其業務負載。文件中的 products 清單位於該負載內,而不是平台回應最上層。教學範例只會檢查 payload 的 key;它不保證固定產品集合,也不是完整解析器。

我應該如何處理分頁與缺少的商品價格?

這個請求接受整數 page,而文件描述每個回應只會有一頁產品。不要推斷總數就代表完整庫存,或證明所有頁面都可擷取。缺少的價格或較早的價格值請維持未知,不要用 0 取代。後續比較時請保留貨幣、marketplace、查詢與觀察時間。列表中的金額不一定是含稅、運費與優惠券後的最終價格。