GET /stream
Connect to a Server-Sent Events stream for real-time push updates. Subscribe to broad topics or filter to specific items using the topic:filter syntax. Events include unique IDs for reconnection (pass Last-Event-ID header to resume). Heartbeat keeps the connection alive. Use curl -N or JavaScript EventSource. 14 topics available: exchange rates, crypto, electricity, commodities, economics, holidays, weather, earthquakes, space weather, NASA, sports, news, VAT, and currencies.
topics
required
Comma-separated subscriptions with optional filters (e.g. crypto:bitcoin,electricity:NO1)
heartbeat
optional
default: 30
Heartbeat interval in seconds (5-300)
| Name | Required | Default | Description |
|---|---|---|---|
topics |
Yes | - | Comma-separated subscriptions with optional filters (e.g. crypto:bitcoin,electricity:NO1) |
heartbeat |
No | 30 | Heartbeat interval in seconds (5-300) |
curl -N "https://nordapi.ee/api/v1/stream?topics=crypto:bitcoin,electricity:NO1"
curl -N "https://nordapi.ee/api/v1/stream?topics=crypto:bitcoin"
curl -N "https://nordapi.ee/api/v1/stream?topics=electricity:NO1"
curl -N "https://nordapi.ee/api/v1/stream?topics=exchange_rates:EUR/USD,commodities:gold"
curl -N "https://nordapi.ee/api/v1/stream?topics=electricity&heartbeat=15"
curl -N "https://nordapi.ee/api/v1/stream?topics=crypto,commodities"
curl -N "https://nordapi.ee/api/v1/stream?topics=exchange_rates:NOK"
This is a Server-Sent Events (SSE) streaming endpoint. It keeps the connection open and pushes events in real-time. Try it with: curl -N "https://nordapi.ee/stream?topics=crypto:bitcoin"