# XE API

> 2 public methods for XE (xe.com), each 1 credit per completed run.

Unofficial. Not affiliated with or endorsed by XE.

- Page: https://fous.com/methods/xe.com

## Methods

### [Convert currency](https://fous.com/methods/xe.com/convert-currency.md)

`xe.com/convert_currency`, read. Converts an amount between two currencies using XE's displayed mid-market rate. It also returns the rate time and an XE converter link. Rates are informational, not transfer quotes.

Returns: converted amount, rate, inverse rate, rate time, currency names, XE link

### [Get historical exchange rate](https://fous.com/methods/xe.com/get-historical-rate.md)

`xe.com/get_historical_rate`, read. Gets XE's daily mid-market exchange rate for a past UTC date and converts an amount with it.

Returns: date, currency codes and names, rate, inverse rate, converted amount, table link
