Gas top-up for AI agent wallets
agentgas.madebydevx.com/v1/gas
Gas top-up for AI agent wallets: pay USDC with a gasless x402 payment on Base (works with 0 ETH) and get native gas (ETH or POL) sent on Base, Arbitrum, Optimism or Polygon to any address, usually within 30 seconds. Starter fills cost under $0.10 on every chain. Params: to (defaults to payer), chain, amount or usd; max $5/order. Auto-refund in USDC if we cannot deliver. Free GET /v1/ensure quotes
GET
https://agentgas.madebydevx.com/v1/gasUptime100% of 4 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://agentgas.madebydevx.com/v1/gas?to=0xYourAgentWallet&chain=base&amount=0.000025");
console.log(await res.json());Example input
{
"to": "0xYourAgentWallet",
"chain": "base",
"amount": "0.000025"
}Price changes
- Nov 25, 20260.08 → 0.08
- Nov 25, 20260.08 → 0.08
