Skip to main content
GET
/
partners
/
marketplace
/
rates
/
stream
Stream Real-Time Exchange Rates
curl --request GET \
  --url https://api.hyperrails.io/api/v1/partners/marketplace/rates/stream \
  --header 'Authorization: Bearer <token>'
"event: rate_update\ndata: {\"from\":\"NGN\",\"to\":\"USDT\",\"rate\":0.0006,\"timestamp\":\"2026-04-14T10:30:00Z\",\"source\":\"CONSENSUS\",\"percentChange24h\":-0.32}\n\nevent: heartbeat\ndata: {\"status\":\"connected\",\"timestamp\":\"2026-04-14T10:31:00Z\"}\n\nevent: rate_update\ndata: {\"from\":\"NGN\",\"to\":\"USDT\",\"rate\":0.00061,\"timestamp\":\"2026-04-14T10:31:05Z\",\"source\":\"CONSENSUS\",\"percentChange24h\":-0.28}\n\n"

Documentation Index

Fetch the complete documentation index at: https://docs.hyperrails.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key authentication using Bearer token

Query Parameters

base
string
required

The source currency code

Example:

"NGN"

quote
string
required

The target currency code (e.g., GHS).

Example:

"GHS"

Response

Successfully established SSE connection. Rate updates will be pushed continuously.

Server-Sent Events stream with rate updates

Example:

"event: rate_update\ndata: {\"from\":\"NGN\",\"to\":\"USDT\",\"rate\":0.0006,\"timestamp\":\"2026-04-14T10:30:00Z\"}\n\nevent: rate_update\ndata: {\"from\":\"NGN\",\"to\":\"USDT\",\"rate\":0.00061,\"timestamp\":\"2026-04-14T10:30:15Z\"}\n\n"