Retailed 상품별 판매 정보
베타Retailed가 읽는 모든 쇼핑몰의 판매 정보를 Retailed 상품 그래프로 연결해 돌려줘요.
GET
/v2/db/products- 인증
- x-api-key
- 요금
- 1크레딧
- 캐시 기간
- 5분
예시
curl --request GET \
'https://api.retailed.io/v2/db/products?id=<id>' \
--header 'x-api-key: <token>'{
"raw": {
"id": "string",
"title": "string",
"brand": "string",
"styleCode": "string",
"gtins": [
"string"
],
"offers": [
{
"shop": "string",
"externalId": "string",
"country": "string",
"url": "https://…",
"price": {
"amountMinor": 0,
"currency": "USD"
},
"listPrice": {
"amountMinor": 0,
"currency": "USD"
},
"inStock": false,
"sizes": [
{
"label": "string",
"inStock": false,
"price": {
"amountMinor": null,
"currency": null
}
}
],
"fetchedAt": "2026-01-01T00:00:00Z",
"match": {
"method": "gtin",
"confidencePermille": 0,
"conflict": false
}
}
],
"lowest": [
{
"amountMinor": 0,
"currency": "USD",
"shop": "string"
}
]
},
"source": {
"shop": "string",
"fetchedAt": "2026-01-01T00:00:00Z",
"ageS": 0,
"cached": false,
"stale": false,
"credits": 0
}
}응답 구조(값은 예시).
쿼리 파라미터
| 이름 | 유형 | 설명 |
|---|---|---|
| id | string (uuid) | Retailed product id. Either id or gtin is required. |
| gtin | string | GTIN, UPC or EAN (8 to 14 digits). Either id or gtin is required. |
id, gtin 중 하나를 보내 주세요.
응답
200은 GraphProductResult 객체를 돌려줘요.
| 항목 | 유형 | 설명 |
|---|---|---|
| raw | GraphProduct | – |
| raw.id | string (uuid) | Retailed product id. |
| raw.title | string | – |
| raw.brand | string | null | – |
| raw.styleCode | string | null | – |
| raw.gtins | string[] | – |
| raw.offers | GraphOffer[] | – |
| raw.offers[].shop | string | Shop id, e.g. "zalando". |
| raw.offers[].externalId | string | – |
| raw.offers[].country | string | – |
| raw.offers[].url | string (uri) | null | – |
| raw.offers[].price | Money | null | What a buyer pays now (the sale price when on sale). |
| raw.offers[].price.amountMinor | integer | Amount in minor units of the currency (cents). |
| raw.offers[].price.currency | string | ISO 4217 code. |
| raw.offers[].listPrice | Money | null | The regular price when on sale. |
| raw.offers[].listPrice.amountMinor | integer | Amount in minor units of the currency (cents). |
| raw.offers[].listPrice.currency | string | ISO 4217 code. |
| raw.offers[].inStock | boolean | null | – |
| raw.offers[].sizes | object[] | – |
| raw.offers[].sizes[].label | string | – |
| raw.offers[].sizes[].inStock | boolean | – |
| raw.offers[].sizes[].price? | Money | – |
| raw.offers[].sizes[].price.amountMinor | integer | Amount in minor units of the currency (cents). |
| raw.offers[].sizes[].price.currency | string | ISO 4217 code. |
| raw.offers[].fetchedAt | string (date-time) | – |
| raw.offers[].match | object | – |
| raw.offers[].match.method | string | How the offer was matched: barcode, style code, or first seen. |
| raw.offers[].match.confidencePermille | integer | – |
| raw.offers[].match.conflict | boolean | – |
| raw.lowest | object[] | Cheapest in-stock offer per currency, among offers fetched in the last 7 days. |
| raw.lowest[].amountMinor | integer | Amount in minor units of the currency (cents). |
| raw.lowest[].currency | string | ISO 4217 code. |
| raw.lowest[].shop | string | – |
| source | Source | – |
| source.shop | string | Shop id, e.g. "stockx". |
| source.fetchedAt | string (date-time) | When the data was fetched from the shop. |
| source.ageS | integer | Age of the data in seconds when it was served. |
| source.cached | boolean | True when served from the cache. |
| source.stale | boolean | True when served past its freshness window (circuit open). |
| source.credits | integer | Credits charged for this call. |
오류
| 상태 | 발생하는 경우 |
|---|---|
| 401 | Missing or invalid API key |
| 402 | Out of credits. Never debits credits. |
| 403 | This key may not call this endpoint |
| 404 | Unknown endpoint or product not found. |
| 422 | Invalid parameters, or the page is not a product. |
| 429 | Too many requests |
| 502 | We couldn't fetch this page right now; may include last good data marked stale. |
| 503 | Circuit open for this site; may include last good data marked stale. |