The API is documented from the OpenAPI schema in this repository:Documentation Index
Fetch the complete documentation index at: https://docs.monetary.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
OpenAPI schema
View the source schema used to generate this API reference.
Endpoint groups
System:/and/healthCompanies:/v1/companiesPrediction Markets:/v1/prediction_markets/events,/v1/prediction_markets/events/:id,/v1/prediction_markets/markets,/v1/prediction_markets/markets/:id,/v1/prediction_markets/similar_events,/v1/prediction_markets/trade_feedRealtime: websocket subscriptions for event, market, and trade updates on the API service websocket path
Auth requirements
Authorization: Bearer <token>is required for all/v1/*endpoints./and/healthare public.
Response envelope
Most list endpoints return:filters echoes normalized query parameters used by the backend (including defaults).
Common status codes
200success400validation error401missing/invalid bearer token (on/v1/*)500unexpected server error
Caching
Successful/v1/* GET requests return:
Realtime updates
Use the websocket stream documented in Realtime Stream when you need push updates for:- event lifecycle changes:
created,updated,closed - market lifecycle changes:
created,updated,closed - standardized trade rebroadcasts from the live ingestion stream