{"uid":"cap_A9h1uv-oWL78V37flkdeV","slug":"dopaminedesk-gas-oracle-api-a8c03518","name":"DopamineDesk Gas Oracle API","description":"Read the current eth_gasPrice value from a supported public Base, Ethereum, or Arbitrum JSON-RPC endpoint.","url":"https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/gas_oracle","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","required":["chain"],"properties":{"chain":{"type":"string","description":"Blockchain network (e.g., ethereum, polygon, arbitrum)."}},"additionalProperties":true}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["success","source","fetched_at","network","chain_id","gas_price_wei","gas_price_gwei","marketplace_metadata"],"properties":{"source":{"type":"string"},"network":{"type":"string"},"success":{"type":"boolean"},"chain_id":{"type":"integer"},"fetched_at":{"type":"string"},"gas_price_wei":{"type":"string"},"gas_price_gwei":{"type":"number"},"marketplace_metadata":{"type":"object","required":["data_mode","billable","availability","source"],"properties":{"source":{"type":"string"},"billable":{"type":"boolean"},"data_mode":{"type":"string"},"availability":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"source":"ethereum public JSON-RPC","network":"ethereum","success":true,"chain_id":1,"fetched_at":"2026-08-07T07:32:31.701Z","gas_price_wei":"109052773","gas_price_gwei":0.109052773,"marketplace_metadata":{"source":"public EVM JSON-RPC","billable":true,"data_mode":"live_source","availability":"operational"}}},"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_IkYCcpLZSg5lVP1iu2ayP","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 current gas price estimates (safe, proposed, fast, and base fee in Gwei) for a specified blockchain network","exampleAgentPrompt":"What are the current gas prices on Ethereum right now — give me the safe, proposed, and fast Gwei estimates along with the base fee?","exampleUseCases":[{"title":"Pre-transaction gas cost check","prompt":"Before I submit this Ethereum transaction, what are the current safe, proposed, and fast gas prices in Gwei so I can pick the right fee tier?"},{"title":"Arbitrum gas monitoring for DeFi bot","prompt":"Fetch the live gas oracle data for Arbitrum so my trading bot knows whether fees are low enough to execute right now."},{"title":"Cross-chain gas comparison","prompt":"Can you get me the current gas prices for both Ethereum and Polygon so I can decide which chain is cheaper for my transfer right now?"}],"resultDescription":"A JSON object containing the queried chain name, the current base fee in Gwei (as a decimal), and three integer gas price tiers — safe_gwei (economical, slower confirmation), proposed_gwei (standard speed), and fast_gwei (priority, faster confirmation). Example: {chain: 'ethereum', base_fee: 14.5, safe_gwei: 15, proposed_gwei: 18, fast_gwei: 22}.","failureModes":["Missing or invalid 'chain' query parameter returns a validation error","Unsupported chain name (e.g. a non-EVM chain) may return an error or empty result","Upstream gas oracle data source unavailability may cause stale or failed responses","Network timeout from the hosted Cloud Run service under high load"],"whenToPreferThis":"Choose this endpoint when you need live, tiered gas price estimates (safe/proposed/fast) for EVM-compatible blockchains like Ethereum, Polygon, or Arbitrum, especially in agent workflows that must decide fee levels before submitting transactions. It is priced at $0.01 USDC per call via x402 micropayment, making it suitable for pay-per-use agent automation without a subscription. Prefer alternatives if you need historical gas data or non-EVM chains.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:57:18.131Z","isFirstParty":false}