Apinoa Docs

검색

이베이 검색 — 받는 파라미터와 돌아오는 값.

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

Price $0.001 per call. List price; the rate steps down above 1,000 calls a day.

ParameterTypeRequiredNotes
querystringyesKeywords to search for. Required here: eBay's keyword search cannot be asked anything without words — to list a category with no keyword, use browse.
brandsstring listBrand names as the marketplace spells them, e.g. brands=Nike,Adidas.
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.
conditionenumItem condition. new used refurbished
facetsstring | object listNarrowings taken from a result's facets, e.g. facets=Color:Black. The escape hatch for filters the typed vocabulary has no word for; prefer a typed parameter where one exists.
freeShippingboolean | enumOnly listings the marketplace itself advertises as shipping free.
pageinteger1-based page number. eBay pages by number, so there is no cursor; each page is charged separately.
pageSizeintegerResults per page: 60, 120 or 240 only, the three page sizes eBay offers. Larger pages take longer to return (about 5 s for 240 items), but a page of any size costs one call.
priceMaxnumber ≥ 0Highest price to return, in decimal major units.
priceMinnumber ≥ 0Lowest price to return, in decimal major units.
regionstringBuyer country as ISO 3166-1 alpha-2; sets availability, shipping and price.
sortenumResult ordering. price_asc/price_desc are eBay's price-plus-shipping sorts rather than its bare-price ones, and ending_soonest orders by auction close. best_match ending_soonest newly_listed price_asc price_desc
curl "https://gateway.apinoa.com/v1/ebay/search?query=running+shoes&brands=Nike&condition=new&freeShipping=true&sort=price_asc" \
  -H "x-api-key: YOUR_API_KEY"

pageSize는 서버에서 세 구간으로 맞춰집니다(25/50/60 → 60, 100/120 → 120, 200/240 → 240). 그래서 그 세 값만 받습니다. 다른 값을 받는다면 받아 놓고 무시하는 셈이 됩니다.

페이지가 크면 더 오래 걸리지만(240개에 약 5초) 비용은 한 번의 호출입니다.

cursor는 없습니다 — 페이지는 번호로 넘깁니다. ratingMin도 없습니다 — 이베이 검색 결과에는 평점 세분화가 없습니다. inStock도 없습니다 — 살 수 없는 리스팅은 애초에 나열되지 않습니다.

currency는 없습니다. 통화는 region을 따릅니다. 지킬 수 없는 통화를 받아 주는 것은 거부하는 것보다 나쁩니다.