{"uid":"cap_Sz8phvoaM19MiRfgEDUDt","slug":"crypto-market-pulse-base-usdc-stats-util-time-server-time-f5f53074","name":"Crypto Market Pulse & Base USDC Stats — /util/time (Server Time)","description":"Pay-per-call API for AI agents, settled in USDC on Base mainnet (eip155:8453) via the x402 protocol - no API keys, no signup, no subscription. Live crypto market data: BTC, ETH, SOL, USDC (USD Coin) prices with 24h change (source: OKX), Base mainnet chain snapshot (block height, gas price gwei), real-time USDC-on-Base transfer analytics (transfer count, volume, unique senders and recipients over recent blocks), and USDC/ETH wallet balances plus nonce for any address. Agent utility tools: deterministic JSON repair for LLM output (strip code fences, fix trailing commas, single quotes, unquoted keys, balance braces), DNS A/AAAA lookup, and URL extraction from arbitrary text. Every endpoint returns HTTP 402 with an x402 payment challenge in USDC on Base; pay with any wallet and retry with the PAYMENT-SIGNATURE header. MCP server at /mcp (streamable HTTP, 6 pay-per-call tools). Ideal for crypto portfolios, DeFi dashboards, market analysis agents, data pipelines, and LLM post-processing.","url":"https://cryptopulse.pythonanywhere.com/util/time","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"chain":{"chainId":8453,"network":"base-mainnet","blockHeight":21000000,"gasPriceGwei":0.05},"market":{"solana":{"usd":150,"usd_24h_change":-0.5},"bitcoin":{"usd":60000,"usd_24h_change":1.5},"ethereum":{"usd":3000,"usd_24h_change":2},"usd-coin":{"usd":1,"usd_24h_change":0}},"servedAt":1755430000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0005","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.0005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_R5QeqwKpee5n_UhJaGfV5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a combined snapshot of the current server timestamp alongside live crypto market prices (BTC, ETH, SOL, USDC), Base mainnet chain state (block height, gas price), and USDC-on-Base transfer analytics, paid per-call via x402 USDC on Base.","exampleAgentPrompt":"Give me a live snapshot of Bitcoin, Ethereum, Solana, and USDC prices with their 24-hour changes, plus the current Base mainnet block height and gas price right now.","exampleUseCases":[{"title":"Live crypto portfolio price check","prompt":"Pull the current prices for BTC, ETH, SOL, and USDC along with their 24-hour percent changes so I can update my portfolio dashboard."},{"title":"Base gas price monitoring for DeFi bot","prompt":"What is the current gas price in gwei on Base mainnet and what block are we at? I need to decide whether to execute my DeFi transaction now."},{"title":"USDC on-chain transfer analytics","prompt":"How many USDC transfers have happened on Base recently, what was the total volume, and how many unique senders and recipients were involved?"}],"resultDescription":"A JSON object containing: a market block with BTC, ETH, SOL, and USDC prices in USD plus 24h percentage change (sourced from OKX); a chain block with Base mainnet chain ID, network name, current block height, and gas price in gwei; and a servedAt Unix timestamp. Returned after paying $0.0005 USDC on Base via the x402 protocol.","failureModes":["HTTP 402 returned before payment — agent must submit x402 PAYMENT-SIGNATURE header and retry","Stale market data if OKX feed is delayed or unavailable","Base RPC unavailability causing missing or outdated block height and gas price","Network timeout on PythonAnywhere free-tier hosting under load","USDC transfer analytics may lag by several blocks"],"whenToPreferThis":"Choose this endpoint when you need a single, cheap ($0.0005 USDC) aggregated snapshot of major crypto prices and Base chain state in one call, with no API key or signup required. It is ideal for AI agents, DeFi dashboards, and data pipelines operating on the x402 pay-per-call model that want low-friction access to BTC/ETH/SOL/USDC prices plus Base network telemetry simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:40:07.869Z","isFirstParty":false}