Server-sent events: prices
GET
/stream/market
const url = 'https://api.getchord.xyz/v1/stream/market';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.getchord.xyz/v1/stream/marketOne text/event-stream feed, no key, EventSource-friendly with automatic reconnect. Events: rh-ticker (fresh prices for chain 4663, about every 10 s, only addresses whose price moved), ticker / whales / defi (Monad), ping every 5 s. Capacity 500 clients (503 beyond). Arc and Robinhood Chain boards stream faster over the WebSocket prices channel — see Concepts → Streaming.
Responses
Section titled “ Responses ”text/event-stream
Media typetext/event-stream
string
Example
event: rh-tickerdata: {"items":[{"address":"0xd0601ce157db5bdc3162bbac2a2c8af5320d9eec","priceUsd":220.97,"change24h":-0.71}]}
event: pingdata: 1789891855At capacity.
Media typeapplication/json
Every non-2xx body.
object
error
required
Stable machine code, e.g. INVALID_PARAMS, NOT_READY, RATE_LIMIT_EXCEEDED.
string
message
For humans.
string
statusCode
HTTP status, when included.
integer
Example
{ "error": "INVALID_PARAMS", "message": "amount must be an integer string in the token's smallest unit"}