Mango Markets

Mango Markets is a decentralized derivatives exchange and money market built on Solana, operated by the Blockworks Foundation. Mango v4 introduces unified margin accounts that combine spot trading, perpetual futures, and borrow/lend in a single risk engine, settled by the on-chain Mango v4 program. Beyond the on-chain program and the TypeScript client, the project exposes low-latency public market-data feeds through the mango-feeds geyser services - the Fills Feed (service-mango-fills, fills.mngo.cloud) and the Orderbook Feed (service-mango-orderbook, orderbook.mngo.cloud) - which stream fill events and L2/L3 orderbook state for Mango V4 Perp markets and Openbook spot markets over WebSocket.

Mango Markets publishes 2 APIs on the APIs.io network: Mango v4 Fills Feed and Mango v4 Orderbook Feed. Tagged areas include Cryptocurrency, DeFi, Decentralized Exchange, Perpetual Futures, and Spot.

The Mango Markets catalog on APIs.io includes 1 event-driven AsyncAPI specification and 1 Spectral governance ruleset.

Mango Markets’ developer surface includes documentation and 3 more developer resources.

24.5/100 emerging ▬ flat Agent 6/100 human only Full breakdown ↓
scored 2026-07-21 · rubric v0.4
2 APIs 0 Features
CryptocurrencyDeFiDecentralized ExchangePerpetual FuturesSpotMarginOrderbookFillsMarket DataWebSocketSolanaMango v4

API Rating

API Evangelist API Evangelist Rating How this is scored →
scored 2026-07-21 · rubric v0.4
Composite quality — 24.5/100 · emerging
Contract Quality 5.6 / 25
Developer Ergonomics 1.7 / 20
Commercial Clarity 0.0 / 20
Operational Transparency 0.7 / 13
Governance 7.3 / 12
Discoverability 9.3 / 10
Agent readiness — 6/100 · human only
Machine-Readable Contract 0 / 18
Agentic Access Contract 0 / 15
MCP Server 0 / 12
Machine-Readable Auth 0 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 0 / 7
Typed Event Surface 6 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/mango-markets: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs

Mango v4 Fills Feed

Low-latency WebSocket feed (service-mango-fills) that parses Mango V4 Perp and Openbook event queues and emits individual fill events as they are processed by the validator. Sup...

Mango v4 Orderbook Feed

Low-latency WebSocket feed (service-mango-orderbook) that parses Mango V4 Perp and Openbook spot bookside accounts and emits L2 (price / quantity) and L3 (per-order) checkpoints...

Event Specifications

Mango Markets v4 Feeds API

