{"uid":"cap_I8A1AkUU2kcM67pjax8HY","slug":"meryol-agenticmarket-x402-hf-space-464b3d40","name":"EVM Gas Price Snapshot","description":"Returns the current gas price for a specified blockchain network.","url":"https://meryol-agenticmarket-x402.hf.space/gas/now/:chain?utm_source=zero.xyz","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"},"pathParams":{"type":"object","required":["chain"],"properties":{"chain":{"enum":["ethereum","base","arbitrum","optimism"],"type":"string"}}},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["base_fee_gwei","cost_usd"]}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","pathParams":{"chain":"ethereum"},"queryParams":{}}},"response":{"chain":"ethereum","notes":[],"cost_usd":{"swap":0.370655,"transfer":0.043243,"erc20_transfer":0.133848},"base_fee_gwei":0.126071,"eth_price_usd":1726.47,"priority_fee_p50_gwei":1.066648,"priority_fee_p90_gwei":1.5}},"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.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_mFcmiN_us6gkRDn_TD5zN","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 live base fee, p50/p90 priority fees in gwei, and USD cost estimates for common transaction types on Ethereum, Base, Arbitrum, or Optimism","exampleAgentPrompt":"What are the current gas fees on Arbitrum — give me the base fee, p50 and p90 priority fees in gwei, and how much a token swap would cost in USD right now?","exampleUseCases":[{"title":"Monitor network congestion before batch payments","prompt":"Check the current gas situation on Base for me — what's the p90 priority fee right now, and roughly how much would it cost in USD to send a batch of ERC-20 transfers? Should I wait for congestion to drop or go ahead?"},{"title":"Compare L2 costs for optimal route","prompt":"I need to do a token swap, but I'm not sure which network to use. Can you pull the current swap costs in USD on Arbitrum and Optimism so I can pick the cheapest one?"},{"title":"Budget allocation for transaction execution","prompt":"What's the base fee and p50 priority fee on Ethereum right now in gwei? Also tell me what a native ETH transfer would cost in USD so I know how much gas to allocate for my transaction."}],"resultDescription":"Returns live gas snapshot including base fee in gwei, p50 and p90 priority fees from eth_feeHistory, USD cost estimates for native transfer, ERC-20 transfer, and swap transaction types, plus the current ETH/USD price from CoinGecko used in cost calculations.","failureModes":["Unsupported chain value returns 422/400 validation error","RPC node timeout or unavailability returns 503 or error response","CoinGecko ETH/USD price feed unavailable may cause USD cost fields to be null or stale","Payment not made or invalid x402 header returns 402 Payment Required","Network congestion on the queried chain may cause eth_feeHistory call to timeout"],"whenToPreferThis":"Use this endpoint when an agent needs real-time gas cost data across Ethereum mainnet or major L2s (Base, Arbitrum, Optimism) before submitting a transaction, sizing a gas budget, or deciding whether to skip/defer a tx due to congestion. Prefer over raw RPC calls because it normalizes gwei values, computes USD costs per tx type, and folds in ETH/USD pricing in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:41:54.585Z","isFirstParty":false,"canonicalSlug":"meryol-agenticmarket-x402-hf-space-464b3d40"}