Angolin Docs

OKX

OKX is one of the three exchanges Angolin ingests from, alongside Binance and Kraken. Its candles can be queried on their own, or combined with the other exchanges into the aggregated series — see Methodology for how.

Coverage

OHLCV (open/high/low/close/volume) candles at three intervals — 1d, 1h and 1m — for about 2,000 spot pairs, across every quote currency OKX lists. Pairs that were delisted keep their full history. The Catalog endpoints list every pair with its first and last candle.

Data source

Two sources, depending on the pair and the interval. OKX's public API serves the 1d and 1h candles of every listed pair, back to 2018. OKX's downloadable archive, which starts in early 2020 and holds minute candles only, serves the 1m candles from then on, and every interval of the pairs OKX has delisted (the API no longer knows them): their 1h and 1d candles are built from the minutes. For a listed pair, 1m candles older than the archive come from the API, so the two never overlap.

History

Every pair starts at its first candle on OKX — January 2018 for the oldest — and runs up to the latest complete candle, at all three intervals.

Universe

The Universe endpoint and downloads tell which pairs OKX listed, hour by hour. Listed means tradable: an instrument in the state live (not preopen or suspend), whether it traded or not.

Since October 27, 2026: observed

OKX's list of spot instruments is recorded every hour, as OKX returns it. A listing or a delisting shows up within the hour it happened.

Before: reconstructed

Nothing recorded OKX's listings before that hour, so the past was rebuilt from its hourly candles, about 2,490 listing periods from January 2018:

  • A period starts at the pair's first candle. OKX publishes a candle every hour for a listed pair, traded or not, so a long gap in its candles is a real delisting (and a relisting when they resume).
  • A period ends at the pair's last trade, not its last candle: OKX's archive kept publishing flat, volume-free candles for some delisted pairs for years. An illiquid pair's end is moved to the delisting wave that follows it, when several liquid pairs stop trading in the same hours.
  • Archived snapshots of OKX's own list of instruments (from the Internet Archive, 2020 to 2026) check the result: it agrees with 98% of what they show, 100% from November 2023 on. They also brought in about 180 delisted pairs that OKX's download pages no longer list.

Known limits

  • Before 2020, pairs OKX delisted before its archive starts (January 2020) are missing: its API no longer knows them and its archive never held them. The universe of those years is incomplete, biased toward pairs that survived.
  • About 45 delisted pairs (ICP-BTC, NEO-ETH…) start in August 2023, though the snapshots show them listed from November 2022: OKX's archive has nothing earlier for them.
  • An illiquid pair's end, when no delisting wave follows its last trade, is that last trade: the real delisting may have come some days or weeks later.