F

Forgemesh · Vehicle Fuel Economy

by Forgemesh

POSTBase

$0.005

per call · USD Coin on Base

Official fuel-economy lookup for US light-duty vehicles back to 1984: city, highway, and combined MPG, fuel type, estimated annual fuel cost, tailpipe CO2 grams per mile, and greenhouse-gas score — by year/make/model, VIN, or exact variant id. Sibling engine/transmission variants are listed so agents can price the exact configuration. For cost-of-ownership, shopping, and fleet agents.

Endpoint

POST https://x402.forgemesh.io/vehicle-fuel-economy

1

Calls / 30d

1

Unique payers / 30d

Sep 3

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
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/vehicle-fuel-economy", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "make": "Honda",
    "model": "Accord",
    "model_year": "2020"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://x402.forgemesh.io/vehicle-fuel-economy" \
  -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

Pay to0x850363a27f0ac6feb9c7a3ec4c1d295262df9432
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Forgemesh & similar services