{"uid":"cap_1Q-9k8585bHNsaXL47V9a","slug":"x402-experiments-market-snapshot-lab-paidapis-net-2b7f51f0","name":"x402-experiments Market Snapshot (lab.paidapis.net)","description":"Aggregated market snapshot: Ethereum mainnet gas price (Gwei), ETH/USD spot price, and the latest Base mainnet block number and timestamp — combined into one call. Optional ?ref=<address> pays that wallet a 20% referral cut, sent as a separate on-chain transfer after settlement.","url":"https://lab.paidapis.net/api/market-snapshot","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"ref":{"type":"string","description":"Wallet address to pay a referral cut to."}}},"responseSchema":{"type":"object","properties":{"dataAsOf":{"type":"string"},"ethUsdPrice":{"type":"number"},"gasPriceGwei":{"type":"number"},"latestBaseBlock":{"type":"object","properties":{"number":{"type":"integer"},"timestamp":{"type":"string"}}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9rR-3waDTfRqFv7SX4nOZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a real-time Base mainnet market snapshot including ETH/USD price, gas price in Gwei, and the latest Base block number and timestamp.","exampleAgentPrompt":"What's the current ETH price in USD and the gas price on Base right now? Also tell me the latest Base block number.","exampleUseCases":[{"title":"Real-time ETH price check","prompt":"What's the current ETH to USD price on the Base network? I need it right now for a trade I'm about to make."},{"title":"Gas fee monitoring for DeFi bot","prompt":"Can you check the current gas price in Gwei on Base so I know if it's cheap enough to submit my transaction right now?"},{"title":"Onchain oracle data for dashboard","prompt":"Pull me a fresh market snapshot from Base mainnet — I need the ETH/USD price, current gas price in Gwei, and the latest block number and its timestamp."}],"resultDescription":"A JSON object containing: the timestamp of the data (dataAsOf), the current ETH/USD price as a number (ethUsdPrice), the current gas price in Gwei (gasPriceGwei), and the latest Base block details including its number (integer) and timestamp (string).","failureModes":["Payment not provided or invalid — returns HTTP 402 requiring USDC payment on Base mainnet","Base RPC node temporarily unavailable — stale or missing data","Invalid referral wallet address format — may cause request rejection or ignored referral","Network congestion causing delayed block/gas data"],"whenToPreferThis":"Choose this endpoint when you need a quick, cheap ($0.01 USDC) real-time snapshot of ETH/USD price and Base network gas conditions in a single call. Ideal for agents that need onchain oracle-style data without running their own RPC node or subscribing to a full data provider. Best when you want Base-native data specifically (not Ethereum L1 gas or prices from a CEX).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:53:15.261Z","isFirstParty":false}