{"uid":"cap_H7FV6uNwijGH5ZZhjNEc2","slug":"baselens-gas-price-lookup-043d88f2","name":"BaseLens Gas Price Lookup","description":"Current Base gas: base fee, gas price, suggested EIP-1559 max fee and priority fee (gwei), block fullness, and cost of a plain ETH transfer.","url":"https://baselens-api.vercel.app/v1/gas?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"block":37000000,"baseFeeGwei":"0.005","maxFeePerGasGwei":"0.011","simpleTransferCostEth":"0.0000001"}},"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_IFuB9vYBRFz5yCodIny3U","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 current Base network gas metrics including base fee, max fee per gas, and estimated simple transfer cost","exampleAgentPrompt":"What are the current gas fees on Base right now — give me the base fee, max fee per gas, and how much a simple ETH transfer would cost?","exampleUseCases":[{"title":"Pre-transaction gas cost check","prompt":"Before I send this ETH on Base, can you check current gas fees so I know what I'll pay for a simple transfer?"},{"title":"DeFi bot gas optimization","prompt":"What's the current base fee in Gwei on Base? I want to know if it's cheap enough to execute my trade right now."},{"title":"Gas fee monitoring dashboard","prompt":"Fetch the latest Base network gas stats for me — block number, base fee, and max fee per gas — so I can log them for my gas tracker."}],"resultDescription":"A JSON object containing the current Base network block number, base fee in Gwei, max fee per gas in Gwei, and the estimated ETH cost of a simple transfer. Example: {block: 37000000, baseFeeGwei: '0.005', maxFeePerGasGwei: '0.011', simpleTransferCostEth: '0.0000001'}.","failureModes":["RPC node unavailability may return 5xx or stale data","Network congestion spikes may cause delayed responses","x402 payment failure if USDC balance is insufficient","Invalid or missing payment header returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need real-time gas fee data specifically for the Base L2 network without requiring an API key — ideal for AI agents operating autonomously via x402 micropayment protocol at $0.001 per call. Prefer over Ethereum mainnet gas APIs when the target chain is Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:38:56.384Z","isFirstParty":false,"canonicalSlug":"baselens-gas-price-lookup-043d88f2"}