{"uid":"cap_dZwIRNNnA0Aiziidbq3jF","slug":"httpay-xyz-0d54aa2f","name":"HTTPay Advanced Gas Tracker for Base","description":"Advanced Gas Tracker for Base — historical gas analysis with 1h/6h/24h averages, percentiles (P25/P50/P75/P95), min/max, trend detection (rising/falling/stable), and best time to transact prediction. Supports ?chain=base&hours=24&demo=true.","url":"https://httpay.xyz/api/gas-tracker-advanced","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"description":"Advanced Gas Tracker for Base — historical gas analysis with 1h/6h/24h averages, percentiles (P25/P50/P75/P95), min/max, trend detection (rising/falling/stable), and best time to transact prediction. Supports ?chain=base&hours=24&demo=true."}},"example":{"request":{"chain":"base","hours":24,"includePercentiles":true,"includeTrendAnalysis":true,"includeBestTimeToTransact":true},"response":{"meta":{"x402":true,"poweredBy":"Alfred Zhang 🫡"},"note":"Base gas costs are extremely low — most operations cost <$0.001. Base has ~2s block times.","chain":"Base (EIP-155:8453)","stats":{"1h":{"p25":null,"p50":null,"p75":null,"p95":null,"avgGwei":null,"maxGwei":null,"minGwei":null,"samples":0},"6h":{"p25":null,"p50":null,"p75":null,"p95":null,"avgGwei":null,"maxGwei":null,"minGwei":null,"samples":0},"24h":{"p25":null,"p50":null,"p75":null,"p95":null,"avgGwei":null,"maxGwei":null,"minGwei":null,"samples":0}},"trend":{"direction":"stable","confidence":"high","description":"Gas prices are stable — within ±15% of recent averages","change1hVs6hPct":null,"changeCurrentVs1hPct":null},"current":{"wei":null,"gwei":null,"displayGwei":"NaN gwei"},"fetchedAt":"2026-06-13T04:19:08.873Z","dataSource":"Live on-chain data via Basescan API","prediction":{"currentUTCHour":4,"cheapestWindowUTC":"02:00-06:00 UTC","bestTimeToTransact":"Ideal time — transact now","expensiveWindowUTC":"14:00-18:00 UTC (US market hours)","currentWindowRating":"🟢 Optimal — historical cheapest window"},"ethPriceUSD":3200,"currentBlock":null,"costEstimates":{"nftMint":{"costUSD":"$NaN","gasUnits":150000},"ethTransfer":{"costUSD":"$NaN","gasUnits":21000},"uniswapSwap":{"costUSD":"$NaN","gasUnits":185000},"erc20Approve":{"costUSD":"$NaN","gasUnits":46000},"erc20Transfer":{"costUSD":"$NaN","gasUnits":65000}},"hoursRequested":24}},"exampleRequest":{"chain":"base","hours":24,"includePercentiles":true,"includeTrendAnalysis":true,"includeBestTimeToTransact":true},"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hBQVV10_XN0L2nSTHwEAt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides historical gas fee analysis for the Base network with averages, percentiles, trend detection, and best time to transact predictions over configurable time windows.","exampleAgentPrompt":"Can you pull up the advanced gas analysis for Base over the last 24 hours and tell me whether gas is rising or falling, what the P50 and P95 prices are, and when the best time to transact would be?","exampleUseCases":null,"resultDescription":"Returns historical gas fee statistics for the Base network including 1h/6h/24h averages, P25/P50/P75/P95 percentiles, min and max values, a trend label (rising/falling/stable), and a predicted best time window to submit transactions at lowest cost.","failureModes":["Invalid chain parameter returns error (only 'base' supported)","Hours parameter out of supported range returns error","Payment not fulfilled returns 402 Payment Required","Demo mode may return synthetic/limited data","Upstream Base RPC unavailability causes data gaps or errors"],"whenToPreferThis":"Choose this endpoint when you need rich statistical gas analysis for the Base network — including percentile breakdowns and trend detection — rather than just a single current gas price. Ideal for agents optimizing transaction timing or cost on Base L2.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:57:04.553Z","isFirstParty":false}