{"uid":"cap_6P4a5Aes_b2En7o0x6s6p","slug":"base-gas-price-dc7868d4","name":"Base Gas Price","description":"Get the Base gas price and the latest base fee, in wei and gwei. Both figures come back on the same call. $0.005 USDC. Included in the hour pass. Includes a signed Base fact you can check with the published receipt key. Includes a signed Ed25519 receipt you can check with the published key.","url":"https://aizamon.com/x402/v1/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","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"sku":{"type":"string"},"result":{"type":"object"},"protocol":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MIAgN7Ui29_0oAnSL7Zxs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current Base network gas price and latest base fee in both wei and gwei, with a signed Ed25519 receipt for verification.","exampleAgentPrompt":"What's the current gas price on Base right now — give me both the wei and gwei values?","exampleUseCases":[{"title":"Pre-transaction gas check","prompt":"Before I send this Base transaction, can you check what the current gas price is on Base so I know if it's a good time to submit?"},{"title":"DeFi bot gas optimization","prompt":"What's the Base network's current base fee in gwei? I need to decide whether to execute my DeFi trade now or wait for fees to drop."},{"title":"Verifiable gas price for audit","prompt":"Fetch me the current Base gas price with the signed receipt so I can prove the fee level at this moment for our compliance log."}],"resultDescription":"Returns a JSON object with the current Base network gas price and latest base fee expressed in both wei and gwei, along with a signed Base fact and a signed Ed25519 receipt that can be verified against the provider's published key.","failureModes":["Payment not included or invalid — returns 402 Payment Required","Base RPC node temporarily unavailable — returns 503 or error payload","Network timeout fetching on-chain gas data — delayed or error response","Invalid or expired hour-pass token — returns 401 Unauthorized"],"whenToPreferThis":"Choose this endpoint when you need a quick, verifiable, real-time lookup of Base network gas prices in both wei and gwei with cryptographic proof of authenticity. Prefer it over raw RPC calls when you need signed receipts for auditability, or when building agents that must confirm current Base transaction costs before executing on-chain actions. Best for lightweight single-call gas checks rather than historical analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T00:01:01.098Z","isFirstParty":false,"canonicalSlug":"base-gas-price-dc7868d4"}