GET
/
exchange_rates
Get current exchange rate between two currencies.
curl --request GET \
  --url https://api.bridge.xyz/v0/exchange_rates \
  --header 'Api-Key: <api-key>'
{
  "midmarket_rate": "0.93425",
  "buy_rate": "0.9389",
  "sell_rate": "0.9296"
}

Authorizations

Api-Key
string
header
required

Query Parameters

from
enum<string>
required

The currency code to convert from.

Available options:
usd,
eur,
btc,
eth,
sol
to
enum<string>
required

The currency code to convert to.

Available options:
usd,
eur,
btc,
eth,
sol,
mxn

Response

200 - application/json

The exchange rate information.

The response is of type object.