{"uid":"cap_EI03C2My-K0RGOPeIR5cs","slug":"scrapemole-onchain-gas-fee-estimates-4507acc9","name":"ScrapeMole Onchain Gas & Fee Estimates","description":"Pay-per-call on-chain data for agents on Base and Ethereum, read directly from chain state: Chainlink USD prices (crypto, stablecoins, FX, metals; 10 per call), ERC-20 token info, wallet balances with USD values, transaction lookup with decoded ERC-20 transfers, ENS and Basename resolution (forward and reverse), gas and fee estimates in USD, and Uniswap v3 DEX prices for long-tail tokens (verify a payment arrived). USDC via x402; failed calls are never charged.\n\nPayments: x402 v2, scheme \"exact\", USDC on Base (eip155:8453). The payment is verified before the work and settled only when the response is 200. Terms: https://onchain.scrapemole.workers.dev/terms","url":"https://onchain.scrapemole.workers.dev/v1/gas?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"required":{"type":"string"},"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"block":52479060,"chain":"base","ethUsd":2533.08,"estimates":[{"gas":21000,"action":"ETH transfer","standard":{"eth":"0.000001358","usd":0.0034}}],"baseFeeGwei":0.005,"gasPriceGwei":0.006,"l1DataFeeEth":"0.000001232","blockFullness":0.1,"priorityFeeGwei":{"fast":0.0022,"slow":0.0001,"standard":0.001}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0ddDvXwBFLTvdJvt1h8Ub","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time Base and Ethereum gas prices, fee estimates, and USD cost breakdowns for common transaction types","exampleAgentPrompt":"What are the current gas fees on Base right now — give me the standard, fast, and slow priority fee tiers and what a basic ETH transfer would cost in USD?","exampleUseCases":[{"title":"Pre-send transaction cost check","prompt":"Before I send 0.5 ETH to my friend, can you check what the current gas fees are on Base and tell me how much it will cost in USD at standard and fast speeds?"},{"title":"DeFi bot gas optimization","prompt":"Pull the current Base gas prices including base fee, priority fees for fast and slow, and block fullness — I want to decide if now is a good time to execute my swap or wait for cheaper fees."},{"title":"Gas spike monitoring alert","prompt":"Check the current gas price on Base and tell me the Gwei values and USD cost for a standard ETH transfer — I need to know if fees are unusually high right now."}],"resultDescription":"Returns a JSON object with the current block number, chain name, ETH/USD price, base fee in Gwei, gas price in Gwei, L1 data fee in ETH, block fullness percentage, priority fee tiers (fast/standard/slow in Gwei), and a list of common transaction type cost estimates showing gas units used, ETH cost, and USD cost.","failureModes":["Payment failure via x402 if USDC balance is insufficient — call is not charged","Network or RPC timeout if Base/Ethereum node is unavailable","Stale data if the chain is experiencing block production delays","Invalid or missing required parameters return a 400-level error without charge"],"whenToPreferThis":"Choose this endpoint when you need real-time gas fee data specifically for Base or Ethereum, especially when you want USD-denominated cost estimates for common transaction types alongside raw Gwei values. Ideal for agents that need to decide whether to proceed with a transaction, estimate costs before signing, or monitor network congestion. The pay-per-call x402 model (failed calls not charged) makes it low-risk for frequent polling. Prefer over free RPC endpoints when you need structured, pre-calculated USD costs and tiered priority fees in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:39:33.601Z","isFirstParty":false,"canonicalSlug":"scrapemole-onchain-gas-fee-estimates-4507acc9"}