{"uid":"cap_bEWhnAAHg5t1aOCIYlWcw","slug":"agentpay-eth-gas-price-lookup-c9c205a8","name":"AgentPay ETH Gas Price Lookup","description":"Pay-per-call AI services via the 402 Payment Required protocol. No accounts, no API keys — just USDC on Base.","url":"https://agentpay.help/v1/eth-gas","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"gwei":{"type":"object","properties":{"fast":{"type":"number"},"slow":{"type":"number"},"rapid":{"type":"number"},"standard":{"type":"number"}}},"eth_usd":{"type":"number"},"updated_at":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"gwei":{"fast":2.02,"slow":0.15,"rapid":2.02,"standard":0.46},"eth_usd":2526,"updated_at":"2026-09-13T00:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ekoqXBpCxaEf4DA4tFXq2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current Ethereum gas prices in Gwei (slow, standard, fast, rapid tiers) plus the current ETH/USD price, paid via x402 micropayment.","exampleAgentPrompt":"What are the current Ethereum gas prices right now — slow, standard, fast, and rapid — and what's ETH trading at in USD?","exampleUseCases":[{"title":"Pre-transaction gas check","prompt":"Before I send this ETH transfer, can you check what the current gas prices are so I know whether to use slow, standard, or fast?"},{"title":"DeFi bot cost estimation","prompt":"My trading bot is about to execute a swap — what's the current rapid gas price in Gwei and what is ETH worth in USD so I can estimate total transaction cost?"},{"title":"Gas fee monitoring alert","prompt":"Check the current Ethereum gas prices for me — I want to know if standard gas has dropped below 1 Gwei yet so I can time my NFT mint."}],"resultDescription":"A JSON object with a 'gwei' field containing four numeric gas price tiers (slow, standard, fast, rapid), an 'eth_usd' field with the current ETH price in USD, and an 'updated_at' ISO timestamp indicating when the data was last refreshed.","failureModes":["Payment failure: x402 micropayment not completed or insufficient USDC balance returns a 402 error","Network error: upstream gas oracle unavailable may return 5xx or stale data","Malformed request: incorrect body structure returns validation error","Stale data: 'updated_at' timestamp may lag real-time by seconds to minutes during high network load"],"whenToPreferThis":"Choose this endpoint when you need real-time Ethereum gas price data across multiple speed tiers without setting up an account or API key — particularly useful for AI agents that need frictionless, pay-per-call access via the x402 protocol using USDC on Base. Prefer this over Etherscan or Infura gas APIs when you want zero-signup micropayment access with structured multi-tier gas output including ETH/USD price in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:44:34.034Z","isFirstParty":false}