{"uid":"cap_StCcdn20zM5ixuZbRqJB9","slug":"x402-bazaar-base-gas-oracle-3180f292","name":"x402 Bazaar Base Gas Oracle","description":"Returns current Base gas fees (baseFee, maxPriorityFee) and three tiered suggestions (slow, normal, fast) in Gwei, derived live from the Base RPC. Built for agents that time or cost-estimate transactions. Paid via x402: $0.005 in USDC on Base (eip155:8453) to 0x973a31858f4d2125f48c880542da11a2796f12d6. Returns 402 with payment requirements; pay and retry.","url":"https://api.relai.fi/relay/1782567677091/api/x402/gas-oracle","method":"POST","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"],"type":"string"},"pathParams":{"type":"object"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UdS_n9Y7eh54hMHHtBKx3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live Base network gas fees (baseFee, maxPriorityFee) and slow/normal/fast tiered suggestions in Gwei from the Base RPC","exampleAgentPrompt":"What are the current gas fees on Base right now — give me the slow, normal, and fast suggestions in Gwei so I can decide when to submit my transaction.","exampleUseCases":null,"resultDescription":"Returns a JSON object with the current Base network baseFee and maxPriorityFee in Gwei, plus three tiered gas price suggestions (slow, normal, fast) derived live from the Base RPC, suitable for transaction cost estimation and timing decisions.","failureModes":["402 Payment Required — endpoint requires x402 USDC payment on Base before data is returned; pay and retry","503/timeout — Base RPC may be temporarily unreachable, resulting in failed gas oracle fetch","Invalid or expired payment header — payment rejected, returns 402 again","Rate limit or relay error from relai.fi intermediary"],"whenToPreferThis":"Use this endpoint when an AI agent needs real-time gas fee data specifically for the Base L2 network (eip155:8453) and can handle x402 micropayment flows. Ideal for agents that need to cost-estimate, time, or dynamically price Base transactions without maintaining their own RPC connection.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:51:44.714Z","isFirstParty":false}