StockX 가격(일괄)
실시간여러 상품의 가격을 한 번의 호출로 돌려줘요.
GET
/v2/sites/stockx/batch_prices- 인증
- x-api-key
- 요금
- 캐시 1 · 실시간 2
- 캐시 기간
- 5분
상태 점검(실시간)
상태정상최근 30일 · 칸 = 하루
- 성공률 · 30일
- 100.0%
- 99.0% 아래로 내려간 날이 없어요
- 응답 시간 중앙값 · 24시간
- 164 ms
- 출처에서 실시간 조회
- 가장 느린 5% · 24시간
- 533 ms
- 호출 100번 중 95번은 이보다 빨리 응답해요
- 데이터 경과 시간
- 15분 이내
- 마지막 확인: 43분 전
이 출처에 보내는 Retailed의 테스트 호출로 집계해요. 고객의 요청은 사용하지 않아요.
예시
curl --request GET \
'https://api.retailed.io/v2/sites/stockx/batch_prices?ids=<ids>' \
--header 'x-api-key: <token>'{
"offers": [
{
"size": "string",
"condition": "string",
"inStock": false,
"lowest": {
"amountMinor": 0,
"currency": "USD"
},
"lastSold": {
"amountMinor": 0,
"currency": "USD"
},
"variantId": "string",
"highestBid": {
"amountMinor": 0,
"currency": "USD"
},
"asks": 0,
"bids": 0,
"instantShip": {
"amountMinor": 0,
"currency": "USD"
},
"productId": "string",
"sizeType": "string",
"delivery": "string",
"updatedAt": "2026-01-01T00:00:00Z",
"system": "us_m",
"value": "string"
}
],
"source": {
"shop": "string",
"fetchedAt": "2026-01-01T00:00:00Z",
"ageS": 0,
"cached": false,
"stale": false,
"credits": 0
}
}응답 구조(값은 예시).
쿼리 파라미터
| 이름 | 유형 | 설명 |
|---|---|---|
| ids필수 | string | ids (required). |
| country | string | Country code, e.g. US, FR, GB. |
| currency | string | Currency code, e.g. USD, EUR. |
| language | string | Language, e.g. en-US. |
| fresh | string | cache (default) serves cached data when fresh; live always fetches. 다음 중 하나: cache, live. 기본값은 cache예요. |
| max_age | integer | Freshness bound in seconds: data no older than this is served from cache, older data is fetched now. 0 always fetches. Wins over fresh. |
응답
200은 Prices 객체를 돌려줘요.
| 항목 | 유형 | 설명 |
|---|---|---|
| offers | PriceOffer[] | – |
| offers[].size | string | – |
| offers[].condition | string | null | – |
| offers[].inStock | boolean | – |
| offers[].lowest | Money | null | – |
| offers[].lowest.amountMinor | integer | Amount in minor units of the currency (cents). |
| offers[].lowest.currency | string | ISO 4217 code. |
| offers[].lastSold | Money | null | – |
| offers[].lastSold.amountMinor | integer | Amount in minor units of the currency (cents). |
| offers[].lastSold.currency | string | ISO 4217 code. |
| offers[].variantId? | string | – |
| offers[].highestBid? | Money | null | – |
| offers[].highestBid.amountMinor | integer | Amount in minor units of the currency (cents). |
| offers[].highestBid.currency | string | ISO 4217 code. |
| offers[].asks? | integer | – |
| offers[].bids? | integer | – |
| offers[].instantShip? | Money | null | – |
| offers[].instantShip.amountMinor | integer | Amount in minor units of the currency (cents). |
| offers[].instantShip.currency | string | ISO 4217 code. |
| offers[].productId? | string | – |
| offers[].sizeType? | string | null | – |
| offers[].delivery? | string | – |
| offers[].updatedAt? | string (date-time) | – |
| offers[].system? | SizeSystem | – |
| offers[].value? | 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. |