Apinoa Docs

검색

아마존 검색 — 받는 파라미터와 돌아오는 값.

원본 .mdx 보기
GET|POST /v1/amazon/search

Price $0.001 per call, plus $0.001 for each extra call it makes — at most 1 more, so $0.002 in total. brands와 레일 패싯만 유닛을 더합니다 — 둘 중 하나라도 쓰면 2유닛이 됩니다. 나머지 필터는 추가 비용이 없습니다. List price; the rate steps down above 1,000 calls a day.

ParameterTypeRequiredNotes
querystringyesKeywords to search for. Required: image search and similar-item search are not available on Amazon, so a keyword query is the only way to search.
brandsstring listBrand names as Amazon spells them, e.g. brands=Nike,Adidas. A call that uses brands costs 2 units instead of 1.
categoryIdstringNarrow to one category, by the marketplace's own id. Opaque and per-marketplace; take it from Product.category[].id or from a result's facets.
facetsstring | object listNarrowings taken from a result's facets, e.g. facets=Color:Black. A call that uses facets costs 2 units instead of 1.
includestring listExpansions that cost more than the default answer, e.g. include=facets.
pageinteger1-based page number; each page is charged separately. There is no pageSize (Amazon fixes the count per page by keyword, 13-47 in practice) and no cursor — paging is by number.
priceMaxnumber ≥ 0Highest price to return, in decimal major units.
priceMinnumber ≥ 0Lowest price to return, in decimal major units.
ratingMinnumber4 only. Amazon's rating filter offers exactly one threshold, "4 Stars & Up"; any other value is a 400 rather than a silently different search.
regionstringBuyer country as ISO 3166-1 alpha-2; sets availability, shipping and price.
sortenumResult ordering: best_match, price_asc, price_desc, newly_listed or avg_review. Defaults to best_match, Amazon's own relevance ordering. best_match price_asc price_desc newly_listed avg_review
curl "https://gateway.apinoa.com/v1/amazon/search?query=running+shoes&priceMin=40&priceMax=80&sort=price_asc" \
  -H "x-api-key: YOUR_API_KEY"

pageSize는 없습니다. 아마존은 키워드마다 페이지당 개수를 스스로 정하며(실측 13~47개) 클라이언트가 바꿀 수 없습니다. 이 파라미터를 받는다면 받아 놓고 무시하는 셈이 됩니다.

cursor도 없습니다. 페이지는 번호로 넘깁니다. 커서를 둔다면 page + 1을 변장시킨 것일 뿐입니다.

ratingMin4가 아니면 400입니다. 아마존의 평점 필터에는 "4 Stars & Up" 하나의 기준만 있습니다. ratingMin=3 요청에 4점 이상 결과를 돌려주는 것은 요청과 다른 검색을 한 것이므로, 대신 거부합니다.

brandsfacets는 2유닛입니다. 나머지는 모두 1유닛입니다. 필터를 보세요.

condition, freeShipping, inStock은 없습니다.