80trust / 100

Gas

by TickersFeed in Onchain & crypto

x402 APIPassing, checked 13 min ago

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.

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

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
578 ms typical, 578 ms slowest 5%
Last check
13 min ago
Next check
in 18 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.tickersfeed.net/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%2Fapi.tickersfeed.net%2Fgas
const res = await pay("https://api.tickersfeed.net/gas");
console.log(await res.json());

Example input

{}

Example output

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

Security scan

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

Recent checks

WhenResultHTTPTimePrice
13 min agoPassed402426 ms$0.001
3 h agoPassed402867 ms$0.001
9 h agoPassed402578 ms$0.001