Skip to main content
POST
Convert

Request contract

  • Method and path: POST /apis/v1/xe-com/exchange-rates/convert
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/xe-com/exchange-rates/convert
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
from
string
required

Source currency code (USD, EUR, BTC). Case-insensitive.

to
string
required

Target currency code.

amount
number

Amount of from to convert. Default 1.

Response

Convert an amount between two currencies at XE's live mid-market rate. Returns the rate (units of to per 1 from), its inverse, the converted amount, the rate's timestamp, and XE's 7/30/90-day statistics for the pair (high, low, average, standard deviation, volatility, data points); stats is null when the page carries none for the pair. Codes are ISO 4217 or XE's crypto/metal tickers (BTC, XAU).

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.