HWAN

API reference

GET /api/index

Live kimchi premium from Upbit, Bithumb and the ECB. Read-only, no key, cached 8 seconds on the server.

Response fields

FieldTypeMeaning
atnumberserver time of the reading, ms since epoch
spotnumber or nulllive index in pp: median of the two tickers ÷ latest ECB fix − 1
upbit.pricenumberlast Upbit KRW-USDT trade, won
upbit.vol24hKrwnumberUpbit 24-hour traded value, won
bithumb.pricenumberlast Bithumb USDT/KRW close, won
bithumb.vol24hKrwnumberBithumb 24-hour traded value, won
ecb.ratenumberECB USD/KRW reference rate
ecb.datestringdate of that fix, YYYY-MM-DD
rollingobject or nulltrailing 24-hour average index from hourly closes
lastobject or nullthe value the last expiry would settle at
windowobjectthe next expiry, when its 24-hour window opens, samples in so far
expiries.upcomingnumber[]the next expiries, ms since epoch
errorsobjectper-source error text, null when that source answered

Example

{
  "spot": 0.39,
  "upbit": { "price": 1364, "vol24hKrw": 54200000000 },
  "bithumb": { "price": 1364, "vol24hKrw": 55993094549 },
  "ecb": { "rate": 1358.73, "date": "2026-11-06" }
}

When a source fails, its field is null, spot is null, and errors names the source. The endpoint never invents a value.

Units

UnitMeaning
pppercentage point of premium
ibpindex basis point, 1 pp = 100 ibp; the program stores prices and S in ibp
unitone micro-USDC per ibp of distance; a $10-per-point contract is 100,000 units