Skip to main content
GET
/
api
/
v1
/
network
/
exchangerate
Get the network exchange rate to estimate costs
curl --request GET \
  --url https://mainnet.mirrornode.hedera.com/api/v1/network/exchangerate
{
  "current_rate": {
    "cent_equivalent": 596987,
    "expiration_time": 1649689200,
    "hbar_equivalent": 30000
  },
  "next_rate": {
    "cent_equivalent": 596987,
    "expiration_time": 1649689200,
    "hbar_equivalent": 30000
  },
  "timestamp": "1586567700.453054000"
}

Query Parameters

timestamp
string[]

The consensus timestamp as a Unix timestamp in seconds.nanoseconds format with an optional comparison operator. See unixtimestamp.com for a simple way to convert a date to the 'seconds' part of the Unix time.

Response

OK

current_rate
object
next_rate
object
timestamp
string

A Unix timestamp in seconds.nanoseconds format

Example:

"1586567700.453054000"