Tapehall Chart API
Candles, DOM, footprint. REST + WebSocket for live (tier ≥1).
Candles, DOM, footprint. REST + WebSocket for live (tier ≥1).
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/mrtrades-com:mrtrades-com-chart-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Tapehall Chart API
description: 'Crypto-native perp screener and charting API.
**Auth**: Most endpoints accept `X-Api-Key` header. WebSocket endpoints use the `mtdp` subprotocol with API key.
Tier ≥1 required for live streams (scan, screener, chart candles, chart DOM).
**Rate limit**: per API key / session / IP sliding window (default 1200 cost units/min per key or session, 300/min per unauthenticated IP; heavy routes cost 10), max 16 concurrent requests per key. Over limit: 429 with Retry-After. Requests that have not started responding in 30s (90s heavy) get 504.'
version: 1.0.4
tags:
- name: Chart
description: Candles, DOM, footprint. REST + WebSocket for live (tier ≥1).
paths:
/v1/chart/candles:
get:
tags:
- Chart
summary: Candles
description: 'Compact candle series for charting.
Returns parallel arrays: t (epoch ms), o, h, l, c, v. Optionally bv/sv, footprint_bins, overlays.
Server-side buckets to keep ≤ max_points. Use with GET or WebSocket (live, tier≥1).'
operationId: candles_v1_chart_candles_get
parameters:
- name: symbol
in: query
required: true
schema:
type: string
description: Asset symbol (e.g. BTC, ETH)
title: Symbol
description: Asset symbol (e.g. BTC, ETH)
- name: venue
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Exchange (e.g. hyperliquid). Omit to use Hyperliquid when that coin is listed there. Use 'all' to aggregate hyperliquid, binance, bybit (combined OHLCV / footprint / DOM).
title: Venue
description: Exchange (e.g. hyperliquid). Omit to use Hyperliquid when that coin is listed there. Use 'all' to aggregate hyperliquid, binance, bybit (combined OHLCV / footprint / DOM).
- name: range
in: query
required: false
schema:
enum:
- 1h
- 1d
- 7d
- 30d
- 180d
- 365d
- max
type: string
description: 'Time range: 1h, 1d, 7d, 30d, 180d, 365d, max'
default: 1d
title: Range
description: 'Time range: 1h, 1d, 7d, 30d, 180d, 365d, max'
- name: max_points
in: query
required: false
schema:
type: integer
maximum: 50000
minimum: 200
description: Max candle count (server buckets to fit)
default: 2000
title: Max Points
description: Max candle count (server buckets to fit)
- name: tf
in: query
required: false
schema:
anyOf:
- enum:
- 5s
- 30s
- 1m
- 5m
- 15m
- 30m
- 1h
- 4h
- 12h
- 1d
- 3d
- 1w
type: string
- type: 'null'
description: 'Timeframe: 5s, 30s, 1m, 5m, 15m, 30m, 1h, 4h, 12h, 1d, 3d, 1w. Auto if omitted.'
title: Tf
description: 'Timeframe: 5s, 30s, 1m, 5m, 15m, 30m, 1h, 4h, 12h, 1d, 3d, 1w. Auto if omitted.'
- name: include_overlay
in: query
required: false
schema:
type: integer
description: 1 = ST lines, ATR bands, ATR cloud, liquidity, RZ, pump/dump/accu
default: 0
title: Include Overlay
description: 1 = ST lines, ATR bands, ATR cloud, liquidity, RZ, pump/dump/accu
- name: include_footprint
in: query
required: false
schema:
type: integer
description: 1 = per-candle per-price volume bins (requires raw_trades)
default: 0
title: Include Footprint
description: 1 = per-candle per-price volume bins (requires raw_trades)
- name: footprint_bars
in: query
required: false
schema:
type: integer
maximum: 4000
minimum: 0
description: Only attach bins for the newest N candles (0 = all bars in the window). Live WS should pass a small N.
default: 500
title: Footprint Bars
description: Only attach bins for the newest N candles (0 = all bars in the window). Live WS should pass a small N.
- name: end_ms
in: query
required: false
schema:
anyOf:
- type: integer
- type: 'null'
description: Optional window end (epoch ms). When set, range lookback ends here instead of now — used for scroll-left history.
title: End Ms
description: Optional window end (epoch ms). When set, range lookback ends here instead of now — used for scroll-left history.
- name: market_type
in: query
required: false
schema:
enum:
- perp
- spot
type: string
description: 'perp (default, unchanged) or spot (Hyperliquid spot: symbol BTC, UBTC, UBTC/USDC, BTC-SPOT or @142; venue is ignored).'
default: perp
title: Market Type
description: 'perp (default, unchanged) or spot (Hyperliquid spot: symbol BTC, UBTC, UBTC/USDC, BTC-SPOT or @142; venue is ignored).'
- name: include_cvd
in: query
required: false
schema:
type: integer
description: '1 = add cvd: running sum of (bv - sv) over the returned bars, starting at 0 on the first bar.'
default: 0
title: Include Cvd
description: '1 = add cvd: running sum of (bv - sv) over the returned bars, starting at 0 on the first bar.'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Candles V1 Chart Candles Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/chart/dom:
get:
tags:
- Chart
summary: Dom
description: 'Latest order book (Depth of Market).
Hyperliquid reads ClickHouse `order_book_snapshots` only (live L2 warehouse).
Postgres `raw_order_books_v2` is frozen legacy and is used only for non-HL venues
when present. Do not fall back to PG for HL — that book tip is stuck at cutover.
Returns {symbol, venue, venues_included, ts, bids [[price, size], ...], asks, mid_price}.
Use GET for poll or WebSocket /chart/ws/dom for live (tier≥1).'
operationId: dom_v1_chart_dom_get
parameters:
- name: symbol
in: query
required: true
schema:
type: string
description: Asset symbol
title: Symbol
description: Asset symbol
- name: venue
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Exchange. Omit to use Hyperliquid when that coin is listed there. Use 'all' for a merged book across hyperliquid, binance, bybit (sizes summed per price level).
title: Venue
description: Exchange. Omit to use Hyperliquid when that coin is listed there. Use 'all' for a merged book across hyperliquid, binance, bybit (sizes summed per price level).
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Dom V1 Chart Dom Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError