GET /exchange_rates
Query
| Param | Type | Required | Values |
|---|---|---|---|
from | string | yes | brl, cop, eur, gbp, mxn, usd, usdt |
to | string | yes | Same enum as from. |
Response (200)
{
"midmarket_rate": "1.0834",
"buy_rate": "1.0901",
"sell_rate": "1.0768"
}midmarket_rate: no-fee reference rate.buy_rate: what you'd pay to acquiretoby spendingfrom. Includes an indicative spread.sell_rate: what you'd receive intoby sellingfrom.
All three are strings. Values are multiplicative (to_units = from_units × rate).
curl "$BASE_URL/exchange_rates?from=usd&to=eur" \
-H "Api-Key: $SEISMIC_ORCHESTRATION_API_KEY"