{"uid":"cap_EKmd8cT1Ix49nMfnj3uXv","slug":"legible-check-evm-gas-price-lookup-44af2146","name":"legible-check EVM Gas Price Lookup","description":"Gas price on Base in gwei, split into base fee and priority fee, with the block it was read at. Use it to estimate gas fees before sending a transaction.","url":"https://legible-check.ezealfa.workers.dev/evm/gas?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object"}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"chain":"base","base_fee_gwei":0.005,"gas_price_gwei":0.006,"priority_fee_gwei":0.001}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_h5Eo7ZyPsQjx1LQv48Ede","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 price, base fee, and priority fee in gwei, payable per-call in USDC via x402 with no signup required.","exampleAgentPrompt":"What are the current gas prices on the Base network — base fee, priority fee, and total gas price in gwei?","exampleUseCases":[{"title":"Pre-transaction gas cost check","prompt":"Before I submit this transaction on Base, can you check the current gas price and priority fee so I know what fees to expect?"},{"title":"DeFi bot gas optimization","prompt":"I need the current base fee and priority fee on Base in gwei so my trading bot can decide whether gas is cheap enough to execute right now."},{"title":"Gas spike monitoring alert","prompt":"Check the current gas price on Base for me — I want to know if the base fee is spiking above normal levels before I deploy my contract."}],"resultDescription":"A JSON object with four fields: 'chain' (string, e.g. 'base'), 'base_fee_gwei' (number), 'gas_price_gwei' (number), and 'priority_fee_gwei' (number), reflecting live EIP-1559 fee parameters on the Base L2 network.","failureModes":["HTTP 402 returned with price and receiving wallet address when USDC payment is not provided","Network unavailability on Base RPC node causing stale or missing data","Rate limiting or worker errors returning 500 if the Cloudflare Worker is overloaded","Invalid query parameters causing schema validation errors"],"whenToPreferThis":"Use this endpoint when you need real-time Base network gas data without any account setup, API key, or subscription — paying only $0.001 USDC per call via x402. Ideal for lightweight agents or bots that need occasional gas checks on Base L2 without committing to a traditional RPC provider plan.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-16T18:36:45.992Z","isFirstParty":false,"canonicalSlug":"legible-check-evm-gas-price-lookup-44af2146"}