Fixer at https://data.fixer.io/api serves exchange rates for 170 currencies. On the free plan the base currency is always EUR.
Sign up at fixer.io for an access key, passed as access_key in the query string. In the examples it's written {{FIXER_ACCESS_KEY}}. The free plan has a monthly call limit.
Full reference: https://fixer.io/documentation
curl "https://data.fixer.io/api/latest?access_key={{FIXER_ACCESS_KEY}}&symbols=USD,GBP,JPY"
curl "https://data.fixer.io/api/2025-01-02?access_key={{FIXER_ACCESS_KEY}}&symbols=USD"