Skip to content
Fourohtwo

Convert between mpg, L/100km, km/L and MPGe with cost and CO2

saylorinnovations.com/api/auto/fuel-economy-convert

Convert between mpg, L/100km, km/L and MPGe with cost and CO2

SolanaAnswering
GEThttps://saylorinnovations.com/api/auto/fuel-economy-convert

Uptime100% of 3 checks in 30 days

30 days agoToday

Call it from an agent

curl -i "https://saylorinnovations.com/api/auto/fuel-economy-convert?fuel=gasoline&unit=l_per_100km&value=7.8&miles_per_year=13000&price_per_gallon=3.4"

# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.

Example input

{
  "fuel": "gasoline",
  "unit": "l_per_100km",
  "value": "7.8",
  "miles_per_year": "13000",
  "price_per_gallon": "3.4"
}