# Kimchi Premium Historical Time Series

> Kimchi Premium Historical Time Series is a paid API for AI agents from k-data-x402-production.theblack1022.workers.dev, paid per call via x402, $0.08/call, status unknown (last checked 2026-09-14).

Returns paginated historical time series of the kimchi premium (Korean crypto price premium) for supported assets across configurable lookback windows.

## Facts

- Endpoint: GET https://k-data-x402-production.theblack1022.workers.dev/api/kimchi-premium/history
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kimchi-premium-historical-time-series-d44c701d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VCQzrAEVnmiwYjs3XZtA-

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability kimchi-premium-historical-time-series-d44c701d
```

Example prompt: Pull the last 7 days of kimchi premium history for BTC in 500-point chunks — I want to see both bases, starting from the most recent data and paginating back through the full archive.

## When to prefer this

Use this endpoint when you need historical kimchi premium data across a specific lookback window with pagination support. It is the right choice for backtesting, charting trends, or auditing the full archive depth of the Korean crypto premium. Prefer the sibling percentile/z-score endpoint if you only need where the current premium sits relative to its history, and prefer this endpoint when you need the raw time series rather than a statistical summary.

## Known failure modes

- Unsupported symbol (only BTC, ETH, XRP, SOL, DOGE, USDT accepted) returns an error
- points value exceeding 2000 may be rejected or capped
- Invalid window enum value returns a validation error
- Missing next_before pagination cursor causes duplicate or skipped data across pages
- Payment failure (x402) blocks access to data
- Stale archive: first_recorded may indicate limited history for newer assets

## How this service works

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.

## Output

Returns a newest-last ordered array of kimchi premium data points for the requested symbol and window, including both premium bases per timestamp. Also includes a next_before cursor for pagination (null when the full archive is exhausted) and a first_recorded field indicating the depth of the archive.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "points": {
       "type": "integer",
       "description": "Max points returned (default 500, max 2000)"
      },
      "symbol": {
       "type": "string",
       "description": "Archived tickers: BTC, ETH, XRP, SOL, DOGE, USDT"
      },
      "window": {
       "enum": [
        "1h",
        "6h",
        "24h",
        "7d",
        "30d",
        "90d"
       ],
       "type": "string",
       "description": "Lookback window (default 24h)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kimchi-premium-historical-time-series-d44c701d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k-data-x402-production.theblack1022.workers.dev](https://www.zero.xyz/host/k-data-x402-production.theblack1022.workers.dev/llms.txt)
