Market
Use the Market branch when you want product-level market reads or product-level market streams without dropping into native chain RPC semantics.
Access
Endpoint source
Auth header
Authorization: Bearer {API_KEY}How to integrate
Get one API key
Create one API key on agentql.tomo.inc, then reuse the same bearer token across HTTP, Market WebSocket, MCP, and EVM RPC.
Choose the transport
Use Market HTTP for request-response reads. Use Market WebSocket for live price or OHLCV delivery.
Start with one concrete method
For first success, start with price-snapshot on HTTP or connect plus
price-streams on WebSocket.
Published HTTP methods
- Market HTTP overview: shared entry page for the Market HTTP request tree.
- Get price snapshot: latest normalized price state for one market.
- Get asset profile: canonical asset identity and metadata.
- Get market profile: market context for one supported instrument.
- Get OHLCV window: short-range candle window for one market.
Published WebSocket pages
- Market WebSocket overview: shared entry page for the product-level stream tree.
- Connect: open the socket and send the first subscribe frame.
- Price streams: live
MARKET_PRICEevent delivery. - OHLCV streams: rolling
MARKET_SHORT_RANGE_OHLCVupdates. - Status events: continuity gaps, source drift, and backpressure signals.
Branches
- HTTP API: canonical Market API reads for profile, price, market context, and OHLCV.
- WebSocket API: product-level market stream delivery for connect, price, OHLCV, and status events.
Last updated on