AsyncAPI definition for the two public Mango Markets v4 WebSocket feed services operated by Blockworks Foundation: the Fills Feed (service-mango-fills) and the Orderbook Feed (s...

ASYNCAPI

API Governance Rules

Mango Markets API Rules

6 rules · 1 errors 4 warnings 1 info

SPECTRAL

Resources

Documentation 1

Reference material describing how the API behaves

Build 2

SDKs, sample code, and the tooling you integrate with

Company 1

The organization behind the API

Source (apis.yml)

apis.yml Raw ↑
aid: mango-markets
url: https://raw.githubusercontent.com/api-evangelist/mango-markets/refs/heads/main/apis.yml
name: Mango Markets
kind: company
description: Mango Markets is a decentralized derivatives exchange and money market built on Solana, operated by the Blockworks
  Foundation. Mango v4 introduces unified margin accounts that combine spot trading, perpetual futures, and borrow/lend in
  a single risk engine, settled by the on-chain Mango v4 program. Beyond the on-chain program and the TypeScript client, the
  project exposes low-latency public market-data feeds through the mango-feeds geyser services - the Fills Feed (service-mango-fills,
  fills.mngo.cloud) and the Orderbook Feed (service-mango-orderbook, orderbook.mngo.cloud) - which stream fill events and
  L2/L3 orderbook state for Mango V4 Perp markets and Openbook spot markets over WebSocket.
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
tags:
- Cryptocurrency
- DeFi
- Decentralized Exchange
- Perpetual Futures
- Spot
- Margin
- Orderbook
- Fills
- Market Data
- WebSocket
- Solana
- Mango v4
created: '2026-05-30'
modified: '2026-05-30'
specificationVersion: '0.20'
x-category: Cryptocurrency
x-tier: 1
x-type: company
apis:
- aid: mango-markets:fills-feed
  name: Mango v4 Fills Feed
  description: Low-latency WebSocket feed (service-mango-fills) that parses Mango V4 Perp and Openbook event queues and emits
    individual fill events as they are processed by the validator. Supports getMarkets discovery, subscribe / unsubscribe
    by marketIds or by Mango account, and an optional headUpdates mode that emits event-queue head pointer updates. Fill events
    that occurred on a fork are revoked via a status='revoke' message.
  humanURL: https://github.com/blockworks-foundation/mango-feeds/tree/lou/l3-feed/service-mango-fills
  baseURL: wss://fills.mngo.cloud
  tags:
  - WebSocket
  - Fills
  - Market Data
  - Perpetuals
  - Spot
  - Solana
  properties:
  - type: Documentation
    url: https://github.com/blockworks-foundation/mango-feeds/blob/lou/l3-feed/service-mango-fills/README.md
  - type: AsyncAPI
    url: asyncapi/mango-markets-feeds-asyncapi.yml
  - type: SourceCode
    title: service-mango-fills (Rust)
    url: https://github.com/blockworks-foundation/mango-feeds/tree/lou/l3-feed/service-mango-fills
  - type: SDKs
    title: '@blockworks-foundation/mango-feeds-client (TypeScript)'
    url: https://github.com/blockworks-foundation/mango-feeds/tree/main/ts/client
  - type: PublicAPI
    title: Public Fills API entrypoint
    url: https://api.mngo.cloud/fills/v1/
- aid: mango-markets:orderbook-feed
  name: Mango v4 Orderbook Feed
  description: Low-latency WebSocket feed (service-mango-orderbook) that parses Mango V4 Perp and Openbook spot bookside accounts
    and emits L2 (price / quantity) and L3 (per-order) checkpoints and per-side delta updates. Clients subscribe with subscriptionType=level
    for L2 or subscriptionType=book for L3; the server returns an initial checkpoint followed by streaming per-side updates
    with slot and writeVersion for ordering.
  humanURL: https://github.com/blockworks-foundation/mango-feeds/tree/lou/l3-feed/service-mango-orderbook
  baseURL: wss://orderbook.mngo.cloud
  tags:
  - WebSocket
  - Orderbook
  - L2
  - L3
  - Market Data
  - Perpetuals
  - Spot
  - Solana
  properties:
  - type: Documentation
    url: https://github.com/blockworks-foundation/mango-feeds/blob/lou/l3-feed/service-mango-orderbook/README.md
  - type: AsyncAPI
    url: asyncapi/mango-markets-feeds-asyncapi.yml
  - type: SourceCode
    title: service-mango-orderbook (Rust)
    url: https://github.com/blockworks-foundation/mango-feeds/tree/lou/l3-feed/service-mango-orderbook
  - type: SDKs
    title: '@blockworks-foundation/mango-feeds-client (TypeScript)'
    url: https://github.com/blockworks-foundation/mango-feeds/tree/main/ts/client
  - type: PublicAPI
    title: Public Orderbook API entrypoint
    url: https://api.mngo.cloud/orderbook/v1/
common:
- type: Website
  url: https://mango.markets
- type: Documentation
  url: https://docs.mango.markets
- type: GitHubOrganization
  url: https://github.com/blockworks-foundation
- type: SourceCode
  title: mango-feeds
  url: https://github.com/blockworks-foundation/mango-feeds
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com