GET
/
api
/
v0
/
exchange-rate
/
eur-to-usd
Get EUR to USD exchange rate
curl --request GET \
  --url https://api.devdraft.ai/api/v0/exchange-rate/eur-to-usd \
  --header 'x-client-secret: <api-key>'
{
  "from": "usd",
  "to": "eur",
  "midmarket_rate": "0.85000",
  "buy_rate": "0.84500",
  "sell_rate": "0.85500",
  "timestamp": "2024-01-15T10:30:00Z"
}

Authorizations

x-client-secret
string
header
required

Your secret API key. Keep this secure and never expose it in client-side code.

Response

200
application/json

Exchange rate retrieved successfully

The response is of type object.