API examples

Frankfurter is a free, open-source API for current and historical exchange rates. The public API lives at api.frankfurter.dev. Query rates from this provider using the examples below.

Fetch provider's latest rates.

curl https://api.frankfurter.dev/v2/providers/bccr/rates?base=crc

Fetch provider's five years of monthly rates.

curl https://api.frankfurter.dev/v2/providers/bccr/rates?from=2021-09-12&group=month&base=crc

Fetch provider's current USD/CRC.

curl https://api.frankfurter.dev/v2/providers/bccr/rate/usd/crc

For the full reference and more examples, see the docs.