API Surfaces
The API is delivered through two surfaces, alongside the on-chain smart contract layer. The REST API spec can be found at docs.ondo.finance/openapi.json, and the streaming API’s Protocol Buffers schema is available for generating typed clients.REST API
High-performance request/response access to essential pricing, quote generation, token lifecycle, and token contract metadata. The full OpenAPI specification is available for use with code generators and other tooling.
Streaming API
Low-latency, real-time updates over gRPC so clients can react to market movements as they happen rather than polling. The Protocol Buffers schema is available for generating typed clients.
What the API Supports
- Generating mint and redemption attestations to generate quotes that are fed to the smart contract layer.
- Real-time price data for each Ondo GM asset.
- OHLC (Open, High, Low, Close) data to support charting, analytics, and historical views.
- On chain mints and redemptions that handle the core logic for minting and redeeming Ondo GM tokens.
How It Works
Here’s the typical flow for Ondo GM, using TSLAon as an example: Minting Process:- Primary Purchaser requests a mint attestation from Ondo GM API.
- Primary Purchaser broadcasts transaction with the provided mint attestation signature along with a USD stablecoin (such as USDC) to the smart contract to atomically mint TSLAon to their whitelisted address.
- Primary Purchaser requests a redemption attestation from Ondo GM API.
- Primary Purchaser broadcasts transaction with the provided redemption attestation signature along with TSLAon to the smart contract to atomically redeem TSLAon for a USD stablecoin (such as USDC) to their whitelisted address.

