Environments
| Network | HTTP base URL | WebSocket URL |
|---|---|---|
| Mainnet | https://api.notional.xyz | wss://api.notional.xyz/ws |
HTTP Endpoints
| Endpoint | Purpose | Request selector |
|---|---|---|
POST /info | Read account, market, and order data | type, for example "perpMeta" |
POST /exchange | Submit trading and account actions | action.type, for example "order" |
Example: Perpetual Metadata
curl -X POST https://api.notional.xyz/info \
-H "Content-Type: application/json" \
-d '{"type":"perpMeta"}'
