{"uid":"cap_Sl3aRlVFSY1VgB1GuBj4b","slug":"datakoot-gas-now-base-network-gas-price-e33ef048","name":"Datakoot Gas Now — Base Network Gas Price","description":"48 live public-data tools (security, packages, SEC filings, economy, FX, weather, domains, Federal Register, Base) for AI agents. $0.002 USDC per call on Base via x402, charged only on success. The same tools are free for 100 calls/day via MCP at <server>.datakoot.com/mcp.","url":"https://x402.datakoot.com/api/gas_now?utm_source=zero.xyz","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":{"body":{"type":"object","properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","GET"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}}},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{}}}}},"responseSchema":{"type":"json","example":{"network":"base-mainnet","gas_price_wei":"6000000","gas_price_gwei":"0.006"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UUF9-cFdtsL2TAAQGbhUN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 network in both wei and gwei units","exampleAgentPrompt":"What's the current gas price on Base mainnet right now — give me both the wei and gwei values so I can decide whether to submit my transaction.","exampleUseCases":[{"title":"Pre-transaction gas cost check","prompt":"Before I send this Base transaction, can you check what the current gas price is on Base mainnet so I know if it's a good time to submit?"},{"title":"DeFi bot gas optimization","prompt":"My trading bot is about to execute a swap on Base — what's the live gas price in gwei right now so it can decide whether the fee is acceptable?"},{"title":"Gas price alerting dashboard","prompt":"Pull the current Base mainnet gas price for me so I can log it and alert my team if it spikes above our threshold."}],"resultDescription":"Returns a JSON object with three fields: 'network' (string, e.g. 'base-mainnet'), 'gas_price_wei' (string, the current gas price in wei), and 'gas_price_gwei' (string, the current gas price in gwei). Both price fields are returned as strings representing numeric values.","failureModes":["Network or RPC unavailability may cause a 5xx error with no gas data returned","Payment failure via x402 (insufficient USDC balance) results in a 402 response before the tool is invoked","Malformed input (wrong method or body type) returns a validation error","Gas price data may be momentarily stale if the underlying RPC node is lagging"],"whenToPreferThis":"Choose this endpoint when you need a quick, real-time gas price read from Base mainnet and want a simple wei/gwei response without running your own RPC node. It is ideal for agents that need to gate transactions on gas cost, log gas history, or display current fees to users. The $0.002 USDC per-call pricing via x402 makes it suitable for pay-per-use agentic workflows, while the free MCP tier (100 calls/day) suits development and low-frequency monitoring.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:31:36.080Z","isFirstParty":false,"canonicalSlug":"datakoot-gas-now-base-network-gas-price-e33ef048"}