Trip fuel and cost for legs with different mileage (city, highway), tank range, ...
https://automotive-calc.x402tookit.com/fuel-trip-costOverview
Trip fuel and cost for legs with different mileage (city, highway), tank range, refuel stops, cost per person and a second car.
Protocol
x402
Price
$0.02
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
Automotive Calculators
Source
bazaar
Indexed
2026-10-20 21:22:37
Health
Status
healthy
Latency (p50)
538ms
Uptime (30d)
93.3%
Reliability Score
86.7/100
Last Checked
2026-10-28 06:45:38
Last Healthy
2026-10-28 06:45:38
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
Valid
Asset Verified
Known USDC
Facilitator
—
Input Schema
{
"method": "GET",
"queryParams": {
"altEconomy": 40,
"legs": "city:40:24; highway:260:33",
"people": 2,
"pricePerUnit": 3.5,
"tankSize": 14
},
"type": "http"
}
Output Schema
{
"example": {
"alternativeCost": 26.25,
"alternativeFuel": 7.5,
"alternativeSavingsOrExtra": 7.16,
"asOf": "2026-10-11T14:38:37.389Z",
"averageEconomy": 31.43,
"cost": 33.41,
"costPerDistance": 0.1114,
"costPerPerson": 16.7,
"degraded": false,
"disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
"distance": 300,
"distanceUnit": "miles",
"fuel": 9.545,
"fuelUnit": "gallons",
"legs": [
{
"cost": 5.83,
"distance": 40,
"fuel": 1.667,
"leg": "city"
},
{
"cost": 27.58,
"distance": 260,
"fuel": 7.879,
"leg": "highway"
}
],
"notChecked": [
"real consumption: speed, load, wind, hills, cold weather, air conditioning and driving style change economy by 10 to 30%",
"price changes along the route and the detour to a station",
"…2 more"
],
"rangePerTank": 396,
"reasons": [
"Fuel = miles / mpg per leg; cost = fuel x price.",
"Refuel stops = ceil(total fuel / usable tank) - 1, with the reserve share left in the tank."
],
"refuelStops": 0,
"roundTrip": false,
"source": "computed locally",
"summary": "300 miles uses 9.55 gallons and costs 33.41 (0.111 per mile, 16.7 each for 2). A 14-gallon tank with 10% reserve goes about 396 miles; 0 refuel stops needed. The comparison vehicle (40 mpg) would cost…",
"tankReservePercent": 10,
"usableTank": 12.6,
"verdict": "COMPUTED"
},
"type": "json"
}