Models guess exchange rates from old training data; this returns reference rates for any date.
Foreign-exchange reference rates: convert between currencies, look up a historical rate for any date, or pull a time series. Sourced from European Central Bank reference rates.
Exchange rates as published on a specific past date.
Base currency, ISO 4217 code (e.g. USD). Defaults to EUR.
Date in YYYY-MM-DD format.
Amount of the base currency to convert. Defaults to 1.
Comma-separated target currencies, ISO 4217. Omit for all.
curl -X POST "https://skill.askfaro.com/skills/currency/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "What was the USD to EUR rate on 2024-01-02?"
}
}'askfaro describe currency/historical
Install pip install askfaro-cli, then askfaro auth login.
List every supported currency and its full name.
curl -X POST "https://skill.askfaro.com/skills/currency/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "What currencies are supported?"
}
}'askfaro describe currency/currencies
Install pip install askfaro-cli, then askfaro auth login.
Latest exchange rates for one base currency against one or more target currencies.
Base currency, ISO 4217 code (e.g. USD). Defaults to EUR.
Amount of the base currency to convert. Defaults to 1.
Comma-separated target currencies, ISO 4217 (e.g. "EUR,GBP,JPY"). Omit for all.
curl -X POST "https://skill.askfaro.com/skills/currency/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "Convert 100 USD to EUR"
}
}'askfaro describe currency/latest
Install pip install askfaro-cli, then askfaro auth login.
Daily exchange rates across a date range, for charting or trend analysis.
Range end date, YYYY-MM-DD.
Base currency, ISO 4217 code (e.g. USD). Defaults to EUR.
Range start date, YYYY-MM-DD.
Comma-separated target currencies, ISO 4217. Omit for all.
curl -X POST "https://skill.askfaro.com/skills/currency/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "Show the USD to EUR rate for January 2024"
}
}'askfaro describe currency/timeseries
Install pip install askfaro-cli, then askfaro auth login.