{"uid":"cap_E_e8wyCb7b8O5FVjXAQek","slug":"santyvv-data-gas-price-with-percentiles-4be50568","name":"santyvv-data Gas Price with Percentiles","description":"Gas price with recent percentiles","url":"https://santyvv-x402.santyvv1993.workers.dev/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_OufDWRah0QLg5AAdEpcEf","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 gas price data with recent percentile breakdowns for blockchain chains","exampleAgentPrompt":"What are the current gas prices with recent percentiles so I can decide whether to submit my transaction now or wait for cheaper fees?","exampleUseCases":[{"title":"Transaction fee planning before sending","prompt":"Check the current gas prices and percentile breakdown so I can figure out the cheapest time-sensitive gas fee to use for my pending transfer."},{"title":"DeFi bot gas optimization","prompt":"Fetch the latest gas price percentiles so my trading bot can decide whether current fees are below the 25th percentile before executing a swap."},{"title":"Gas price dashboard monitoring","prompt":"Get me the current gas prices with their recent percentile stats so I can display a live gas fee tracker on my blockchain analytics dashboard."}],"resultDescription":"Returns current gas price data along with recent percentile statistics (e.g. 10th, 25th, 50th, 75th, 90th percentile gas prices), enabling agents and users to understand whether current fees are cheap or expensive relative to recent history.","failureModes":["Chain data temporarily unavailable — upstream node or data source may be down","Rate limiting if too many requests are made in quick succession","Stale data if the underlying data provider has a delay","HTTP 402 if payment is not included or USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need gas price data with historical percentile context — not just a raw gas price — to make informed decisions about transaction timing or fee selection. Useful for DeFi bots, transaction schedulers, and dashboards that need to contextualize current fees relative to recent history.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T12:52:11.238Z","isFirstParty":false,"canonicalSlug":"santyvv-data-gas-price-with-percentiles-4be50568"}