---
title: "Docs | Comparand"
url: "https://comparand.xyz/docs"
description: "How to use Comparand from Claude, another MCP app, your own bot or curl: chart search, Hyperliquid search, market data by exchange, plans and limits."
updated: "2026-10-21"
---

# Docs Beta

Use Comparand from Claude, Cursor, any MCP app, your own bot or curl.

Comparand is a historical analog search (time-series shape matching) for crypto. It finds past times this coin's chart looked like this on the same exchange and shows what happened after each one: dated individual matches, not an average. Pick the exchange (Hyperliquid, Binance, Bybit, OKX or Coinbase), spot or perpetual, and a timeframe (5m, 15m, 1h, 4h or 1d). It is an MCP server for Claude, ChatGPT and AI agents, with a REST API. [Add it with `claude mcp add`](#mcp-title). Past cases, not a forecast. Compared with other tools: [chart pattern search tools compared](https://comparand.xyz/compare/chart-pattern-search).

[Get access](#access) [Chart search](#search) [Hyperliquid search](#hyperliquid) [Market data](#data) [Plans and limits](#limits) [FAQ](#faq)

## Get access

1. 1. Get a key: a plan or pay as you go. [Get a key](#key-title).
2. 2. AI apps: MCP at https://api.comparand.xyz/mcp with your key. [Connect over MCP](#mcp-title).
3. 3. Your own code: REST API at https://api.comparand.xyz, key in the Authorization header. [Call it with curl](#curl-title).
4. 4. ChatGPT and Claude apps: [Apps](https://comparand.xyz/apps). Not in the app directories yet.

### Get a key

Choose a plan or pay as you go on [pricing](https://comparand.xyz/pricing), pay through Stripe Checkout. The welcome page shows your key once. Save it then. Lost it? Email hello@comparand.xyz ([Support](https://comparand.xyz/support)).

### Connect over MCP

Streamable HTTP at https://api.comparand.xyz/mcp. Key in the Authorization header on every call.

Claude Code, run once:

```
claude mcp add --transport http comparand https://api.comparand.xyz/mcp --header "Authorization: Bearer YOUR_API_KEY"
```

Other MCP clients: add this to the MCP config, often a file like .mcp.json (see your client's docs).

```
{"mcpServers": {"comparand": {"type": "http", "url": "https://api.comparand.xyz/mcp", "headers": {"Authorization": "Bearer YOUR_API_KEY"}}}}
```

Keep your key secret: not in git, not anywhere public.

### Call it with curl

REST API: https://api.comparand.xyz. Every call needs the Authorization header. Pick a complete day from GET /v1/coverage first.

Labels for one coin, five minutes, five rows:

```
curl -s -H "Authorization: Bearer YOUR_API_KEY" "https://api.comparand.xyz/v1/labels?coin=BTC&start=2026-09-01T00:00:00Z&end=2026-09-01T00:05:00Z"
```

Five nearest past episodes for one coin at one time, and the next hour. About $0.01 of credits:

```
curl -s -X POST https://api.comparand.xyz/v1/analogs -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"coin": "BTC", "decision_utc": "2026-09-01T12:00:00Z", "horizon": "1h", "k": 5}'
```

Chart-shape analogs, Binance BTCUSDT, last 48 hourly bars. $0.01 of credits:

```
curl -s -X POST https://api.comparand.xyz/v1/shape/analogs -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"venue": "binance", "symbol": "BTCUSDT", "timeframe": "1h"}'
```

Swap in your coin, times and key. Use a past time the archive covers.

## Chart search

shape\_analogs: pick a coin, an exchange and a bar size (the price over a set time, like 1 hour). It takes your last 48 finished bars, or 20 to 200, and returns that market's past charts that look most like yours, closest first.

- Same coin, exchange and bar size. BTC on Coinbase is only compared with BTC on Coinbase.
- One match per past moment. None overlap your chart. Finished bars only.
- Each match: its dates, its chart, and the price move after a quarter, half and all of your chart's length. For 48 hourly bars: 12, 24 and 48 hours later.
- $0.01 of credit per search, whatever the settings. Refused searches are free.
- Tool: shape\_analogs. API: `POST /v1/shape/analogs` with a JSON body. MCP: same names as tool arguments.

Try it with no key: [Try](https://comparand.xyz/try).

### Not a forecast

A match shows what happened after a past moment, not what will happen now. No averages, win rates or direction. Each match stands alone, with its date and data source.

### Coverage today

Chart search coverage by exchange and timeframe

| Exchange | Markets | 5m from | 15m from | 1h and 4h from | 1d from |
| --- | --- | --- | --- | --- | --- |
| Coinbase | 20 spot | Jan 2026 | Oct 2024 | Jan 2017 | Jan 2017 |
| Binance | 28 perps, 2 spot | Jan 2026 | Oct 2024 | Sep 2019 | Sep 2019 |
| OKX | 9 perps | Jan 2026 | Oct 2024 | Jan 2020 | Jan 2020 |
| Bybit | 22 perps (18 at 5m and 15m) | Jan 2026 | Oct 2024 | Mar 2020 | Mar 2020 |
| Hyperliquid | about 216 perps | Jun 2026 | Apr 2025 | May 2023 | May 2023 |

The big coins are BTC, ETH, SOL, XRP, BNB, DOGE, ADA, AVAX, LINK and TRX. Coinbase has no BNB, LINK or TRX. OKX has no LINK. Dates show the oldest data on that exchange, usually for BTC. Coins that started trading later start later. Hyperliquid: BTC, ETH, SOL, XRP, DOGE and BNB from May 2023, HYPE from Dec 2024, other coins from Apr 2025. We are still adding 5 minute data.

### Settings

Live works today. Coming soon is built but not live in the API yet; until then the REST API refuses it, free. This page will say when each goes live.

Chart search settings

| Name | What it does | Allowed values | Default | Status |
| --- | --- | --- | --- | --- |
| `venue` | The exchange. | `hyperliquid`, or a venue from venue\_coverage that the [coverage page](https://comparand.xyz/docs#coverage) lists | Required | Live |
| `symbol` | The market on that exchange. | Like `BTCUSDT` on Binance or `BTC` on Hyperliquid | Required | Live |
| `kind` | Market type, when one symbol has more than one, like spot or perp. | A kind from venue\_coverage | Perp when there is one | Live |
| `timeframe` | Bar size. | `5m`, `15m`, `1h`, `4h`, `1d` (Coinbase has no `4h`) | `1h` | Live |
| `timeframe` = `1m` | 1 minute bars. | `1m` |  | Coming soon |
| `end_utc` | The end of your chart. Only finished bars are used. | A UTC time, like `2026-09-01T12:00:00Z` | Now | Live |
| `window` | How many bars your chart has. | 20 to 200 | 48 | Live |
| `k` | How many past matches to return. | 1 to 20 today. 1 to 50 soon. | 10 (5 in the ChatGPT and Claude apps) | Live up to 20 Coming soon up to 50 |
| `vs` | Search a pair ratio: this coin priced in a second coin on the same exchange, like ETH in BTC. A bar counts only when both coins have it. Matches come only from that pair's own past. | A second symbol on the same exchange and market type, like `BTCUSDT` | Off | Coming soon |
| `diverse` | Show the closest past cases that went up, stayed flat and went down, and how many of the 50 closest matches fell in each group. The counts describe past cases only. They are not a forecast. | `true` or `false` | `false` | Coming soon |
| `horizon` | With `diverse`: how many bars after each match to look at for up, flat or down. | 1 to 200 bars | The window length (48). The apps use 48. | Coming soon |
| `flat_bp` | With `diverse`: a move this small or smaller, up or down, counts as flat. In basis points (100 bp is 1%). | 0 to 10,000 | By bar size: 5 (1m), 10 (5m), 15 (15m), 25 (1h), 50 (4h), 100 (1d) | Coming soon |
| `features` | Also match on more than price, with a weight for each. See the list below. | A list of names, or names with weights above 0 and up to 10 | Off. Price weight 1. | Coming soon |
| `ref_venue` | With `xgap` or `basis`: the other exchange to compare prices with. It is only used as a match feature. Matches still come only from `venue`. | An exchange name from venue\_coverage | `binance`, or `bybit` when `venue` is Binance | Coming soon |

### Features you can match on Coming soon

- **price** The chart shape itself. Use it in `features` only to change its weight. Default weight 1.
- **volume\_surge** Volume compared with the bars just before.
- **range** How far apart the high and low of each bar were.
- **trade\_count** Number of trades compared with the bars just before.
- **avg\_trade\_size** Average trade size compared with the bars just before.
- **taker\_flow** Whether buyers or sellers were the ones taking the price, bar by bar.
- **oi\_change** The change in open interest, the total size of trades still open.
- **funding** The funding rate of a perp.
- **xgap** The price gap between this market and the same coin on `ref_venue`.
- **basis** The gap between the perp price and the spot price of the same coin.

Features depend on the market. Hyperliquid perps have the most; elsewhere expect volume and range first. No data for a feature on your market or chart: refused, free. The answer lists the weight used for each feature.

### Examples Coming soon

Not live yet; today the REST API refuses these at no charge. Over MCP, send the same JSON as tool arguments, or ask in plain words and your AI app fills them in.

Up to 50 matches

```
curl -s -X POST https://api.comparand.xyz/v1/shape/analogs -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"venue": "binance", "symbol": "BTCUSDT", "timeframe": "1h", "k": 50}'
```

Ask: "Show the 50 closest past charts to Binance BTCUSDT, last 48 hourly bars."

1 minute bars

```
curl -s -X POST https://api.comparand.xyz/v1/shape/analogs -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"venue": "hyperliquid", "symbol": "BTC", "timeframe": "1m", "window": 60}'
```

Ask: "Find past charts like the last 60 minutes of BTC on Hyperliquid."

Pair ratio with vs

```
curl -s -X POST https://api.comparand.xyz/v1/shape/analogs -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"venue": "binance", "symbol": "ETHUSDT", "vs": "BTCUSDT", "timeframe": "4h"}'
```

Ask: "Find past charts like ETH priced in BTC on Binance, 4 hour bars."

Up, flat and down cases with diverse

```
curl -s -X POST https://api.comparand.xyz/v1/shape/analogs -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"venue": "coinbase", "symbol": "BTC-USD", "timeframe": "1h", "diverse": true, "horizon": 24, "flat_bp": 30}'
```

Ask: "Show past BTC charts on Coinbase like today's that went up, stayed flat and went down over the next 24 hours."

Match on more than price with features

```
curl -s -X POST https://api.comparand.xyz/v1/shape/analogs -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"venue": "hyperliquid", "symbol": "SOL", "timeframe": "15m", "features": {"price": 1, "volume_surge": 0.5, "oi_change": 0.5}}'
```

Ask: "Find past SOL charts on Hyperliquid like today's, also matching volume and open interest change."

Price gap to another exchange with ref\_venue

```
curl -s -X POST https://api.comparand.xyz/v1/shape/analogs -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"venue": "okx", "symbol": "BTC-USDT-SWAP", "timeframe": "1h", "features": {"xgap": 1}, "ref_venue": "binance"}'
```

Ask: "Find past BTC charts on OKX like today's, also matching its price gap to Binance."

Symbols use each exchange's own names. Look one up with venue\_markets.

## Hyperliquid search

hl\_analogs: give a Hyperliquid coin and a time. It finds the past moments closest to that coin's state then, using price plus buying and selling, open interest and liquidations (see [Words](#words-title)) from our archive.

- Up to 20 past moments, closest first, each with the price over the next 1 or 4 hours.
- Arguments: `coin`, `decision_utc`, `horizon` (1h or 4h), optional `k` (1 to 20, default 20) and `format` (`a3` by default, or `a3ctx` or `a3x`).
- The a3x format says what made each match close and groups matches from the same moment: ten coins in one liquidation minute count as one.
- Covers the archive, 2025-04-01 to 2026-09-30. Each match lists its archive days.
- About $0.01 of credit per search. API: `POST /v1/analogs`.

- **hl\_analogs\_batch** hl\_analogs for up to 100 queries in one call. Each query is `{coin, decision_utc, horizon, k?, fmt?}` and gets its own nearest past episodes and provenance, in input order. Optional `format`: `json` (default) or `csv`. $0.01 of credits per search that runs; a refused query is listed with its reason and not charged. REST: `POST /v1/analogs/batch`.

## Market data

The prices behind any match, plus data to check for yourself. Deep on Hyperliquid; dozens of other exchanges.

### Hyperliquid archive

212 coins, every minute, 2025-04-01 to 2026-09-30: 1 minute, 5 minute and 1 hour bars, plus funding, open interest change, liquidations, cascades and minute labels. Each day notes its source files and processing run. Every answer lists the days it used.

BTC, ETH, SOL, XRP, DOGE, BNB and HYPE are not in the archive yet. They are in chart search from May 2023 (HYPE from Dec 2024).

### Archive tools

On a plan, data tools are included within fair use (your plan's requests-per-minute limit). Credit tools use credit. Pay as you go with no plan: data tools use credit too. Each answer's meter part shows the cost.

Per call without a plan:

- $0.005: hl\_labels, hl\_labels\_snapshot, hl\_labels\_live, hl\_cascade\_events, hl\_bars, hl\_funding, hl\_oi, hl\_liquidations\_series, hl\_cascade\_search and hl\_listings.
- $0.01: hl\_stats and hl\_liquidations\_top.
- Free: hl\_coverage, hl\_coverage\_calendar, hl\_provenance, hl\_bulk\_files, usage and the venue tools.

One data call: at most 7 days and 1,440 rows. Call hl\_coverage first to see which days are complete.

#### Free

- **hl\_coverage** Archive days, the coin list, and which days are complete. No arguments.
- **hl\_provenance** The full provenance record for one archive day. Argument: `day`, as YYYY-MM-DD.
- **usage** Your key's usage for the current UTC month, or for the month you name. Optional argument: `month`.
- **hl\_bulk\_files** The catalog of whole archive day files you can download: bars1m, bars5m, labels and cascade\_after (one file per complete day, with its size and sha256) and funding (one file per coin). 100 days per page; send `next_cursor` back as `cursor`. Optional arguments: `table`, `start`, `end`, `cursor`. REST: `GET /v1/bulk/files`.
- **hl\_coverage\_calendar** Which archive days hold 1m bars, 5m bars, funding and labels for one coin, with each day's status and provenance. Argument: `coin`; optional `start`, `end`. REST: `GET /v1/coverage/calendar`.

#### Data tools, unlimited within fair use

- **hl\_labels** Per-minute event labels for one coin over a UTC span: liquidations, cascades, funding, open interest change, listing age, and wallet-cohort flow. Arguments: `coin`, `start`, `end`.
- **hl\_labels\_snapshot** Labels for every coin at one UTC minute. Argument: `minute`, like 2026-09-01T12:00:00Z.
- **hl\_labels\_live** The newest per-minute labels for one coin from the live feed. Arguments: `coin` and optional `rows`. Refused with `live_stale` when the newest row is more than 120 seconds old.
- **hl\_cascade\_events** The liquidation cascade events for one archive day. Argument: `day`. Add `after=true` (REST: `?after=1`) to see what the market did after each cascade: the move at +5, +15 and +60 minutes in basis points, the 60-minute drawdown and run-up, the follow-on count, and when the outcome became known. These are past episodes.
- **hl\_bars** OHLCV bars for one coin over a UTC span. Arguments: `coin`, `start`, `end`, and `interval` (1m by default, or 5m or 1h).
- **hl\_funding** Funding settlements for one coin over a UTC span, with funding in basis points per 8 hours and the premium at each settlement. Arguments: `coin`, `start`, `end`.
- **hl\_oi** Open interest flow for one coin over a UTC span, per bar: USD opened, USD closed, and the net change. These are per-bar changes, not open-interest levels. Arguments: `coin`, `start`, `end`, and `interval` (1m or 5m).
- **hl\_stats** Volatility, regime and correlation summaries for up to 20 coins on one anchor day. Arguments: `coins`, coin names separated by commas, and `day`, as YYYY-MM-DD. Pay-as-you-go keys with no plan pay $0.01 per call from credits.
- **hl\_liquidations\_top** The largest liquidation minutes in a UTC span of up to 548 days, across all coins or up to 20 you list. Arguments: `start`, `end`; optional `coins`, `side` (`any`, `buy` or `sell`) and `n` (1 to 500, default 50). REST: `GET /v1/liquidations/top`. Pay-as-you-go keys with no plan pay $0.01 per call.
- **hl\_liquidations\_series** One coin's liquidation totals per complete UTC hour or day: forced buys, forced sells and count. Spans up to 548 days, in pages; repeat from `page.next_start` until it is null. Arguments: `coin`, `start`, `end`; optional `interval` (`1h` or `1d`). REST: `GET /v1/liquidations/series`.
- **hl\_cascade\_search** Cascade events over up to 548 archive days, one row per event, filtered by coins (up to 20), direction, minimum liquidated USD and filter. Add `after=true` for what followed each event. Per-event rows only, no averages. Arguments: `start_day`, `end_day`; optional `coins`, `direction` (1 or -1), `min_liq_usd`, `filter`, `after`, `cursor`, `limit`. REST: `GET /v1/cascade_events` with a day range.
- **hl\_listings** Each coin's first days in the Hyperliquid archive, one row per listing: first bar, the first 24 hours and 7 days of price, volume, liquidations and funding. Rows for coins listed before the archive starts are marked censored. Optional arguments: `since`, `until`, `coins`. REST: `GET /v1/listings`.
- **hl\_bulk\_link** Signed download links for whole archive files: `table` plus `days` (1 to 100) or, for funding, `coin`. Each link works without your key for 24 hours and 5 downloads; check the sha256 after download. Plans include 40, 200 or 800 GB of links per account per month (Starter, Pro, Desk; seats share it). Pay-as-you-go keys with no plan pay $0.15 per GB from credits, charged per MB, minimum $0.02. REST: `POST /v1/bulk/links`.

#### Other credit tools

- **hl\_wallet** One wallet's public activity, read live from Hyperliquid's public API. Arguments: `address`, a 0x address with 40 hex characters, and optional `view`: `fills` (the default), `state` or `orders`. Costs $0.03 of credits per lookup. The address is not stored.
- **hl\_fills\_markout** You send your own fills, and it returns the markouts after each fill: where the price went in the minutes after it. Arguments: `horizon_s`, the horizon in seconds, and `fills`, a list of up to 5,000 fills, each with `coin`, `t_ms`, `px`, `side` (buy or sell) and `fee_bp`. Costs $0.30 of credits per 1,000 fills, with a minimum of $0.02 per call.

### Other exchanges and prediction markets

- Price bars from dozens of exchanges, fetched when you ask, then saved. Some add funding and trades; most are price bars only.
- Finished bars only. Times in UTC.
- Prediction markets: Kalshi and Polymarket. Search open markets, then get price history. Price = chance of "yes", 0 to 1.
- Free on every key, including pay as you go, within the fair-use rate limit.
- The list changes as exchanges pass or fail our checks. Call venue\_coverage first for the current list.
- REST: `GET /v1/venue/coverage` and `GET /v1/venue/{venue}/markets`, `/bars`, `/funding`, `/trades`, `/prices`.

- **venue\_coverage** Which venues are served, and which datasets, kinds and intervals each one has. No arguments.
- **venue\_markets** The markets one venue lists: symbol, kind (spot, perp or prediction), status, base and quote. Arguments: `venue`, optional `kind` and `query`.
- **venue\_bars** OHLCV bars for one symbol over a UTC span, completed bars only. Arguments: `venue`, `symbol`, `start`, `end`, optional `interval` (1m, 5m, 15m, 1h by default, 4h or 1d) and `kind`.
- **venue\_funding** Funding settlements for one perp over a UTC span, as the venue published them. At most 400 days per call. Arguments: `venue`, `symbol`, `start`, `end`.
- **venue\_trades** Trades for one symbol over at most 24 hours, on venues that publish them: time, price, size, taker side, trade id. No user fields. Arguments: `venue`, `symbol`, `start`, `end`, optional `kind`.
- **venue\_prices** Price history of one Kalshi or Polymarket market, as a probability from 0 to 1. Arguments: `venue`, `market`, `start`, `end`, optional `interval` (1m, 1h by default, or 1d).

### Full and Limited

- **Full** is that we have all the data that that exchange historically has.
- **Limited** is that we have as much data as we could get, but some is just limited, and there are gaps.

Data tier for each exchange

| Exchange | Tier | Limits today |
| --- | --- | --- |
| Hyperliquid perps | **Full (filling in)** | Archive tools run to Sep 30, 2026, without the 7 biggest coins for now. |
| Binance | **Full (filling in)** | Spot loading. COIN-M queued. |
| Coinbase | **Full (filling in)** | Loading. Coinbase gives no taker buy and sell split. |
| Bybit | **Full (filling in)** | Loading. |
| OKX | **Full (filling in)** | Queued. Listed markets only; OKX lists no delisted ones. |
| Hyperliquid HIP-3 | Limited | 1 minute bars only from Oct 17, 2026. |
| Hyperliquid spot | Limited | 337 pairs. Queued. |
| Bitget | Limited | Queued. |
| Gate | Limited | Queued. Built from Gate's trade files; can differ slightly from Gate's own chart. |
| KuCoin | Limited | Queued. Perps listed now only. |
| Upbit | Limited | Queued. No 1 day bars live. |
| HTX | Limited | Queued. Perps only live, no 1 day bars. |
| MEXC | Limited | Queued, 1 hour only. Spot only live; 1 minute bars for about 30 days. |
| Deribit | Limited | Perps live. Dated futures and DVOL queued for the API. |
| dYdX | Limited | Delisted markets loading. |
| Lighter | Limited | Partial: a few markets so far. |
| Paradex | Limited | Queued for the API. |
| Phemex | Limited | Perps only. |
| Bitfinex | Limited | No 4 hour bars. |
| Backpack, Pacifica | Limited | No 1 minute bars. |
| Orderly | Limited | 1 hour and 1 day bars only. |
| Bitstamp, Crypto.com, Poloniex, Aster, ApeX, Extended and more | Limited | Fetched when you ask, as far back as each exchange's API goes. |

### Deeper history Not live yet

- None of it is live in the API yet. Chart search on 1 minute bars comes with it.
- Loading: downloading now. Queued: not started yet. This page will say when each goes live.
- The exchange's own numbers, source files noted. Times in UTC. Dates are the oldest data on that exchange, usually BTC. Newer coins start later.

Deeper price history by exchange, with status

| Exchange or source | Markets | From | What you get | Status |
| --- | --- | --- | --- | --- |
| Binance | Spot, every pair. USD-M perps, every contract. Delisted ones too. | Spot Aug 2017. Perps Jan 2020. | 1m price, volume, trade count, taker buy and sell | Perps done, spot loading |
| Binance COIN-M | Dated futures, one market per contract, until it expires | 2020 | 1m price | Queued |
| Coinbase | Every product, delisted ones too | Jan 2015 (few bars until mid 2015) | 1m price and volume | Loading |
| Hyperliquid | Every perp | May 2023 | From May 2023 to Mar 2025: one price per minute (mark, mid and oracle), no volume. From Mar 2025: price bars from trades. | Downloaded, queued for the API |
| Hyperliquid HIP-3 | Stock, index, commodity and FX perps run by outside teams | Daily from Nov 2025. 1m from Oct 17, 2026. | 1 minute bars only from Oct 17, 2026; older bars are coarser | Loading |
| Hyperliquid spot | 337 pairs | As far back as Hyperliquid's files go | Price and volume | Queued |
| OKX | Spot and perps (USDT, USDC and coin-margined), stock and commodity perps, listed now | As far back as OKX keeps it | 1m price and volume | Queued |
| Bybit | Spot, USDT and USDC perps, coin-margined perps, dated futures. Delisted ones too. | As far back as Bybit keeps it | 1m price and volume. Dated futures built from Bybit's trade files. | Loading |
| Bitget | Spot, USDT-M and USDC-M perps | Spot Jul 2018. USDT-M Jul 2019. | 1m price and volume | Queued |
| Gate | Spot, every pair. USDT perps, every contract. | As far back as Gate's trade files go | 1m price and volume. Built from Gate's trade files; can differ slightly from Gate's own chart. | Queued |
| KuCoin | Spot, every pair. Perps that are listed now. | Spot Oct 2017. Perps about Dec 2024. | 1m price and volume | Queued |
| Upbit | KRW, BTC and USDT markets | Sep 2017 | 1m price and volume | Queued |
| HTX | Spot and USDT perps | Spot Jun 2020. Perps Oct 2020. | 1m price and volume | Queued |
| MEXC | Spot and USDT perps | Several years back | 1 hour bars only. MEXC keeps 1 minute bars for about 30 days. | Queued |
| Deribit | BTC and ETH dated futures, expired and live. DVOL, Deribit's BTC and ETH volatility index (how much movement option traders expect). | Futures about 2017. DVOL 2021. | 1m price. DVOL hourly. | Queued for the API |
| dYdX | Delisted markets | Late 2023 | 1m price and volume | Loading |
| Paradex | Perps | 2023 | 1m price. Volume in US dollars, rounded down to whole dollars. | Queued for the API |
| Lighter | Perps and spot. Stock and commodity markets are marked. | Each market's start | 1m price and volume | Loading, a few markets so far |
| ECB and US Federal Reserve | Daily FX reference rates | ECB 1999 | Daily rates. Source named on every answer. | Queued for the API |

Order flow: taker buys and sells per minute, count and size. Bybit and OKX: built from their trade files. Binance: comes with its price bars above. Bybit and OKX queued

Perps on stocks, indexes, metals, oil and currencies. They are the exchange's perp prices, not official stock or commodity market prices.

### Not included

Order book depth. Single trades on Hyperliquid. Bars that are not finished yet.

## Plans and limits

- Starter: $19 a month, $30 of credit each month. Data included within fair use.
- Pro: $79 a month, $160 of credits each month.
- Desk: $249 a month, $650 of credits each month, 3 seats, higher rate limits.
- Pay as you go: from $5. Never expires; used after monthly credits. Bonus: +5% at $25, +10% at $50, +15% at $100, +20% at $250, +25% at $500 (the biggest step your amount reaches). With no plan, data tool calls are paid per call.
- Full refund if you ask before your key makes its first call. See the [terms](https://comparand.xyz/terms).
- Credit: plan credit resets monthly, no roll over. Out of credit: credit tools are refused. We never charge extra.
- Rate limits per minute: Starter 60, Pro 300, Desk 900.
- Usage: call usage (free) to see this month's use.
- Stale data is refused: live labels over 120 seconds old return live\_stale. Refused calls are free.

All plans: [pricing](https://comparand.xyz/pricing).

### Sources on every answer

Every answer has four parts: data, prov, meter and disclosure.

- **prov** (provenance, where the data came from): the days or exchange downloads behind it, a fingerprint (digest) for each, the code version and the source files.
- **meter**: what the call cost.

## Words

API key
:   A secret code, like a password, sent with every call.

MCP
:   Model Context Protocol. How AI apps like Claude use outside tools.

REST API
:   Web addresses your code calls to get data back.

Credit
:   Money in your account, in US dollars. Used by searches and some tools.

Bar
:   Open, high, low and close over a set time, like 1 minute or 1 hour.

Perp
:   A futures contract that never expires. Most Hyperliquid markets are perps.

Funding
:   A small payment one side of a perp pays the other.

Open interest
:   Total size of trades still open.

Liquidation
:   The exchange closes a trade because the trader's money ran out.

Cascade
:   Many liquidations in a short time.

bp
:   Basis point. 100 bp is 1%.

Provenance (prov)
:   Where the data in an answer came from.

Pay as you go (PAYG)
:   Buying credit without a monthly plan.

## FAQ

What is Comparand?
:   It finds past crypto charts that look like today's and shows what the price did next. It also serves the market data behind each answer, over MCP and REST. Every answer says which data it came from.

Does Comparand give forecasts or trade signals?
:   No. Results are past cases, not forecasts, signals or advice. No averages, win rates or direction.

What data does Comparand cover?
:   Chart search covers BTC, ETH, SOL and other big coins on Binance, Bybit, OKX and Coinbase, plus every Hyperliquid perp. The Hyperliquid archive has every minute for 212 coins, April 2025 to September 2026. Price bars come from dozens of other exchanges, plus Kalshi and Polymarket. Each exchange is marked Full or Limited.

How do I connect Claude Code?
:   Run the claude mcp add command under Connect over MCP once, with your key in place of YOUR\_API\_KEY.

How do I get an API key?
:   Buy a plan or pay-as-you-go credit on the pricing page, through Stripe Checkout. The welcome page shows your key once. Save it then.

What does Comparand cost?
:   Plans start at $19 a month with $30 of credit. Pay as you go starts at $5. A search uses about one cent of credit.

What are the limits?
:   Requests per minute: Starter 60, Pro 300, Desk 900. Plan credit resets each month. With no credit left, credit tools are refused and nothing is billed extra.

What does Comparand not cover?
:   Order book depth, single trades on Hyperliquid, and bars that are not finished yet.
