TickersFeed · GAS

by TickersFeed

GETBase

$0.001

per call · USD Coin on Base

Current gas prices on Ethereum mainnet and Base — base fee, priority fee, and EIP-1559 estimates in Gwei as JSON. No API key required. Use for: gas fee check before transacting, transaction cost estimation, L1 vs L2 fee comparison, onchain timing. $0.001 USDC per call.

Endpoint

GET https://api.tickersfeed.net/gas

22

Calls / 30d

8

Unique payers / 30d

Sep 10

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://api.tickersfeed.net/gas", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.tickersfeed.net/gas" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "chains": {
    "base": {
      "base_fee_gwei": 0.001
    },
    "ethereum": {
      "base_fee_gwei": 5.2,
      "estimated_total_gwei": 5.3,
      "priority_fee_gwei": 0.1
    }
  }
}

Payment details

Pay to0xe82ebef57fa5af958b8ecb6843d4327d314f59e3
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

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

Get featured →

More from TickersFeed & similar services