{"uid":"cap_JCVcRGSmjwlke9HAB9I0m","slug":"base-gas-facts-api-a09d8215","name":"Base Gas Facts API","description":"Get current gas price information (base fee, priority fee suggestion, gas price)","url":"https://base-facts.yankii.fr/v1/gas?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"unit":"wei","source":"base-mainnet-rpc","gasUsed":"36000000","gasLimit":"300000000","gasPrice":"6000000","timestamp":"1700000000","blockNumber":"52130000","baseFeePerGas":"5000000","maxPriorityFeePerGas":"1000000"}},"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_t08AD7HGpAX7yOHdl_Jrd","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 on-chain gas metrics from the Base mainnet, including gas price, base fee, priority fee, gas used, gas limit, and block number.","exampleAgentPrompt":"What are the current gas fees on Base mainnet right now — give me the base fee, priority fee, and gas price in wei?","exampleUseCases":[{"title":"Real-time gas fee dashboard","prompt":"Pull the latest gas price, base fee, and priority fee from Base mainnet so I can display them on my gas tracker dashboard."},{"title":"Optimal transaction timing","prompt":"What are the current gas metrics on Base? I want to know if gas is cheap enough right now to submit my transaction."},{"title":"On-chain monitoring alert","prompt":"Check the current gas price and base fee on Base mainnet and alert me if the base fee has changed significantly from the last reading."}],"resultDescription":"A JSON object containing real-time Base mainnet gas data including: gas price, base fee per gas, max priority fee per gas, gas used, gas limit, current block number, timestamp, and the unit (wei) and RPC source used.","failureModes":["RPC node unavailability causing stale or missing data","Network timeout if Base mainnet RPC is congested","Invalid or malformed response if the block is being reorganized","Payment failure (402) if USDC balance is insufficient for the $0.001 call fee"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call lookup of live Base mainnet gas metrics without setting up your own RPC connection. Ideal for agents that need occasional gas checks on Base L2 rather than continuous node access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:31:38.988Z","isFirstParty":false,"canonicalSlug":"base-gas-facts-api-a09d8215"}