{"uid":"cap_avuviLcovYm368WooNqHJ","slug":"crypto-market-pulse-base-usdc-stats-base64-text-endpoint-d047f9f6","name":"Crypto Market Pulse & Base USDC Stats – Base64 Text Endpoint","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/text/base64?utm_source=zero.xyz","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_iHlm_ACw4nflQ9Mxr-Web","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 Base64-encoded JSON snapshot of live crypto prices (BTC, ETH, SOL, USDC), Base mainnet chain stats, and USDC transfer analytics, paid per-call via x402 USDC on Base.","exampleAgentPrompt":"Pull me the latest BTC, ETH, SOL, and USDC prices with their 24-hour changes, plus the current Base mainnet block height and gas price — give it to me as a Base64-encoded JSON snapshot I can drop into my data pipeline.","exampleUseCases":[{"title":"DeFi dashboard market snapshot","prompt":"Grab the latest prices for Bitcoin, Ethereum, Solana, and USDC along with their 24-hour changes and the current Base mainnet gas price — I need it as a Base64 blob for my dashboard ingestion pipeline."},{"title":"On-chain USDC transfer monitoring","prompt":"What does recent USDC activity on Base mainnet look like? I want transfer count, total volume, and the number of unique senders and recipients over the last few blocks — encoded as Base64 JSON."},{"title":"Crypto portfolio agent data feed","prompt":"For my portfolio agent, fetch a combined snapshot of current BTC, ETH, SOL prices with daily percent changes plus the Base chain block height, all packed into a Base64-encoded payload so I can cache and decode it downstream."}],"resultDescription":"A Base64-encoded JSON object containing: current USD prices and 24h percentage changes for BTC, ETH, SOL, and USDC (sourced from OKX); Base mainnet chain stats (chainId 8453, block height, gas price in gwei); USDC transfer analytics over recent blocks (count, volume, unique senders/recipients); optionally USDC and ETH wallet balances and nonce for a given address; and a servedAt Unix timestamp. Delivered after x402 USDC micropayment on Base mainnet.","failureModes":["HTTP 402 returned if payment signature is missing or invalid — must include PAYMENT-SIGNATURE header after completing x402 challenge","Stale or delayed market data if OKX feed is temporarily unavailable","Base RPC errors if mainnet node is congested or unreachable","Malformed Base64 if upstream JSON assembly fails","Rate limiting or server errors from pythonanywhere.com hosting constraints","Empty or null analytics fields if no USDC transfers occurred in the sampled block range"],"whenToPreferThis":"Choose this endpoint when you need a single no-signup, no-API-key call that combines live OKX crypto prices, Base mainnet chain health, and real USDC on-chain transfer analytics in one portable Base64-encoded payload — especially useful for agent pipelines, LLM post-processing workflows, or DeFi dashboards that consume encoded data blobs and want to pay micropayments per call via x402 rather than managing subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:49:02.557Z","isFirstParty":false,"canonicalSlug":"crypto-market-pulse-base-usdc-stats-base64-text-endpoint-d047f9f6"}