Product
ASIN으로 Amazon 상품 하나를 가져옵니다: 가격, 변형(variant), 이미지, 사양, 배송, 경쟁 판매 요약.
GET | POST /v1/amazon/product파라미터는 GET의 쿼리 문자열로도, POST의 JSON 본문으로도 보낼 수 있습니다. 둘은 같습니다.
요청
curl "https://gateway.apinoa.com/v1/amazon/product?id=B07F3FFTMK" \
-H "x-api-key: $APINOA_API_KEY"파라미터
| 파라미터 | 타입 | 필수 | 설명 |
|---|---|---|---|
id | string | 예 | The marketplace's own product id, as carried by a search item. |
include | string | offers · offers:5 · offers:all — the enumerated competing-seller offers, which are fetched separately and so opt-in. Depth counts pages of offers (10 offers each) and each page is charged; all walks to the end, capped at 30 pages. | |
region | enum | Which Amazon marketplace to query, by buyer country: US, CA, MX, BR, FR, IT, ES, NL, SE, TR, AE, SA, IN, JP, SG, AU. Defaults to US. Prices come back in that marketplace's own currency (JP in JPY, FR in EUR). US CA MX BR FR IT ES NL SE TR AE SA IN JP SG AU |
같은 파라미터와 모든 응답 타입은 OpenAPI 문서에도 있습니다.
응답
data에 Product를 돌려줍니다. 실제 응답을 줄인 것입니다. 배열은 앞쪽 항목만 남기고 긴 텍스트는 잘랐습니다.
{
"success": true,
"data": {
"marketplace": "amazon",
"id": "B07F3FFTMK",
"url": "https://www.amazon.com/dp/B07F3FFTMK",
"title": "Mens Merino Wool Crew Socks Thermal and Warm Sock…",
"groupId": "B0BGFR76CF",
"deliveryTo": {
"label": "Edison 08817",
"country": "US",
"postalCode": "08817"
},
"features": [
"MAKE HIKING A COMFORTABLE EXPERIENCE These Merino…"
],
"brand": "Alvada",
"status": "In Stock",
"inStock": true,
"unitPrice": {
"price": {
"currency": "USD",
"amount": 4.5
},
"unit": "count"
},
"reviewAspects": [
{
"name": "quality",
"mentions": 4534,
"positive": 3976,
"negative": 558
}
],
"boxContents": [],
"returnsPolicy": "FREE 30-day refund/replacement",
"brandUrl": "https://www.amazon.com/stores/Alvada/page/C127B0C…",
"promotions": [],
"fulfilledBy": "Amazon",
"delivery": {
"estimate": "FREE delivery Thursday, October 29 on orders ship…",
"free": true,
"minimumOrder": {
"currency": "USD",
"amount": 35
},
"condition": "on orders shipped by Amazon over $35",
"minDays": 5,
"maxDays": 5
},
"shippingOptions": [
{
"estimate": "FREE delivery Thursday, October 29 on orders ship…",
"free": true,
"minimumOrder": {
"currency": "USD",
"amount": 35
},
"condition": "on orders shipped by Amazon over $35",
"minDays": 5,
"maxDays": 5
}
],
"badges": [
"Amazon's Choice"
],
"salesLabel": "10K+ bought in past month",
"salesCount": 10000,
"media": {
"images": [
"https://m.media-amazon.com/images/I/91aOC3G1W6L._…"
],
"videos": [
{
"url": "https://m.media-amazon.com/images/S/vse-vms-trans…",
"thumbnailUrl": "https://m.media-amazon.com/images/I/A16M+pgi4GL.S…",
"title": "Alvada wool socks: exceptional warmth and quality…",
"duration": "00:14"
}
]
},
"price": {
"currency": "USD",
"amount": 13.49
},
"listPrice": {
"currency": "USD",
"amount": 14.99
},
"rating": {
"average": 4.5,
"count": 37581,
"grouped": true,
"distribution": {
"1": 4,
"2": 2,
"3": 5,
"4": 11,
"5": 78
}
},
"category": [
{
"id": "7141123011",
"name": "Clothing, Shoes & Jewelry"
}
],
"seller": {
"name": "Alvada",
"id": "A12H3CME8AOYX8",
"url": "https://www.amazon.com/gp/help/seller/at-a-glance…"
},
"attributes": [
{
"name": "Fabric type",
"value": "80% Merino Wool, 15% Polyester, 4% Nylon, 1% Span…"
}
],
"options": [
{
"id": "size_name",
"name": "Size",
"values": [
{
"id": "size_name:Small-Medium",
"name": "Small-Medium"
}
]
}
],
"variants": [
{
"id": "B0GKGJZ323",
"productId": "B0GKGJZ323",
"selections": [
{
"optionId": "size_name",
"valueId": "size_name:Medium-Large",
"optionName": "Size",
"valueName": "Medium-Large"
}
]
}
],
"offers": [
{
"price": {
"currency": "USD",
"amount": 13.49
},
"listPrice": {
"currency": "USD",
"amount": 14.99
},
"seller": {
"name": "Alvada",
"id": "A12H3CME8AOYX8",
"url": "https://www.amazon.com/gp/help/seller/at-a-glance…"
},
"fulfilledBy": "Amazon",
"status": "In Stock",
"inStock": true,
"delivery": {
"estimate": "FREE delivery Thursday, October 29 on orders ship…",
"free": true,
"minimumOrder": {
"currency": "USD",
"amount": 35
},
"condition": "on orders shipped by Amazon over $35",
"minDays": 5,
"maxDays": 5
}
}
],
"reviews": [],
"identifiers": {
"gtin": "753610373339",
"mpn": "43528-95629",
"model": "Merino Wool Socks"
},
"reviewSummary": "Customers find these wool socks to be of good qua…",
"listedAt": "2022-08-10"
}
}에러
| 상태 | 코드 | 의미 |
|---|---|---|
| 400 | INVALID_PARAMS | 파라미터가 없거나, 알 수 없거나, 범위를 벗어났습니다. 메시지에 이름이 나옵니다. |
| 401 | UNAUTHORIZED | x-api-key 헤더가 없거나, 폐기되었거나 알 수 없는 키입니다. |
| 402 | INSUFFICIENT_BALANCE | 잔액이 이 호출 비용에 모자랍니다. 대시보드에서 충전하세요. |
| 404 | PRODUCT_NOT_FOUND | 마켓플레이스에 그런 상품이 없습니다. |
| 429 | MARKETPLACE_SATURATED | 동시 호출이 너무 많습니다. Retry-After 초만큼 기다린 뒤 다시 시도하세요. |
| 502 | UPSTREAM_ERROR | 플랫폼이 쓸 수 없는 응답을 보냈습니다. 간격을 두고 다시 시도하세요. |
모든 코드는 Errors에 있습니다. 실패한 호출은 과금되지 않습니다.
가격
가격 호출당 $0.002, 추가 호출마다 $0.001 — 최대 30번 더, 합계 최대 $0.032. include=offers만 추가합니다. 오퍼 10개 한 페이지마다 1단위, 최대 30페이지입니다. 정가 기준이며, 하루 1,000회를 넘으면 단가가 내려갑니다.
참고
- 검색 항목의
id는 ASIN이므로 검색 결과를 그대로 product로 이어갈 수 있습니다. 검색할 때와 같은region을 넘기세요. ASIN은 해당 마켓플레이스에서 그 통화로 조회됩니다. include=offers는 경쟁 판매자를 나열합니다. 상품에는 언제나 요약(offersSummary, 예: "New & Used (305) from $2.07")이 담깁니다. 전체 목록은 요청할 때만 가져오며, 판매자 10곳이 담긴 페이지마다 1단위씩, 최대 30페이지까지 과금됩니다:
include | 가격 |
|---|---|
| 생략 | $0.002 |
offers | $0.003 |
offers:5 | 최대 $0.007 |
offers:all | 최대 $0.032 (30페이지) |
더 깊은 요청은 거부되지 않고 상한으로 잘립니다. 응답의 ext.included가 실제로 가져온 확장을 알려줍니다.