81trust / 100

Base Gas

by APEX Gas price on Base, in USD in Onchain & crypto

x402 APIPassing, checked 3 h ago

Base gas price now: what an ETH transfer, a USDC transfer and a Uniswap swap cost in USD, L1 fee included. What a transaction on Base costs right now, in dollars, including the L1 data fee most gas trackers leave out. Read from real receipts in the latest Base blocks: the median a plain ETH transfer, a USDC transfer and a Uniswap swap actually paid (L2 fee + L1 fee), what the same gas costs at the current base fee and median tip, and the tip spread over 20 blocks.

GET https://apexfaucet.xyz/api/x402/base-gas

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
57 ms typical, 57 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://apexfaucet.xyz/api/x402/base-gas"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapexfaucet.xyz%2Fapi%2Fx402%2Fbase-gas
const res = await pay("https://apexfaucet.xyz/api/x402/base-gas");
console.log(await res.json());

Example output

{
  "data": {
    "at": "2026-10-06T06:10:41.000Z",
    "baseFeeGwei": 0.005,
    "block": 52238847,
    "blocksScanned": 3,
    "chain": "base",
    "costs": {
      "ethTransfer": {},
      "uniswapSwap": {},
      "usdcTransfer": {}
    },
    "ethUsd": 2694.16,
    "ethUsdFrom": "Uniswap v3 WETH/USDC 0.05% pool on Base,…",
    "how": "receipts of real, successful transaction…",
    "ok": true,
    "tipGwei": {
      "overBlocks": 20,
      "p10": 0.000002,
      "p50": 0.001,
      "p90": 0.01
    }
  },
  "ok": true,
  "paid": 0.001
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40260 ms$0.001
8 h agoPassed40257 ms$0.001