{"uid":"cap_VzjNsKcwTE8ACMcurg3HK","slug":"cortex-cloud-gas-oracle-8484c5ec","name":"Cortex Cloud Gas Oracle","description":"One pay-per-call API for AI agents: optimization, AI, research, on-chain data, and automation — all settled in USDC on Base via x402. Discover via MCP and Bazaar, estimate free, pay per call. No API keys, no signup.","url":"https://api.cortexcloud.org/v1/data/gas-oracle","method":"GET","headers":{},"bodySchema":{"properties":{"input":{"properties":{"body":{"type":"object","properties":{}}}},"output":{"properties":{"example":{}}}}},"responseSchema":{"type":"object","format":"application/json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__uCilFQ_-zNQP9H9Njl8l","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","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 fee and priority fee (gas price) for a specified blockchain, powered by Alchemy, via x402 micropayment.","exampleAgentPrompt":"What's the current gas price on Ethereum right now — both the base fee and the priority fee I should include?","exampleUseCases":[{"title":"Pre-flight gas check before transaction","prompt":"Before I send this USDC transfer on Ethereum, can you check the current base fee and priority fee so I know what gas to set?"},{"title":"Gas cost monitoring for DeFi bot","prompt":"I'm running an arbitrage bot on Arbitrum — what are the current gas fees there so I can decide if this trade is still profitable?"},{"title":"Cross-chain gas comparison for bridging","prompt":"I'm about to bridge tokens and want to pick the cheapest chain — can you pull the current gas oracle data for Ethereum, Polygon, and Base?"}],"resultDescription":"Returns the current base fee and priority fee (gas price) for the requested blockchain network, sourced from Alchemy's gas oracle. Typical response includes EIP-1559 parameters: base fee per gas and max priority fee per gas, expressed in standard units (e.g. gwei).","failureModes":["Unsupported chain identifier returns an error or empty result","Alchemy backend outage causes upstream failure","Missing or invalid chain parameter results in a 400-level error","Payment failure via x402 if USDC balance is insufficient or Base network is congested"],"whenToPreferThis":"Choose this endpoint when you need real-time, reliable gas price data (base fee + priority fee) for EVM-compatible chains, especially within an agent workflow that already uses x402 USDC micropayments on Base. It is particularly suited for pre-transaction gas estimation, cost-gating DeFi operations, or any automated agent that submits on-chain transactions and needs accurate EIP-1559 parameters without managing an Alchemy API key directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T06:34:55.983Z","isFirstParty":false}