{"uid":"cap_ZFQqfEpNkC8POmkT2bYIg","slug":"x402-shizu-me-gas-price-oracle-45ed78be","name":"x402.shizu.me Gas Price Oracle","description":"Current gas prices for Base or Ethereum mainnet: legacy gas price, EIP-1559 base fee and suggested priority fee (all gwei), plus the latest block number. Query: chain (base | ethereum, default base). Real-time from public RPC. Use to time on-chain transactions, estimate costs, and monitor fee spikes.","url":"https://x402.shizu.me/gas","method":"GET","headers":{},"bodySchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","required":["method"],"properties":{"method":{"const":"GET"},"queryParams":{"type":"object","required":["chain"],"properties":{"chain":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"block":27100000,"chain":"base","base_fee_gwei":0.008,"gas_price_gwei":0.012,"priority_fee_gwei":0.001}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5CHtPNeBJUTW8HaygO17H","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time gas prices (legacy, EIP-1559 base fee, priority fee in gwei) and latest block number for Base or Ethereum mainnet","exampleAgentPrompt":"What are the current gas prices on Base mainnet right now — give me the base fee, priority fee, and latest block number so I can decide whether to submit my transaction.","exampleUseCases":null,"resultDescription":"Returns the current legacy gas price, EIP-1559 base fee, and suggested priority fee all in gwei, plus the latest block number for the requested chain (Base or Ethereum mainnet).","failureModes":["Unsupported chain value returns error — only 'base' or 'ethereum' accepted","RPC node temporarily unavailable causing fetch failure","Payment of 0.003 USDC not fulfilled, returning 402 Payment Required","Stale data if public RPC is lagging behind chain tip"],"whenToPreferThis":"Use this endpoint when you need real-time gas fee data for Base or Ethereum mainnet to time transactions, estimate costs, or detect fee spikes. Prefer this over general blockchain explorers when you need clean, structured gwei values (legacy, base fee, priority fee) and block number in a single lightweight call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:57:32.583Z","isFirstParty":false}