Automotive Calculators
Trip fuel and cost for legs with different mileage (city, highway), tank range, refuel stops, cost per person and a second car.
The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.
Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.
Live 402 challenge
Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.
{
"error": "Payment required",
"accepts": [
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
"scheme": "exact",
"network": "base",
"mimeType": "application/json",
"resource": "https://automotive-calc.x402tookit.com/fuel-trip-cost",
"description": "Trip fuel and cost for legs with different mileage (city, highway), tank range, refuel stops, cost per person and a second car.",
"outputSchema": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"legs": "city:40:24; highway:260:33",
"people": 2,
"tankSize": 14,
"altEconomy": 40,
"pricePerUnit": 3.5
}
},
"output": {
"asOf": "2026-10-11T14:38:37.389Z",
"cost": 33.41,
"fuel": 9.545,
"legs": [
{
"leg": "city",
"cost": 5.83,
"fuel": 1.667,
"distance": 40
},
{
"leg": "highway",
"cost": 27.58,
"fuel": 7.879,
"distance": 260
}
],
"source": "computed locally",
"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."
],
"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…",
"verdict": "COMPUTED",
"degraded": false,
"distance": 300,
"fuelUnit": "gallons",
"roundTrip": 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.",
"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"
],
"usableTank": 12.6,
"refuelStops": 0,
"distanceUnit": "miles",
"rangePerTank": 396,
"costPerPerson": 16.7,
"averageEconomy": 31.43,
"alternativeCost": 26.25,
"alternativeFuel": 7.5,
"costPerDistance": 0.1114,
"tankReservePercent": 10,
"alternativeSavingsOrExtra": 7.16
}
},
"maxAmountRequired": "20000",
"maxTimeoutSeconds": 300
},
{
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"extra": {
"feePayer": "BFK9TLC3edb13K6v4YyH3DwPb5DSUpkWvb7XnqCL9b4F"
},
"payTo": "DUPiupXtuox38dcGoXUKer5mAydCzmaHjrbQ66qeEm8s",
"scheme": "exact",
"network": "solana",
"mimeType": "application/json",
"resource": "https://automotive-calc.x402tookit.com/fuel-trip-cost",
"description": "Trip fuel and cost for legs with different mileage (city, highway), tank range, refuel stops, cost per person and a second car.",
"outputSchema": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"legs": "city:40:24; highway:260:33",
"people": 2,
"tankSize": 14,
"altEconomy": 40,
"pricePerUnit": 3.5
}
},
"output": {
"asOf": "2026-10-11T14:38:37.389Z",
"cost": 33.41,
"fuel": 9.545,
"legs": [
{
"leg": "city",
"cost": 5.83,
"fuel": 1.667,
"distance": 40
},
{
"leg": "highway",
"cost": 27.58,
"fuel": 7.879,
"distance": 260
}
],
"source": "computed locally",
"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."
],
"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…",
"verdict": "COMPUTED",
"degraded": false,
"distance": 300,
"fuelUnit": "gallons",
"roundTrip": 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.",
"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"
],
"usableTank": 12.6,
"refuelStops": 0,
"distanceUnit": "miles",
"rangePerTank": 396,
"costPerPerson": 16.7,
"averageEconomy": 31.43,
"alternativeCost": 26.25,
"alternativeFuel": 7.5,
"costPerDistance": 0.1114,
"tankReservePercent": 10,
"alternativeSavingsOrExtra": 7.16
}
},
"maxAmountRequired": "20000",
"maxTimeoutSeconds": 300
},
{
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
"scheme": "exact",
"network": "polygon",
"mimeType": "application/json",
"resource": "https://automotive-calc.x402tookit.com/fuel-trip-cost",
"description": "Trip fuel and cost for legs with different mileage (city, highway), tank range, refuel stops, cost per person and a second car.",
"outputSchema": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"legs": "city:40:24; highway:260:33",
"people": 2,
"tankSize": 14,
"altEconomy": 40,
"pricePerUnit": 3.5
}
},
"output": {
"asOf": "2026-10-11T14:38:37.389Z",
"cost": 33.41,
"fuel": 9.545,
"legs": [
{
"leg": "city",
"cost": 5.83,
"fuel": 1.667,
"distance": 40
},
{
"leg": "highway",
"cost": 27.58,
"fuel": 7.879,
"distance": 260
}
],
"source": "computed locally",
"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."
],
"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…",
"verdict": "COMPUTED",
"degraded": false,
"distance": 300,
"fuelUnit": "gallons",
"roundTrip": 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.",
"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"
],
"usableTank": 12.6,
"refuelStops": 0,
"distanceUnit": "miles",
"rangePerTank": 396,
"costPerPerson": 16.7,
"averageEconomy": 31.43,
"alternativeCost": 26.25,
"alternativeFuel": 7.5,
"costPerDistance": 0.1114,
"tankReservePercent": 10,
"alternativeSavingsOrExtra": 7.16
}
},
"maxAmountRequired": "20000",
"maxTimeoutSeconds": 300
}
],
"x402Version": 1,
"alsoAvailable": {
"llms": "https://automotive-calc.x402tookit.com/llms.txt",
"catalog": "https://automotive-calc.x402tookit.com/catalog",
"message": "Automotive Calculators has 10 pay-per-call endpoints (Car math for agents: tire size and speedometer error, gearing and RPM, trip fuel, EV efficiency, towing, depreciation, lease versus buy, engines and braking.), from $0.02 a call. See the full menu and send your agents our way.",
"openapi": "https://automotive-calc.x402tookit.com/openapi.json",
"related": [
{
"url": "https://automotive-calc.x402tookit.com/depreciation",
"path": "/depreciation",
"what": "Vehicle value year by year by straight-line, declining-balance or your own yearly percent…",
"price": "$0.02"
},
{
"url": "https://automotive-calc.x402tookit.com/gear-rpm",
"path": "/gear-rpm",
"what": "Engine RPM at a road speed (or speed at an RPM) from tire size, axle ratio and transmissi…",
"price": "$0.02"
},
{
"url": "https://automotive-calc.x402tookit.com/lease-vs-buy",
"path": "/lease-vs-buy",
"what": "Lease versus buy over the lease term: lease payment from money factor and residual, loan…",
"price": "$0.02"
}
]
}
}Accepts
The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.
Pay 0.02 USDC on Base to 0xb531…2DBDa. The signed payment is good for 5 minutes.
- Paid to
- 0xb531…2DBDa
- USD Coin contract
- 0x8335…02913
- Payment window
- 5 minutes
- As published
- 20000 smallest units
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- DUPiup…eEm8s
- Token contract
- EPjFWd…TDt1v
- Payment window
- 5 minutes
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- 0xb531…2DBDa
- Token contract
- 0x3c49…c3359
- Payment window
- 5 minutes
That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.
- Paid to
- 0xb531…2DBDa
- Token contract
- 0xaf88…e5831
- Payment window
- 5 minutes
The catalog’s raw entry
[
{
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
"amount": "20000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 300
},
{
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"extra": {
"feePayer": "D6ZhtNQ5nT9ZnTHUbqXZsTx5MH2rPFiBBggX4hY1WePM"
},
"payTo": "DUPiupXtuox38dcGoXUKer5mAydCzmaHjrbQ66qeEm8s",
"amount": "20000",
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"maxTimeoutSeconds": 300
},
{
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
"amount": "20000",
"scheme": "exact",
"network": "eip155:137",
"maxTimeoutSeconds": 300
},
{
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
"amount": "20000",
"scheme": "exact",
"network": "eip155:42161",
"maxTimeoutSeconds": 300
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"legs": "city:40:24; highway:260:33",
"people": 2,
"tankSize": 14,
"altEconomy": 40,
"pricePerUnit": 3.5
}
},
"output": {
"type": "json",
"example": {
"asOf": "2026-10-11T14:38:37.389Z",
"cost": 33.41,
"fuel": 9.545,
"legs": [
{
"leg": "city",
"cost": 5.83,
"fuel": 1.667,
"distance": 40
},
{
"leg": "highway",
"cost": 27.58,
"fuel": 7.879,
"distance": 260
}
],
"source": "computed locally",
"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."
],
"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…",
"verdict": "COMPUTED",
"degraded": false,
"distance": 300,
"fuelUnit": "gallons",
"roundTrip": 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.",
"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"
],
"usableTank": 12.6,
"refuelStops": 0,
"distanceUnit": "miles",
"rangePerTank": 396,
"costPerPerson": 16.7,
"averageEconomy": 31.43,
"alternativeCost": 26.25,
"alternativeFuel": 7.5,
"costPerDistance": 0.1114,
"tankReservePercent": 10,
"alternativeSavingsOrExtra": 7.16
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method"
],
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"type": "object",
"required": [
"legs",
"pricePerUnit"
],
"properties": {
"legs": {
"type": "string",
"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)"
},
"units": {
"type": "string",
"description": "us (miles, mpg, gallons; default) or metric (km, L/100km, litres)"
},
"people": {
"type": "number",
"description": "People sharing the cost, 1 to 20 (default 1)"
},
"tankSize": {
"type": "number",
"description": "Tank size in gallons (us) or litres (metric), for range and refuel stops"
},
"roundTrip": {
"type": "boolean",
"description": "true to double the legs for the return (default false)"
},
"altEconomy": {
"type": "number",
"description": "A second vehicle's economy (mpg or L/100km) used for the whole trip, to compare"
},
"pricePerUnit": {
"type": "number",
"description": "Fuel price per US gallon (units us) or per litre (units metric)"
},
"reservePercent": {
"type": "number",
"description": "Tank share kept in reserve, 0 to 40 (default 10)"
}
}
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object",
"properties": {
"asOf": {
"type": [
"null",
"string"
]
},
"cost": {
"type": [
"null",
"number"
]
},
"fuel": {
"type": [
"null",
"number"
]
},
"legs": {
"type": [
"array",
"null"
],
"items": {
"type": "object",
"properties": {
"leg": {
"type": [
"null",
"string"
]
},
"cost": {
"type": [
"null",
"number"
]
},
"fuel": {
"type": [
"null",
"number"
]
},
"distance": {
"type": [
"null",
"number"
]
}
}
}
},
"source": {
"type": [
"null",
"string"
]
},
"reasons": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"summary": {
"type": [
"null",
"string"
]
},
"verdict": {
"type": [
"null",
"string"
]
},
"degraded": {
"type": [
"boolean",
"null"
]
},
"distance": {
"type": [
"null",
"number"
]
},
"fuelUnit": {
"type": [
"null",
"string"
]
},
"roundTrip": {
"type": [
"boolean",
"null"
]
},
"disclaimer": {
"type": [
"null",
"string"
]
},
"notChecked": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"usableTank": {
"type": [
"null",
"number"
]
},
"refuelStops": {
"type": [
"null",
"number"
]
},
"distanceUnit": {
"type": [
"null",
"string"
]
},
"rangePerTank": {
"type": [
"null",
"number"
]
},
"costPerPerson": {
"type": [
"null",
"number"
]
},
"averageEconomy": {
"type": [
"null",
"number"
]
},
"alternativeCost": {
"type": [
"null",
"number"
]
},
"alternativeFuel": {
"type": [
"null",
"number"
]
},
"costPerDistance": {
"type": [
"null",
"number"
]
},
"tankReservePercent": {
"type": [
"null",
"number"
]
},
"alternativeSavingsOrExtra": {
"type": [
"null",
"number"
]
}
}
}
}
}
}
}
}
}Provenance
- Seen in the source catalog
- 2026-10-20 20:45Z
- Last indexed by Roundhouse
- 2026-10-22 06:50Z
- Last enriched (probe, favicon, geo)
- 2026-10-20 22:45Z
- x402 version
- 2
- Max timeout
- 300s
- Liveness probe
- HTTP 402
Hand this page to an agent
Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.
GET api.roundhouseai.io/v0/endpoints
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 4 snapshots so far. Verified volume counts only settlements with an on-chain EIP-3009 marker.
Show the promptHide the prompt
Using Roundhouse, look up the x402 service Automotive Calculators and tell me whether it is worth paying: what a call costs, whether the endpoint answered when last probed, and what its payment record actually shows. curl -s 'https://api.roundhouseai.io/v0/endpoints?q=Automotive%20Calculators' curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>' Then call it: read the price from the live 402 at https://automotive-calc.x402tookit.com/fuel-trip-cost, never from a cached figure, and pay with an x402 client. The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except /v0/unified* and /v0/endpoints. Either pay over x402 (mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402), or ask me for an organization key, which I create at https://roundhouseai.io/dashboard/connections. If you have neither, ask before going further. If you do not have Roundhouse tools or skills installed, read https://roundhouseai.io/skill.md first — it is the whole procedure.