본문으로 건너뛰기
↑↓ 이동 · Enter 열기 · Esc 닫기
Data API 문서Data API v2 레퍼런스상태
Data API

Retailed 가격 이력

베타

Retailed 상품 그래프에서 상품의 일별 가격 이력을 돌려줘요.

GET/v2/db/prices
인증
x-api-key
요금
1크레딧
캐시 기간
5분

예시

curl --request GET \
  'https://api.retailed.io/v2/db/prices?id=<id>' \
  --header 'x-api-key: <token>'
응답 · 200예시
{
  "raw": {
    "id": "string",
    "days": 0,
    "series": [
      {
        "shop": "string",
        "country": "string",
        "size": "string",
        "currency": "string",
        "points": [
          {
            "day": "string",
            "min": 0,
            "max": 0,
            "last": 0,
            "inStock": false
          }
        ]
      }
    ]
  },
  "source": {
    "shop": "string",
    "fetchedAt": "2026-01-01T00:00:00Z",
    "ageS": 0,
    "cached": false,
    "stale": false,
    "credits": 0
  }
}

응답 구조(값은 예시).

쿼리 파라미터

이름유형설명
id필수string (uuid)Retailed product id (required).
daysintegerDays of daily history, 1 to 365. Default 30. 기본값은 30예요.
countrystringOnly offers in this country, e.g. US, FR.
sizestringUnset: the whole product. A size: that size only. *: one series per size.

응답

200은 GraphHistoryResult 객체를 돌려줘요.

응답
항목유형설명
rawGraphHistory–
raw.idstring (uuid)–
raw.daysinteger–
raw.seriesobject[]–
raw.series[].shopstring–
raw.series[].countrystring–
raw.series[].sizestring"" for the whole product.
raw.series[].currencystring–
raw.series[].pointsobject[]–
raw.series[].points[].daystring (date)–
raw.series[].points[].mininteger | nullLowest price that day, minor units.
raw.series[].points[].maxinteger | null–
raw.series[].points[].lastinteger | null–
raw.series[].points[].inStockboolean | null–
sourceSource–
source.shopstringShop id, e.g. "stockx".
source.fetchedAtstring (date-time)When the data was fetched from the shop.
source.ageSintegerAge of the data in seconds when it was served.
source.cachedbooleanTrue when served from the cache.
source.stalebooleanTrue when served past its freshness window (circuit open).
source.creditsintegerCredits charged for this call.

오류

상태발생하는 경우
401Missing or invalid API key
402Out of credits. Never debits credits.
403This key may not call this endpoint
404Unknown endpoint or product not found.
422Invalid parameters, or the page is not a product.
429Too many requests
502We couldn't fetch this page right now; may include last good data marked stale.
503Circuit open for this site; may include last good data marked stale.

모든 오류 유형 →

Retailed의 다른 엔드포인트