Use the ExchangeRate CLI from KosmoKrator to call ExchangeRate tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.
ExchangeRate can be configured headlessly with `kosmokrator integrations:configure exchangerate`.
# Install KosmoKrator first if it is not available on PATH.curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash# Configure and verify this integration.kosmokrator integrations:configure exchangerate --enable --read allow --write ask --jsonkosmokrator integrations:doctor exchangerate --jsonkosmokrator integrations:status --json
Credentials
Authentication type: No credentialsnone. Configure credentials once, then use the same stored profile from
scripts, coding CLIs, Lua code mode, and the MCP gateway.
No credentials are required.
Call ExchangeRate Headlessly
Use the generic call form when another coding CLI or script needs a stable universal interface.
Every function below can be called headlessly. The generic form is stable across all integrations;
the provider shortcut is shorter but specific to ExchangeRate.
exchangerate.exchangerate_list_currencies
Read read
List all available currencies (fiat, crypto, precious metals, stablecoins). Supports 340+ assets. Optionally filter by name or code.
Show the most commonly used currency codes (no API call needed). Use these codes directly with exchangerate_convert_currency.
Popular codes:
{$popular}
Convert an amount from one currency to another. Supports 340 fiat currencies, cryptocurrencies, and precious metals. Common codes: usd, eur, gbp, jpy, cny, chf, cad, aud, btc, eth, sol, xau, xag.
Get all exchange rates for a base currency. Optionally filter to specific target currencies. Supports 340 fiat currencies, cryptocurrencies, and precious metals.
Filter currencies by code or name (e.g. "dollar", "btc", "gold").
exchangerate.exchangerate_popular_currencies
Show the most commonly used currency codes (no API call needed). Use these codes directly with exchangerate_convert_currency.
Popular codes:
{$popular}
Convert an amount from one currency to another. Supports 340 fiat currencies, cryptocurrencies, and precious metals. Common codes: usd, eur, gbp, jpy, cny, chf, cad, aud, btc, eth, sol, xau, xag.
Date for the rate (default: "latest"). Format: "YYYY-MM-DD" or "latest".
exchangerate.exchangerate_rates
Get all exchange rates for a base currency. Optionally filter to specific target currencies. Supports 340 fiat currencies, cryptocurrencies, and precious metals.
Comma-separated dates to compare (e.g. "2026-01-01,2026-02-01,2026-02-20").
Permissions
Headless calls still follow the integration read/write permission policy. Configure read/write defaults
with integrations:configure. Add --force only for trusted automation that should bypass that policy.