$0.005
per call · USD Coin on Base
Gas mileage checker: authoritative city/highway/combined MPG for any US light-duty vehicle model year 1984 or newer, with fuel type, greenhouse-gas score, and estimated annual fuel spend. VIN input is decoded automatically; fuzzy model matching bridges naming differences. For automotive and budgeting agents.
Endpoint
POST https://x402.forgemesh.io/gas-mileage-lookup1
Calls / 30d
1
Unique payers / 30d
Sep 3
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://x402.forgemesh.io/gas-mileage-lookup", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"make": "Honda",
"model": "Accord",
"model_year": "2020"
}),
});
const data = await res.json();curl -X POST \
"https://x402.forgemesh.io/gas-mileage-lookup" \
-H "Content-Type: application/json" \
-d '{"make":"Honda","model":"Accord","model_year":"2020"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"attribution": "US DOE/EPA fuel economy database (public domain)",
"fuel_economy": {
"annual_fuel_cost_usd": 1600,
"city_mpg": 26,
"co2_tailpipe_g_per_mi": 302,
"combined_mpg": 29,
"fuel_type": "Regular",
"highway_mpg": 35
},
"matched_variant": {
"description": "2020 Honda Accord — Man 6-spd 1.5L",
"vehicle_id": 42069
}
}Payment details
0x850363a27f0ac6feb9c7a3ec4c1d295262df9432USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Onchain Data and the homepage with a featured placement.
More from Forgemesh & similar services
Forgemesh · TTS Base
voice.forgemesh.io
Text-to-speech synthesis in 1 of 10 standard voices (5 male M1-M5, 5 female F1-F5) across 31 languages, up to 500 characters, returned as inline WAV audio. Use it to: give an agent a spoken reply, read an alert aloud, narrate a short UI prompt, add voice to a chatbot response, speak a confirmation message. Cheapest tier. USDC on Base via x402, no API key, no signup.
Forgemesh · Network Stats
ads.forgemesh.io
Returns network-wide totals: total x402 events, service count, and a UA classification breakdown (agent vs browser vs bot). Use it to benchmark your service's agent-traffic share against the network.
Forgemesh · Services
router.forgemesh.io
Search x402 service registry — broad q search plus health, score, category, tag, and tags filters