AsyncAPI channel · Mango Markets · Mango Markets v4 Feeds API

/orderbook

Orderbook feed channel. Clients send command frames (getMarkets, subscribe with subscriptionType=level or book, unsubscribe) and receive L2 / L3 checkpoints and per-side delta updates for Mango V4 Perp and Openbook spot markets.

Provider: Mango Markets AsyncAPI: v2.6.0 Spec: Mango Markets v4 Feeds API Operations: 2 Messages: 9

Channel address

/orderbook

Operations

publish
sendOrderbookCommand
Send a command to the Orderbook Feed server
receiveOrderbookEvents
Receive orderbook checkpoints and updates from the Orderbook Feed

Messages

getMarkets
Request the list of markets the server currently supports.
Content-Type:
orderbookSubscribe
Subscribe to orderbook updates for a market. subscriptionType=level yields L2 checkpoint plus per-side L2 deltas; subscriptionType=book yields L3 checkpoint plus per-side L3 additions/removals.
Content-Type:
orderbookUnsubscribe
Unsubscribe from orderbook updates for a given marketId.
Content-Type:
marketsList
Map of market pubkey -> market name returned in response to getMarkets.
Content-Type:
subscriptionAck
Server acknowledgement of a subscribe/unsubscribe command.
Content-Type:
orderbookL2Checkpoint
Initial L2 snapshot delivered immediately after an L2 subscription is accepted. Contains both sides of the book as [price, quantity] pairs.
Content-Type:
orderbookL2Update
Per-side L2 delta. Each entry in `update` is [price, quantity] where a quantity of 0 indicates a level removal.
Content-Type:
orderbookL3Checkpoint
Initial L3 snapshot delivered immediately after an L3 subscription is accepted. ownerPubkey is a Mango account for perp markets and an open orders account for spot markets.
Content-Type:
orderbookL3Update
Per-side L3 delta containing arrays of added and removed orders for a single side of the book.
Content-Type:

About AsyncAPI

The AsyncAPI specification describes event-driven APIs the way OpenAPI describes request/response APIs. A channel is the named pipe — a webhook URL, a Kafka topic, a WebSocket route, an MQTT subject — that producers and consumers publish or subscribe to. Each channel carries one or more messages with structured payloads, and an operation declares whether a given party sends or receives on that channel.

Browse every event-driven channel on the APIs.io network or compare with the broader Agent Skill and MCP server surfaces of the same providers.

Work with this as data

Every channel 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 event channels

4 MCP tools reach this
  • find_channelsBrowse and filter every channel 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 channel
curl "https://apis.io/api/v1/channels/orderbook"
All event channels
curl "https://apis.io/api/v1/channels?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.