{
  "x402Version": 2,
  "id": 5382,
  "slug": "5382",
  "resource": "https://k-data-x402-production.theblack1022.workers.dev/api/kimchi-premium/history",
  "description": "Time series of the kimchi premium from the continuous archive, both bases, newest-last. Params: ?symbol=BTC &window=1h|6h|24h|7d|30d|90d &points=500 (max 2000) &before=<next_before>. Repeat with next_before until it is null to read a full window. Archive depth is reported as first_recorded.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x519c79c7EB7566F7353a324472A5CE4f05330C81",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "80000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "symbol": "BTC",
            "window": "24h"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "first_recorded": "2026-08-01T14:20:00.000Z",
            "next_before": "1754058000",
            "points": 288,
            "series": [
              {
                "global_usd": 63017.37,
                "premium_official_pct": -0.265,
                "premium_usdt_pct": 0.193,
                "ts": "2026-08-01T14:25:00.000Z",
                "upbit_krw": 90731000
              }
            ],
            "symbol": "BTC",
            "window": "24h"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "before": {
                    "description": "Unix-second cursor from next_before; returns older rows strictly before it",
                    "type": "integer"
                  },
                  "points": {
                    "description": "Max points returned (default 500, max 2000)",
                    "type": "integer"
                  },
                  "symbol": {
                    "description": "Archived tickers: BTC, ETH, XRP, SOL, DOGE, USDT",
                    "type": "string"
                  },
                  "window": {
                    "description": "Lookback window (default 24h)",
                    "enum": [
                      "1h",
                      "6h",
                      "24h",
                      "7d",
                      "30d",
                      "90d"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "k-data-x402-production.theblack1022.workers.dev",
  "lastUpdated": "2026-09-06T01:27:31.762Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-06T01:27:31.608Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "k-data-x402-production.theblack1022.workers.dev",
    "manifest_name": "k-data-x402-production.theblack1022.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}