ORCHESTRATION API

Orchestration API

Get quotes for moving and converting between M0 extensions and other stablecoins.

This API provides quotes for moving and converting between M0 extensions and other stablecoins

Base URL

https://gateway.m0.xyz/v1/orchestration

Authentication

The M0 Orchestration API requires authentication via API keys to access its endpoint. This ensures that only authorized users can interact with the API and access its data.

Contact us to obtain an API key.

Using API Keys

To authenticate your requests, include the API key in the Authentication header of your HTTP requests. For example post with curl:

curl -i \
  --request GET \
  --header "x-api-key: YOUR_API_KEY" \
  https://gateway.m0.xyz/v1/orchestration/supported-assets

API keys should be kept secret and not exposed in public repositories or client-side code. If you believe your API key has been compromised, please contact us immediately to revoke the key and issue a new one

Endpoints

  • GET /supported-assets
  • POST /quote
  • GET /orders
  • GET /orders/{originChain}/{orderId}
  • POST /orders/{originChain}/{orderId}/cancel
  • GET /topology/routes
  • GET /topology/stats

For detailed schema definitions and interactive testing, see the API Reference.

Errors

All API error responses share the same body shape:

{
  "code": "BadQuoteRequest",
  "message": "Human-readable description of what went wrong",
  "requestId": "abc-123"
}
  • code — stable machine-readable identifier for the failure mode. Branch on it rather than on the HTTP status, since multiple errors may map to the same status over time.
  • message — human-readable description, safe to surface in a UI.
  • requestId — per-request correlation ID matching the server logs. Include it when filing support tickets.
Copyright © M0 Foundation 2026