{"uid":"cap_MScl6zQgfwokun1dHrUiO","slug":"gas-price-lookup-by-chain-87323dc9","name":"Gas Price Lookup by Chain","description":"50 pay-per-call tools for agents over x402 (USDC on Base, Polygon, Solana): crypto market data, token audits, indicators, swap routing, web extraction, DNS/WHOIS/email checks, FX, weather and AI text/image tools.","url":"https://skinwinking.com/api/v1/data/gas-price?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"},"queryParams":{"type":"object","required":["chain"],"properties":{"chain":{"enum":["solana","ethereum","base","polygon","arbitrum"],"type":"string","description":"One of solana, ethereum, base, polygon, arbitrum"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"chain":"base","gasPriceGwei":0.006,"priorityFeeGwei":0.001}},"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_4e5rtZWIf7bac8O46C2Co","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 current gas price and priority fee in Gwei for a specified blockchain network (Solana, Ethereum, Base, Polygon, or Arbitrum).","exampleAgentPrompt":"What's the current gas price on Base right now, including the priority fee?","exampleUseCases":[{"title":"Pre-swap gas cost estimation","prompt":"Before I submit this token swap on Ethereum, can you check the current gas price and priority fee so I know how much extra to budget?"},{"title":"Cheapest chain selection for transaction","prompt":"I need to send a transaction and want to pick the cheapest chain — can you check gas prices on Base, Polygon, and Arbitrum right now?"},{"title":"Real-time gas monitoring for DeFi bot","prompt":"What's the current gas price on Arbitrum in Gwei? I need to decide whether to execute my DeFi strategy now or wait for fees to drop."}],"resultDescription":"A JSON object containing the queried chain name, the base gas price in Gwei, and the priority fee (miner tip) in Gwei. Example: {chain: 'base', gasPriceGwei: 0.006, priorityFeeGwei: 0.001}.","failureModes":["Missing or invalid 'chain' query parameter returns an error — must be one of: solana, ethereum, base, polygon, arbitrum","Network or RPC unavailability for the requested chain may cause a timeout or empty response","Payment failure over x402 (insufficient USDC balance) blocks access to the endpoint"],"whenToPreferThis":"Use this endpoint when an agent needs real-time, on-chain gas price data for a specific supported network (Solana, Ethereum, Base, Polygon, Arbitrum) prior to executing a transaction, swap, or DeFi operation. It is well-suited for cost estimation, chain selection, or gas monitoring workflows. Prefer this over manual RPC calls when you want a simple pay-per-call REST interface without managing node connections.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T12:30:33.588Z","isFirstParty":false,"canonicalSlug":"gas-price-lookup-by-chain-87323dc9"}