Successor backend for the Purchasing Power Parity API from Robin Wieruch.
Exchange rates and purchase power parity is fetched once per day for each country and then cached for the rest of the day.
Sample:
$ curl -v https://ppp-api.fly.dev/?target=DE
{
"countryCodeIsoAlpha2": "DE",
"countryCodeIsoAlpha3": "DEU",
"currenciesCountry": {
"EUR": {
"symbol": "β¬",
"name": "Euro"
}
},
"currencyMain": {
"exchangeRate": 0.940223,
"name": "USD",
"symbol": "$"
},
"ppp": 74.0,
"pppConversionFactor": 0.79
}