Tapehall Market API

Market cap and watchlist

GitHub OpenAPI

Operations 5

GET /v1/market/mcap/top Mcap Top #
GET /v1/market/mcap/watch Mcap Watch #
GET /v1/market/book_orders Resting orders #
GET /v1/market/book_changes Large book changes #
GET /v1/market/book_flow Minute book flow #

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-market-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-market-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tapehall Market 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: Market
  description: Market cap and watchlist
paths:
  /v1/market/mcap/top:
    get:
      tags:
      - Market
      summary: Mcap Top
      description: Latest market-cap snapshot (top N).
      operationId: mcap_top_v1_market_mcap_top_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 50
          title: Limit
      - name: provider
        in: query
        required: false
        schema:
          type: string
          default: coingecko
          title: Provider
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Mcap Top V1 Market Mcap Top Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/market/mcap/watch:
    get:
      tags:
      - Market
      summary: Mcap Watch
      description: 'Watchlist of movers near the Top-N cutoff.


        - rising_in: outside top_n but within (top_n+buffer) and improving rank by >= min_rank_delta

        - falling_out: inside top_n but worsening rank by <= -min_rank_delta'
      operationId: mcap_watch_v1_market_mcap_watch_get
      parameters:
      - name: top_n
        in: query
        required: false
        schema:
          type: integer
          default: 50
          title: Top N
      - name: buffer
        in: query
        required: false
        schema:
          type: integer
          default: 25
          title: Buffer
      - name: min_rank_delta
        in: query
        required: false
        schema:
          type: integer
          default: 3
          title: Min Rank Delta
      - name: provider
        in: query
        required: false
        schema:
          type: string
          default: coingecko
          title: Provider
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Mcap Watch V1 Market Mcap Watch Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/market/book_orders:
    get:
      tags:
      - Market
      summary: Resting orders
      description: One row per order opened in the window. Window at most one day. Not the live order book. Paid plan.
      operationId: book_orders_v1_market_book_orders_get
      parameters:
      - name: coin
        in: query
        required: true
        schema:
          type: string
          title: Coin
      - name: start
        in: query
        required: true
        schema:
          type: string
          format: date-time
          title: Start
      - name: end
        in: query
        required: true
        schema:
          type: string
          format: date-time
          title: End
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          default: 100
          title: Limit
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
      - name: side
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Side
      - name: min_notional
        in: query
        required: false
        schema:
          anyOf:
          - type: number
          - type: 'null'
          title: Min Notional
      - name: user
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: User
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Book Orders V1 Market Book Orders Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/market/book_changes:
    get:
      tags:
      - Market
      summary: Large book changes
      description: Adds and size updates at or above 50,000 USD. Window at most one day. Time is the line's place in the hourly file. Paid plan.
      operationId: book_changes_v1_market_book_changes_get
      parameters:
      - name: coin
        in: query
        required: true
        schema:
          type: string
          title: Coin
      - name: start
        in: query
        required: true
        schema:
          type: string
          format: date-time
          title: Start
      - name: end
        in: query
        required: true
        schema:
          type: string
          format: date-time
          title: End
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          default: 100
          title: Limit
      - name: action
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Action
      - name: side
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Side
      - name: min_notional
        in: query
        required: false
        schema:
          anyOf:
          - type: number
          - type: 'null'
          title: Min Notional
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Book Changes V1 Market Book Changes Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/market/book_flow:
    get:
      tags:
      - Market
      summary: Minute book flow
      description: Notional added and removed, and event counts, per minute and side. Window at most 7 days. Paid plan.
      operationId: book_flow_v1_market_book_flow_get
      parameters:
      - name: coin
        in: query
        required: true
        schema:
          type: string
          title: Coin
      - name: start
        in: query
        required: true
        schema:
          type: string
          format: date-time
          title: Start
      - name: end
        in: query
        required: true
        schema:
          type: string
          format: date-time
          title: End
      - name: side
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Side
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Book Flow V1 Market Book Flow 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