cURL
Prices
Multi Stream
GET
cURL
Documentation Index
Fetch the complete documentation index at: https://docs.pragma.build/llms.txt
Use this file to discover all available pages before exploring further.
This is an SSE endpoint. Learn more about SSE here.
You can think of SSE as an unidirectional channel from the server to the client.
It is much more efficient than websocket to display real time data on a frontend and it is supported by most browsers as of today.
Query Parameters
Base parameters for entry requests including interval, aggregation mode, and routing options Parameters for retrieving price entries
List of trading pairs to stream prices for (e.g. ["ETH/USD", "BTC/USD"])
Number of historical price entries to fetch on initial connection (default: 100)
Required range:
x >= 0Response
200 - text/event-stream
Server-sent events stream of price entries for multiple pairs