Trip fuel and cost for legs with different mileage (city, highway), tank range,
Trip fuel and cost for legs with different mileage (city, highway), tank range, refuel stops, cost per person and a second car.
Answers HTTP 429 without x402 payment termsour last check, 2026-10-21
0 of 1checks answered this week
n/amedian answer time
$0.02listed price per call
n/aprice it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://automotive-calc.x402tookit.com/fuel-trip-cost
| Category | Everything else |
|---|---|
| Provider host | automotive-calc.x402tookit.com |
| Networks | eip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-21 | no x402 terms | 429 | 285 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"altEconomy": 40,
"legs": "city:40:24; highway:260:33",
"people": 2,
"pricePerUnit": 3.5,
"tankSize": 14
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"altEconomy": {
"description": "A second vehicle's economy (mpg or L/100km) used for the whole trip, to compare",
"type": "number"
},
"legs": {
"description": "Lines distance:economy or name:distance:economy separated by semicolons, for example 'city:40:24; highway:260:33' (miles and mpg, or km and L/100km)",
"type": "string"
},
"people": {
"description": "People sharing the cost, 1 to 20 (default 1)",
"type": "number"
},
"pricePerUnit": {
"description": "Fuel price per US gallon (units us) or per litre (units metric)",
"type": "number"
},
"reservePercent": {
"description": "Tank share kept in reserve, 0 to 40 (default 10)",
"type": "number"
},
"roundTrip": {
"description": "true to double the legs for the return (default false)",
"type": "boolean"
},
"tankSize": {
"description": "Tank size in gallons (us) or litres (metric), for range and refuel stops",
"type": "number"
},
"units": {
"description": "us (miles, mpg, gallons; default) or metric (km, L/100km, litres)",
"type": "string"
}
},
"required": [
"legs",
"pricePerUnit"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"alternativeCost": {
"type": [
"null",
"number"
]
},
"alternativeFuel": {
"type": [
"null",
"number"
]
},
"alternativeSavingsOrExtra": {
"type": [
"null",
"number"
]
},
"asOf": {
"type": [
"null",
"string"
]
},
"averageEconomy": {
"type": [
"null",
"number"
]
},
"cost": {
"type": [
"null",
"number"
]
},
"costPerDistance": {
"type": [
"null",
"number"
]
},
"costPerPerson": {
"type": [
"null",
"number"
]
},
"degraded": {
"type": [
"boolean",
"null"
]
},
"disclaimer": {
"type": [
"null",
"string"
]
},
"distance": {
"type": [
"null",
"number"
]
},
"distanceUnit": {
"type": [
"null",
"string"
]
},
"fuel": {
"type": [
"null",
"number"
]
},
"fuelUnit": {
"type": [
"null",
"string"
]
},
"legs": {
"items": {
"properties": {
"cost": {
"type": [
"null",
"number"
]
},
"distance": {
"type": [
"null",
"number"
]
},
"fuel": {
"type": [
"null",
"number"
]
},
"leg": {
"type": [
"null",
"string"
]
}
},
"type": "object"
},
"type": [
"array",
"null"
]
},
"notChecked": {
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
},
"rangePerTank": {
"type": [
"null",
"number"
]
},
"reasons": {
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
},
"refuelStops": {
"type": [
"null",
"number"
]
},
"roundTrip": {
"type": [
"boolean",
"null"
]
},
"source": {
"type": [
"null",
"string"
]
},
"summary": {
"type": [
"null",
"string"
]
},
"tankReservePercent": {