{"uid":"cap_U1pDfC3hk9-Nxpxj2AVdU","slug":"allthebot-base-gas-price-ddecb5e8","name":"AllTheBot Base Gas Price","description":"Gas price on Base right now: gas price, base fee and priority fee in gwei, plus the cost of a simple ETH transfer. Decide whether to transact now or wait. No input needed.","url":"https://api.zkrobotics.fr/x402/base/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","required":[],"properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"note":"excludes the L1 data fee, usually very small on Base","block":52335817,"network":"base","base_fee_gwei":"0.005220514","gas_price_gwei":"0.006220514","priority_fee_gwei":"0.001","eth_transfer_cost_eth":"0.000000130630794"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0021","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PvKA3wgzcdA5H0OFaT8t0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current gas price, base fee, and priority fee on the Base network in gwei, plus the ETH cost of a simple transfer, with no input required.","exampleAgentPrompt":"What's the current gas price on Base right now — give me the base fee, priority fee, and how much a simple ETH transfer would cost?","exampleUseCases":[{"title":"Decide whether to transact now","prompt":"Check the current gas price on Base and tell me if it's cheap enough to send a transaction, or if I should wait."},{"title":"DeFi bot pre-trade gas check","prompt":"Before I execute this swap on Base, what are the current gas fees — base fee, priority fee, and total gwei — so I can decide if it's worth it?"},{"title":"Monitor Base gas for automation","prompt":"What's the Base network gas price right now, including the base fee and priority fee in gwei, and what would a plain ETH transfer cost me?"}],"resultDescription":"Returns a JSON object with the current Base network block number, gas price in gwei, base fee in gwei, priority fee in gwei, and the ETH cost of a simple 21,000-gas ETH transfer. Includes a note that the L1 data fee (usually negligible on Base) is excluded.","failureModes":["Network or RPC unavailability causing stale or missing data","API server downtime returning 5xx errors","x402 payment failure if USDC balance is insufficient","Response may briefly lag real-time if the underlying Base node is catching up"],"whenToPreferThis":"Use this endpoint when you need real-time Base network gas data without any input parameters — ideal for pre-transaction checks, DeFi bots, gas fee monitoring, or deciding whether to delay a transaction. Prefer this over Ethereum mainnet gas endpoints when the target chain is specifically Base (Coinbase L2).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T15:14:07.773Z","isFirstParty":false,"canonicalSlug":"allthebot-base-gas-price-ddecb5e8"}