{"uid":"cap_ki_0lfuujP0FJh_SeM1Ke","slug":"gateway-spraay-app-7adabaaf","name":"Base Network Gas Price Oracle","description":"Gas prices on Base.","url":"https://gateway.spraay.app/api/v1/oracle/gas","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"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"gas":{"type":"object"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{}}},"response":{"gas":{"baseFee":{"wei":"5000000","gwei":"0.005"},"gasPrice":{"wei":"6000000","gwei":"0.006"},"maxFeePerGas":{"wei":"11000000","gwei":"0.011"},"maxPriorityFeePerGas":{"wei":"1000000","gwei":"0.001"}},"block":{"number":47485114,"gasUsed":"52526209","gasLimit":"400000000","timestamp":1781759575},"chain":"Base","chainId":8453,"_gateway":{"version":"2.2.0","endpoint":"GET /api/v1/oracle/gas","provider":"spraay-x402"},"estimates":{"ethTransfer":{"costETH":"0.000000126","costUSD":"$0.000218","gasUnits":21000},"uniswapSwap":{"costETH":"0.00000111","costUSD":"$0.001918","gasUnits":185000},"erc20Approve":{"costETH":"0.000000276","costUSD":"$0.000477","gasUnits":46000},"spraayBatch5":{"note":"Batch payment to 5 recipients","costETH":"0.0000015","costUSD":"$0.002592","gasUnits":250000},"erc20Transfer":{"costETH":"0.00000039","costUSD":"$0.000674","gasUnits":65000},"spraayBatch50":{"note":"Batch payment to 50 recipients","costETH":"0.000009","costUSD":"$0.015552","gasUnits":1500000}},"timestamp":"2026-06-18T05:12:56.307Z","ethPriceUSD":1728.008095}},"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_Q4jU6ekv-WlNTBI0ETZ_b","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 current gas prices on the Base blockchain network","exampleAgentPrompt":"What are the current gas prices on Base right now? I want to know if it's a good time to submit my transaction.","exampleUseCases":null,"resultDescription":"Returns a gas object containing current gas price data for the Base blockchain network, including fee levels useful for estimating transaction costs.","failureModes":["Base RPC node unavailable — upstream error fetching on-chain gas data","Payment not processed — x402 payment of $0.005 USDC required","Rate limit or invalid request format"],"whenToPreferThis":"Use this endpoint when you need real-time gas price data specifically for the Base (Coinbase L2) network, for example before submitting a transaction, estimating fees, or deciding whether to wait for lower congestion. Prefer this over Ethereum mainnet gas oracles when operating on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:41:54.690Z","isFirstParty":false}