{"uid":"cap_zjCpY7XAdbMzTLnxzPnA2","slug":"crypto-market-pulse-base-usdc-stats-text-case-utility-febd0b53","name":"Crypto Market Pulse & Base USDC Stats – Text Case Utility","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://baseusdcearn.pythonanywhere.com/text/case","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_o6O_Q5GtY4Ah5vDHwu36K","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 live crypto market prices (BTC, ETH, SOL, USDC), Base mainnet chain stats, and USDC transfer analytics, paid per-call in USDC on Base via x402","exampleAgentPrompt":"What are the current prices of Bitcoin, Ethereum, Solana, and USDC right now, along with the 24-hour change, and what does the Base mainnet look like — block height and gas price?","exampleUseCases":[{"title":"Crypto portfolio price dashboard","prompt":"Pull the latest prices for Bitcoin, Ethereum, Solana, and USDC along with their 24-hour percentage changes so I can update my portfolio dashboard."},{"title":"Base network gas monitoring","prompt":"What is the current gas price in gwei on Base mainnet and what block are we at right now?"},{"title":"USDC on-chain activity 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: market prices and 24h change for BTC, ETH, SOL, and USDC (sourced from OKX); Base mainnet snapshot with current block height and gas price in gwei; USDC transfer analytics over recent blocks (count, volume, unique senders/recipients); optionally wallet USDC/ETH balances and nonce for a given address; and a servedAt timestamp.","failureModes":["HTTP 402 returned if x402 payment challenge is not satisfied — agent must pay in USDC on Base and retry with PAYMENT-SIGNATURE header","Invalid or missing properties parameter may return an error or empty response","Stale market data if upstream OKX feed is delayed or unavailable","Base RPC node downtime may cause chain snapshot fields to be missing or outdated","Malformed wallet address input returns error for balance/nonce lookups"],"whenToPreferThis":"Choose this endpoint when you need a single pay-per-call, no-signup source for combined crypto market prices (BTC/ETH/SOL/USDC from OKX) alongside Base mainnet chain stats and real-time USDC on-chain analytics. Ideal for AI agents that want micropayment-native access (x402/USDC on Base) without API keys or subscriptions, and for DeFi dashboards or market analysis pipelines that need all these signals in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:51:48.657Z","isFirstParty":false}