keywordstring필수
Search keyword or ASIN to find Amazon products.
https://api.sandbase.ai/v1/api/amazon/search-productsSearch Amazon marketplace products by keyword or ASIN with country, sort, condition, Prime-only, deals, and page controls.
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
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.
country.dealsAndDiscounts to ALL_DISCOUNTS or TODAYS_DEALS.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.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Search keyword or ASIN to find Amazon products. |
country | string | No | Country code for the Amazon marketplace. |
dealsAndDiscounts | string | No | Deals and discounts filter for Amazon search results. |
isPrime | boolean | No | Whether to return only Prime-eligible products. |
page | integer | No | Page number for pagination. |
productCondition | string | No | Product condition filter for Amazon search results. |
sortBy | string | No | Sort order for Amazon product search results. |
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
}
| Field | Meaning |
|---|---|
total_products | Number of products the search matched. |
country / domain | Amazon marketplace country code and domain that served the search. |
products[].asin | Amazon product ID. Use it to look up the product elsewhere. |
products[].product_title | Listing title as shown in the search results. |
products[].product_price / products[].product_original_price | Current 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_offers | Lowest amount among the offers for the product, and the number of offers listed. |
products[].currency | Currency code for the amounts on the listing, for example USD. |
products[].product_star_rating / products[].product_num_ratings | Average star rating as a string, and the count of ratings. |
products[].is_best_seller / products[].is_amazon_choice / products[].is_prime / products[].climate_pledge_friendly | Boolean flags for the badges and Prime eligibility shown on the listing. |
products[].sales_volume | Text such as 1K+ bought in past month. |
products[].product_url / products[].product_photo | Link to the product page and the main product image URL. |
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.
B0DHJ896RY as keyword to search for a specific product.page to get more results. Each response holds one page of products, and total_products shows the overall match count.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/amazon/search-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"sortBy": "RELEVANCE",
"country": "US",
"isPrime": false,
"keyword": "iphone",
"productCondition": "ALL",
"dealsAndDiscounts": "NONE"
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
keywordstring필수Search keyword or ASIN to find Amazon products.
countrystringCountry code for the Amazon marketplace.
기본값: "US"
가능한 값: US, AU, BR, CA, CN, FR, DE, IN, IT, MX, NL, SG, ES, TR, AE, GB, JP, SA, PL, SE, BE, EG, ZA, IE
sortBystringSort order for Amazon product search results.
기본값: "RELEVANCE"
가능한 값: RELEVANCE, LOWEST_PRICE, HIGHEST_PRICE, REVIEWS, NEWEST, BEST_SELLERS
productConditionstringProduct condition filter for Amazon search results.
기본값: "ALL"
가능한 값: ALL, NEW, USED, RENEWED, COLLECTIBLE
isPrimebooleanWhether to return only Prime-eligible products.
기본값: false
dealsAndDiscountsstringDeals and discounts filter for Amazon search results.
기본값: "NONE"
가능한 값: NONE, ALL_DISCOUNTS, TODAYS_DEALS
pageintegerPage number for pagination.
기본값: 1
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
저장된 응답이 게시되지 않았습니다. Playground에서 API를 실행해 응답을 확인하세요.
더 살펴보기
| API | 가격 | 응답 |
|---|---|---|
Amazon | $0.014286 / 호출 | JSON |
Amazon | 호출당 $0.0033부터 | JSON |
Amazon | $0.00015 / 호출 | 비동기 JSON |
Amazon | $0.014286 / 호출 | JSON |
Amazon | $0.014286 / 호출 | JSON |
Amazon | 호출당 $0.00085부터 | JSON |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/amazon/search-products에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.014286, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수: 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에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. Amazon Product Search은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Amazon API 액세스를 별도로 신청할 필요는 없습니다.
keyword와, 선택적으로 지원되는 국가 코드를 사용하세요. 이 Product Search 엔드포인트는 sortBy, productCondition, isPrime, dealsAndDiscounts, 그리고 정수 page도 허용합니다. 별도의 Amazon Search 엔드포인트는 k와 amazon_domain을 사용하며, 해당 입력 이름과 실행 모드는 이 요청과 호환되지 않습니다.
현재 reference는 이 엔드포인트를 동기식으로 설명합니다. HTTP 응답과 완료된 플랫폼 상태를 확인한 뒤, 비즈니스 payload는 outputs[0].data에서 읽으세요. 문서화된 제품 목록은 그 payload 안에 있으며, 플랫폼 응답 최상위에는 없습니다. 튜토리얼 예시는 payload 키만 검사할 뿐, 고정된 제품 집합을 보장하거나 전체 파서를 구현하지 않습니다.
요청은 정수 page를 허용하며, reference는 응답당 한 페이지의 제품을 설명합니다. 전체 개수가 완전한 재고이거나 모든 페이지를 가져올 수 있다는 증거라고 추론하지 마세요. 누락된 가격이나 이전 가격 값은 0으로 대체하지 말고 알 수 없음으로 유지하세요. 이후 비교 시에는 통화, 마켓플레이스, 검색어, 관찰 시간을 함께 보관하세요. 표시된 금액이 항상 세금, 배송비, 쿠폰을 포함한 최종 가격인 것은 아닙니다.