Skip to main content
GET
/
lookup
/
exchange_rate
List exchange rates
curl --request GET \
  --url https://api.etherfuse.com/lookup/exchange_rate
{
  "usd_to_brl": {
    "rate": "4.97",
    "sources": {
      "provider_1": {
        "rate": "4.97",
        "updated_at": 1709510400
      }
    },
    "updated_at": 1709510400
  },
  "usd_to_mxn": {
    "rate": "17.15",
    "sources": {
      "provider_1": {
        "rate": "17.15",
        "updated_at": 1709510400
      }
    },
    "updated_at": 1709510400
  }
}

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

200 - application/json

All exchange rates keyed by usd_to_<currency>