saylorinnovations.com/api/auto/trip-cost
Fuel cost, split, speed penalty and per-mile cost with the IRS rate as a comparison
GET
https://saylorinnovations.com/api/auto/trip-costUptime100% of 3 checks in 30 days
30 days agoToday
Call it from an agent
curl -i "https://saylorinnovations.com/api/auto/trip-cost?mpg=28&tolls=12&people=3&distance=450&speed_mph=75&round_trip=true&price_per_gallon=3.45" # 402 Payment Required comes back with the price and where to pay. # Any x402 client pays and retries.
Example input
{
"mpg": "28",
"tolls": "12",
"people": "3",
"distance": "450",
"speed_mph": "75",
"round_trip": "true",
"price_per_gallon": "3.45"
}