{"uid":"cap_z1NHiSwjvb24Qmo6c0RZ4","slug":"base-network-gas-price-lookup-5c627f85","name":"Base Network Gas Price Lookup","description":"Current gas price on Base from public RPC (wei + gwei). Optional query network=base for schema probes. e.g. GET /v1/gas/base","url":"https://x-data-gateway.annushka1190.workers.dev/v1/gas/base","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"network":{"type":"string","description":"Ignored; always Base mainnet"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"network":"base","gasPriceWei":"1000000000","gasPriceGwei":"1.0"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FK4jJzt5cc18_d0LImS8q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current gas price on the Base mainnet blockchain in both wei and gwei units","exampleAgentPrompt":"What's the current gas price on Base mainnet right now, in both wei and gwei?","exampleUseCases":[{"title":"Pre-transaction gas cost check","prompt":"Before I send this transaction on Base, can you tell me what the current gas price is so I know what fees to expect?"},{"title":"Gas price monitoring for DeFi bot","prompt":"Check the current gas price on Base mainnet right now — I need to know if it's low enough to trigger my DeFi rebalance."},{"title":"Blockchain infrastructure dashboard","prompt":"Pull the live gas price from Base mainnet in gwei so I can display it on my onchain analytics dashboard."}],"resultDescription":"A JSON object containing the network name ('base'), the current gas price in wei as a string (e.g. '1000000000'), and the current gas price in gwei as a decimal string (e.g. '1.0'). Values are sourced from the Base public RPC in real time.","failureModes":["RPC node temporarily unavailable — may return a 5xx error","Network congestion causing stale or delayed gas price reading","Invalid query parameter value (ignored gracefully, always returns Base mainnet data regardless)","Rate limiting or payment failure resulting in 402 or 429 response"],"whenToPreferThis":"Choose this endpoint when you need a simple, real-time gas price figure for Base mainnet without running your own node or managing RPC credentials. It is ideal for lightweight agents, dashboards, or DeFi bots that need a quick cost-of-transaction estimate before submitting onchain actions on Base L2. It is not suitable for Ethereum mainnet, other L2s, or historical gas price data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:42:48.106Z","isFirstParty":false}