Skip to main content
GET
/
lookup
/
exchange_rate
/
usd_to_
{currency}
Get exchange rate
curl --request GET \
  --url https://api.etherfuse.com/lookup/exchange_rate/usd_to_{currency}
{
  "rate": "17.15",
  "sources": {
    "provider_1": {
      "rate": "17.15",
      "updated_at": 1709510400
    }
  },
  "updated_at": 1709510400
}

Path Parameters

currency
string
required

The target currency code (e.g. "mxn", "brl", "eur")

Query Parameters

max_age
integer<int64> | null

Maximum age of a source in seconds. Sources whose updated_at timestamp is older than now - max_age are excluded from the sources map. When omitted, all sources are returned regardless of age.

Required range: x >= 0

Response

Exchange rate with per-provider source breakdown