Skip to main content

API Reference

One MTF-native protocol, served by the gateway front door (https://api.<net>.mtf.exchange).

SurfaceWhereNotes
MTF-nativePOST /exchange, POST /info, GET /ws, POST /faucetCompact snake_case shape. Exposes everything, including advanced MTF features (RFQ, FBA, PM enrollment, cross-chain).

The gateway is the front door for the MTF-native surface (/info, /exchange, /ws). Running the node yourself? It serves the same native surface directly at http://localhost:8080.

Start here

I want to…Go to
make my first call in five minutesQuickstart
place an ordersubmit_order, then placing orders
sign a requestSigning · typed data
read an accountaccount_state
stream the book or my fillsWS subscriptions
find one action's fieldsthe action catalog
know why a request was refusedErrors
use a client libraryTypeScript · Rust

REST

  • POST /exchange — the envelope, signing, and the action catalog. Each action's fields live on its lane's page, linked from the catalog.
  • POST /info — per-type read schemas

WebSocket

Cross-cutting

  • Errors — the one response envelope, every error code, and what to do about each
  • Rate limits — per-IP weight + per-account request budgets

See also