x402

Currency Convert (x402)

Convert an amount between currencies using ECB exchange rates. Supports all major currencies. Returns converted amount and rate.

get/x402/v2/currency-convert

Request

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

Query parameters

tostring required

Target currency (ISO 4217)

fromstring required

Source currency (ISO 4217)

amountnumber required

Amount to convert

Response

Success

tostring
datestring
fromstring
ratenumber
amountnumber
converted_amountnumber

Example response

{
  "to": "EUR",
  "date": "2026-04-02",
  "from": "USD",
  "rate": 0.867679,
  "amount": 100,
  "converted_amount": 86.77
}

Changes

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