Skip to main content
GET
/
partners
/
rates
Get Exchange Rate
curl --request GET \
  --url https://api.hyperrails.io/api/v1/partners/rates \
  --header 'Authorization: Bearer <token>'
{
  "from": "usdt",
  "to": "NGN",
  "rate": 0.0006,
  "source": "CONSENSUS",
  "timestamp": "2026-04-01T14:13:28.306083501Z",
  "chain": "ethereum"
}

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 (e.g., NGN).

Example:

"NGN"

quote
string
required

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

Example:

"GHS"

chain
string

The blockchain network (optional - only for crypto currencies)

Example:

"ETHEREUM"

Response

Successfully retrieved the exchange rate

Represents the current exchange rate and consensus metadata between two currencies.

from
string
required

The source currency code.

Example:

"usdt"

to
string
required

The target currency code.

Example:

"NGN"

rate
number<double>
required

The conversion rate/multiplier.

Example:

0.0006

source
string
required

The mechanism used to determine the rate (e.g., CONSENSUS, ADMIN_OVERRIDE, MARKET_MAKER, SPOT).

Example:

"CONSENSUS"

timestamp
string<date-time>
required

The UTC timestamp of the rate generation.

Example:

"2026-04-01T14:13:28.306083501Z"

chain
string

The blockchain network or settlement chain.

Example:

"ethereum"