Docs navigation · Public API
Montra Docs | API, Live Token Data & SSE Trades
The read-only data layer used by the Montra site: open JSON endpoints for market discovery plus an SSE stream for live trades.
Operational flow
Use this page as an operational reference: identify the correct surface, verify the live state, perform the intended action, then reconcile the result from on-chain or indexed data.
Use the API as an indexed read layer
The API exposes indexed chain data such as tokens, prices, charts, trades, holders and platform totals. It is ideal for interfaces and analytics, but on-chain state remains the final authority for a transaction about to be signed.
Understand units
Amounts are returned in asset-native integer units where documented, while prices and market caps use decimal strings. Treat addresses as normalized values and parse timestamps according to each route’s documented format.
Live vs polling
Use the SSE stream for new trade updates and polling for slower-changing summaries. Respect rate limits and back off on HTTP 429 rather than multiplying retries across every component.
Cache intentionally
Cache token metadata and slower statistics longer than trade streams, but keep an explicit “updated” timestamp. A stale fallback is better than an empty UI only when it is clearly identified as stale.
Public API FAQ
Concise answers to the questions most likely to matter before using or integrating this part of Montra.
What is the Montra API base URL?
https://api.montraxyz.com.
Does the read API require a key?
No for the documented public read endpoints.
Can a browser call it directly?
The documented read API is open to browser origins.
How are live trades delivered?
Through server-sent events (SSE).
What should I do after a 429 response?
Reduce request frequency and retry with backoff.