{"uid":"cap_XVieY0LZoL4tWhgeZA5-F","slug":"santyvv-data-chain-gas-price-api-b33a727d","name":"santyvv-data Chain Gas Price API","description":"Market and on-chain data, paid per call in USDC on Base through the x402 protocol. No accounts, no API keys. Sources are public data providers; the value added here is keyless access, edge caching, multi-source fallback and normalised responses.","url":"https://x402.santyvv.com/api/chain/gas?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"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_y495Vs7RPHLD1dvPEcAFy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current on-chain gas prices for blockchain networks, paid per call in USDC via x402 protocol with no API key required.","exampleAgentPrompt":"What's the current on-chain gas price right now? I want to know if it's a good time to send a transaction — just pay for the lookup with USDC, no API key needed.","exampleUseCases":[{"title":"Pre-transaction gas check for DeFi bot","prompt":"Before my bot submits this swap on-chain, can you check what the current gas price is so I can decide whether to proceed or wait for cheaper fees?"},{"title":"Gas fee monitoring for wallet app","prompt":"I'm building a feature that warns users when gas is high — can you pull the current on-chain gas price so I can compare it against a threshold?"},{"title":"Transaction cost estimation for dApp","prompt":"My dApp needs to show users an estimated transaction cost before they confirm — what's the current gas price right now so I can calculate the fee?"}],"resultDescription":"Returns a normalized response containing current gas price data for the requested blockchain network, including fee estimates (likely base fee, priority fee, or gwei values). Response is edge-cached and sourced from multiple public on-chain data providers for reliability.","failureModes":["Payment failure: x402 USDC payment not accepted or insufficient balance — returns 402 Payment Required","Network unavailable: upstream public data provider is unreachable — may return 503 or fallback data","Invalid query parameters: unsupported chain or malformed request — returns 400 Bad Request","Rate or quota issues on underlying public data sources — may cause degraded or delayed responses"],"whenToPreferThis":"Choose this endpoint when you need gas price data without setting up API keys or accounts — ideal for AI agents that need frictionless, pay-per-call access via USDC micropayments. Prefer this over free public RPC endpoints when you need normalized, multi-source fallback responses with edge caching. Best suited for low-frequency lookups where the $0.02/call cost is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:46:23.009Z","isFirstParty":false,"canonicalSlug":"santyvv-data-chain-gas-price-api-b33a727d"}