Compare countries in dollars
Put any countries side by side in US dollars a litre, each at its own day's rate.
Every plan1 call eachUses: Pump prices, Currency rates
1
Ask each country in dollars
Add currency=usd. Each price converts at its own day's rate, with the original beside it.
curl -G "https://api.oilapi.net/v1/prices/retail" \ -d country=fr \ -d currency=usd \ -H "X-API-Key: YOUR_API_KEY"
2
Compare per litre
Prices come per litre almost everywhere; where a country prices by the gallon the answer says so in unit.
3
See the rates themselves
Currency rates gives units per US dollar day by day, if you would rather convert yourself.
curl -G "https://api.oilapi.net/v1/fx" \ -d currency=eur \ -d limit=30 \ -H "X-API-Key: YOUR_API_KEY"