x402

Exchange Rate (x402)

Get current exchange rate between two currencies using ECB data. Supports all major currencies. Returns rate, inverse rate, and date.

get/x402/v2/exchange-rate

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/exchange-rate
  • Auth: none required

Query parameters

tostring required

Target currency (ISO 4217, e.g. EUR)

fromstring required

Source currency (ISO 4217, e.g. USD)

Response

Success

tostring
datestring
fromstring
ratenumber
inverse_ratenumber

Example response

{
  "to": "EUR",
  "date": "2026-03-06",
  "from": "USD",
  "rate": 0.864977,
  "inverse_rate": 1.1561
}

Changes

No recorded changes to this operation across all 1 revision of this API.