Perp · AsyncAPI Specification

Perp Market Maker Webhooks

Version

View Spec View on GitHub CompanyCrypto Web3DeFiDerivativesPerpetual FuturesPrediction MarketsOptimismGraphQLBlockchainSDKAsyncAPIEvents

AsyncAPI Specification

perp-market-maker-webhooks.yml Raw ↑
generated: '2026-07-20'
method: searched
source: https://perp.com/docs/market-maker-api
spec_type: Webhooks
transport: websocket
summary: >-
  The perp.com V1 Market Maker API exposes a real-time event surface over
  WebSocket rather than HTTP webhooks. There are two endpoints: a private,
  authenticated user stream and a public market-data stream. No published
  AsyncAPI document exists yet; this is a faithful catalog of the documented
  channels.
endpoints:
  - name: private
    url: wss://api.perp.com/ws/private
    auth: AUTHENTICATE command (X-API-Key / X-Timestamp / X-Signature)
    channels:
      - user.orders
      - user.positions
      - user.balance
      - user.fills
      - user.margin
      - user.risk
      - user.liquidations
  - name: market
    url: wss://api.perp.com/ws/market
    auth: none (public)
    channels:
      - name: book
        subscribe: SUBSCRIBE_BOOK
        messages: [BOOK_SNAPSHOT, BOOK_DELTA]
      - name: trades
      - name: mark_price
safety:
  dead_man_switch: >-
    Gateway auto-cancels all orders on connection loss; heartbeat via PING
    (~1000ms), timeout configured via CONFIGURE_DEAD_MAN_SWITCH.

Work with this as data

Every AsyncAPI spec 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 asyncapi

4 MCP tools reach this
  • find_asyncapisBrowse and filter every AsyncAPI spec in the catalog.
  • 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 AsyncAPI spec
curl "https://apis.io/api/v1/asyncapis/perp-market-maker-webhooks"
All asyncapi
curl "https://apis.io/api/v1/asyncapis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.