{"uid":"cap_3akEkYuCjoSbUYEaDDbT2","slug":"api2ls-com-evm-gas-pricing-8238cf41","name":"api2ls.com EVM Gas Pricing","description":"Get live EVM gas pricing with EIP-1559 breakdown and USD cost estimates","url":"https://api2ls.com/api/gas","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","properties":{"chain":{"type":"string","description":"EVM network: base (default), ethereum, optimism, arbitrum, or polygon"},"chains":{"type":"string","description":"Comma-separated list of chains (max 5) to compare in one call"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["success","chain","gasPriceGwei"],"properties":{"asOf":{"type":"string"},"chain":{"type":"string"},"success":{"type":"boolean"},"nativeUsd":{"type":"number"},"maxFeeGwei":{"type":"number"},"baseFeeGwei":{"type":"number"},"nativeToken":{"type":"string"},"gasPriceGwei":{"type":"number"},"costEstimates":{"type":"object"},"priorityFeeGwei":{"type":"number"}}}}}}},"responseSchema":null,"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_8U_Rr2FB5IKnhU738LkKe","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 live EVM gas prices with EIP-1559 breakdown (base fee, priority fee, max fee) and USD cost estimates for one or more EVM chains","exampleAgentPrompt":"What are the current gas prices on Ethereum and Arbitrum right now — give me the EIP-1559 breakdown with base fee, priority fee, and USD cost estimates for both chains.","exampleUseCases":null,"resultDescription":"Returns a JSON object with success status, chain name, gas price in Gwei, EIP-1559 breakdown (baseFeeGwei, priorityFeeGwei, maxFeeGwei), native token USD price, USD cost estimates for common transaction types, and a timestamp. When multiple chains are queried, returns an array of such objects.","failureModes":["Unsupported chain name returns an error or empty result","More than 5 chains in the 'chains' parameter may be rejected","Upstream RPC node unavailability may cause stale or failed responses","Network timeout if EVM node is slow to respond","Invalid query parameter format may return a 400-level error"],"whenToPreferThis":"Use this endpoint when you need real-time EVM gas prices with EIP-1559 detail (base fee + priority fee + max fee) and USD cost context, especially when comparing across multiple chains (Base, Ethereum, Optimism, Arbitrum, Polygon) in a single call. Prefer this over generic blockchain explorers when you need structured, machine-readable gas data with USD estimates ready for agent decision-making.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:35:22.177Z","isFirstParty":false}