本文へ移動
↑↓ 移動 · Enter 開く · Esc 閉じる
Data APIドキュメントData API v2リファレンスステータス
Data API

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>'
レスポンス · 200例
{
  "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
  }
}

レスポンスの構造(値は例)。

クエリパラメーター

名前型説明
idstring (uuid)Retailed product id. Either id or gtin is required.
gtinstringGTIN, UPC or EAN (8 to 14 digits). Either id or gtin is required.

idまたはgtinを送ってください。

レスポンス

200はGraphProductResultオブジェクトを返します。

レスポンス
項目型説明
rawGraphProduct–
raw.idstring (uuid)Retailed product id.
raw.titlestring–
raw.brandstring | null–
raw.styleCodestring | null–
raw.gtinsstring[]–
raw.offersGraphOffer[]–
raw.offers[].shopstringShop id, e.g. "zalando".
raw.offers[].externalIdstring–
raw.offers[].countrystring–
raw.offers[].urlstring (uri) | null–
raw.offers[].priceMoney | nullWhat a buyer pays now (the sale price when on sale).
raw.offers[].price.amountMinorintegerAmount in minor units of the currency (cents).
raw.offers[].price.currencystringISO 4217 code.
raw.offers[].listPriceMoney | nullThe regular price when on sale.
raw.offers[].listPrice.amountMinorintegerAmount in minor units of the currency (cents).
raw.offers[].listPrice.currencystringISO 4217 code.
raw.offers[].inStockboolean | null–
raw.offers[].sizesobject[]–
raw.offers[].sizes[].labelstring–
raw.offers[].sizes[].inStockboolean–
raw.offers[].sizes[].price?Money–
raw.offers[].sizes[].price.amountMinorintegerAmount in minor units of the currency (cents).
raw.offers[].sizes[].price.currencystringISO 4217 code.
raw.offers[].fetchedAtstring (date-time)–
raw.offers[].matchobject–
raw.offers[].match.methodstringHow the offer was matched: barcode, style code, or first seen.
raw.offers[].match.confidencePermilleinteger–
raw.offers[].match.conflictboolean–
raw.lowestobject[]Cheapest in-stock offer per currency, among offers fetched in the last 7 days.
raw.lowest[].amountMinorintegerAmount in minor units of the currency (cents).
raw.lowest[].currencystringISO 4217 code.
raw.lowest[].shopstring–
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のほかのエンドポイント