{"uid":"cap_5ScqBeiKj0Yi2nhOCW8A1","slug":"x402-freshness-priced-data-lab-paidapis-net-2094c8e6","name":"x402 Freshness-Priced Data (lab.paidapis.net)","description":"Freshness-tiered pricing: gas price + ETH/USD price, same data either way. ?freshness=cached ($0.002) serves the last known values with no network call; ?freshness=live ($0.02) forces a guaranteed-current fetch right now.","url":"https://lab.paidapis.net/api/freshness-priced-data","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"freshness":{"enum":["cached","live"],"type":"string","description":"Either \"cached\" (default) or \"live\"."}}},"responseSchema":{"type":"object","properties":{"servedAt":{"type":"string"},"freshness":{"enum":["cached","live"],"type":"string"},"ethUsdPrice":{"type":["number","null"]},"gasPriceGwei":{"type":["number","null"]},"gasSampleCount":{"type":"integer"},"ethPriceCachedAt":{"type":["string","null"]}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bYpDdJ-0eVdT6vBbBm2MC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns ETH/USD price and Base gas price, with a choice between cached (cheaper) or live (fresh) data fetch.","exampleAgentPrompt":"Can you fetch the live ETH/USD price and current Base gas price right now — I need fresh data, not cached.","exampleUseCases":[{"title":"Real-time ETH price for trade decision","prompt":"What is the current live ETH/USD price and gas cost on Base? I need the freshest data available, not cached."},{"title":"Cached ETH price for cost-conscious dashboard","prompt":"Grab me the ETH price and gas price using cached data — I just need a ballpark for my portfolio dashboard and don't need it to be real-time."},{"title":"Gas price monitoring for DeFi automation","prompt":"Check the current Base gas price in Gwei for me — use live mode — so I can decide whether to submit my transaction now."}],"resultDescription":"A JSON object containing the ETH/USD price (number or null), Base gas price in Gwei (number or null), number of gas samples used, the timestamp when the response was served, the timestamp when the ETH price was last cached, and the freshness mode that was applied (cached or live).","failureModes":["Live oracle fetch may return null for ethUsdPrice or gasPriceGwei if the upstream data source is temporarily unavailable","Invalid freshness enum value returns a validation error","Network timeout on live mode may result in partial nulls in response","Stale cached data may not reflect very recent market movements"],"whenToPreferThis":"Use this endpoint when you need a quick, cheap ($0.002 USDC) ETH/USD price or Base gas estimate and are comfortable with either cached or live data. Choose 'live' when freshness matters (e.g., transaction decisions); choose 'cached' for dashboards or informational use. Prefer over heavier oracle APIs when minimal latency and minimal cost matter and Base mainnet data is sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:51:16.649Z","isFirstParty":false}