Tapehall Markets API

Unified market catalog (symbol normalization + exchange availability).

GitHub OpenAPI

Operations 6

GET /v1/candles Get Candles #
GET /v1/depth Get Depth #
GET /v1/trades Get Trades #
GET /v1/stats Get Stats #
GET /v1/vd Get Vd #
GET /v1/markets List Markets #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mrtrades-com:mrtrades-com-markets-api"
All apis
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.

Get an API 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 Specification

mrtrades-com-markets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tapehall Markets 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: Markets
  description: Unified market catalog (symbol normalization + exchange availability).
paths:
  /v1/candles:
    get:
      tags:
      - Markets
      summary: Get Candles
      operationId: get_candles_v1_candles_get
      parameters:
      - name: symbol
        in: query
        required: true
        schema:
          type: string
          description: Unified symbol (e.g. btc/usd). Canonical form (BTC-USD) also accepted.
          title: Symbol
        description: Unified symbol (e.g. btc/usd). Canonical form (BTC-USD) also accepted.
      - name: exchange
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Exchange name (preferred parameter).
          title: Exchange
        description: Exchange name (preferred parameter).
      - name: venue
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Legacy alias for exchange.
          title: Venue
        description: Legacy alias for exchange.
      - name: range
        in: query
        required: false
        schema:
          enum:
          - 1h
          - 1d
          - 7d
          - 30d
          - 180d
          - 365d
          - max
          type: string
          description: 'Time range: 1d, 7d, 30d, 180d, 365d, max'
          default: 30d
          title: Range
        description: 'Time range: 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, liquidity, RZ, pump/dump/accu
          default: 0
          title: Include Overlay
        description: 1 = ST lines, ATR bands, 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: include_fvg
        in: query
        required: false
        schema:
          type: integer
          description: 1 = include backend-computed FVG zones
          default: 1
          title: Include Fvg
        description: 1 = include backend-computed FVG zones
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Candles V1 Candles Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/depth:
    get:
      tags:
      - Markets
      summary: Get Depth
      operationId: get_depth_v1_depth_get
      parameters:
      - name: symbol
        in: query
        required: true
        schema:
          type: string
          description: Unified symbol (e.g. btc/usd). Canonical form (BTC-USD) also accepted.
          title: Symbol
        description: Unified symbol (e.g. btc/usd). Canonical form (BTC-USD) also accepted.
      - name: exchange
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Exchange name (preferred parameter).
          title: Exchange
        description: Exchange name (preferred parameter).
      - name: venue
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Legacy alias for exchange.
          title: Venue
        description: Legacy alias for exchange.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Depth V1 Depth Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/trades:
    get:
      tags:
      - Markets
      summary: Get Trades
      operationId: get_trades_v1_trades_get
      parameters:
      - name: symbol
        in: query
        required: true
        schema:
          type: string
          description: Unified symbol (e.g. btc/usd). Canonical form (BTC-USD) also accepted.
          title: Symbol
        description: Unified symbol (e.g. btc/usd). Canonical form (BTC-USD) also accepted.
      - name: exchange
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Exchange name (preferred parameter).
          title: Exchange
        description: Exchange name (preferred parameter).
      - name: venue
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Legacy alias for exchange.
          title: Venue
        description: Legacy alias for exchange.
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 2000
          minimum: 1
          description: Maximum number of recent prints to return.
          default: 200
          title: Limit
        description: Maximum number of recent prints to return.
      - name: age_format
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: 'Text format of each print''s age: seconds (default), minutes, hms or auto. age_s is always seconds.'
          title: Age Format
        description: 'Text format of each print''s age: seconds (default), minutes, hms or auto. age_s is always seconds.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Trades V1 Trades Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/stats:
    get:
      tags:
      - Markets
      summary: Get Stats
      operationId: get_stats_v1_stats_get
      parameters:
      - name: symbol
        in: query
        required: true
        schema:
          type: string
          description: Unified symbol (e.g. btc/usd). Canonical form (BTC-USD) also accepted.
          title: Symbol
        description: Unified symbol (e.g. btc/usd). Canonical form (BTC-USD) also accepted.
      - name: exchange
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Exchange name (preferred parameter).
          title: Exchange
        description: Exchange name (preferred parameter).
      - name: venue
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Legacy alias for exchange.
          title: Venue
        description: Legacy alias for exchange.
      - name: max_venues
        in: query
        required: false
        schema:
          type: integer
          maximum: 50
          minimum: 1
          description: Max venue rows to return when exchange is omitted.
          default: 10
          title: Max Venues
        description: Max venue rows to return when exchange is omitted.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Stats V1 Stats Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/vd:
    get:
      tags:
      - Markets
      summary: Get Vd
      operationId: get_vd_v1_vd_get
      parameters:
      - name: symbol
        in: query
        required: true
        schema:
          type: string
          description: Unified symbol (e.g. btc/usd). Canonical form (BTC-USD) also accepted.
          title: Symbol
        description: Unified symbol (e.g. btc/usd). Canonical form (BTC-USD) also accepted.
      - name: exchange
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Exchange name (preferred parameter).
          title: Exchange
        description: Exchange name (preferred parameter).
      - name: venue
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Legacy alias for exchange.
          title: Venue
        description: Legacy alias for exchange.
      - name: range
        in: query
        required: false
        schema:
          enum:
          - 1h
          - 1d
          - 7d
          - 30d
          - 180d
          - 365d
          - max
          type: string
          description: 'Time range: 1d, 7d, 30d, 180d, 365d, max'
          default: 1d
          title: Range
        description: 'Time range: 1d, 7d, 30d, 180d, 365d, max'
      - name: tf
        in: query
        required: false
        schema:
          enum:
          - 1m
          - 5m
          - 15m
          - 30m
          - 1h
          - 4h
          type: string
          description: Volume-delta bucket timeframe.
          default: 5m
          title: Tf
        description: Volume-delta bucket timeframe.
      - name: max_points
        in: query
        required: false
        schema:
          type: integer
          maximum: 50000
          minimum: 100
          description: Maximum number of buckets.
          default: 2000
          title: Max Points
        description: Maximum number of buckets.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Vd V1 Vd Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/markets:
    get:
      tags:
      - Markets
      summary: List Markets
      operationId: list_markets_v1_markets_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 500
          title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Markets V1 Markets 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