Skip to content
Fourohtwo

[Truck fuel

micro-saas-agent.onrender.com/api/truck/fuel-surcharge

[Truck fuel: EIA diesel surcharge] U.S. EIA weekly on-highway diesel for the U.S. or a PADD (default Rocky Mountain, PADD 4): price per gallon, week-over-week change, and per-mile surcharge max(0, current - base) / mpg, plus the EIA release date. Public weekly page, no API key. Cached until the next Monday/Tuesday release. Source: U.S. EIA. ?padd=4&base=5.5&mpg=6. $0.005 USDC.

BaseAnswering
GEThttps://micro-saas-agent.onrender.com/api/truck/fuel-surcharge

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://micro-saas-agent.onrender.com/api/truck/fuel-surcharge?base=5.5&mpg=6&padd=4");
console.log(await res.json());

Example input

{
  "base": 5.5,
  "mpg": 6,
  "padd": "4"
}