{"uid":"cap_Cfg47u2WCSLIvDWrHY_MN","slug":"crypto-market-pulse-base-usdc-stats-text-case-endpoint-93751570","name":"Crypto Market Pulse & Base USDC Stats – Text Case 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/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_hs8VvFwa2-gubsvnfcKJ6","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 snapshot, and USDC-on-Base transfer analytics, paid per-call in USDC on Base via x402","exampleAgentPrompt":"What are the current prices of Bitcoin, Ethereum, Solana, and USDC with their 24-hour changes, and what's the latest Base mainnet block height and gas price?","exampleUseCases":[{"title":"DeFi dashboard market snapshot","prompt":"Pull me the latest prices for BTC, ETH, SOL, and USDC along with their 24-hour percent changes and the current Base mainnet block height and gas fee so I can update my DeFi dashboard."},{"title":"USDC on-chain transfer monitoring","prompt":"How much USDC has been transferred on Base mainnet recently? Give me the transfer count, total volume, and number of unique senders and recipients over the last few blocks."},{"title":"Crypto portfolio wallet balance check","prompt":"What's the current USDC and ETH balance for wallet address 0xAbC123... on Base mainnet, and what's the nonce for that address?"}],"resultDescription":"A JSON object containing: market prices (BTC, ETH, SOL, USDC in USD with 24h % change sourced from OKX), Base mainnet chain data (chainId 8453, block height, gas price in gwei), USDC-on-Base transfer analytics (count, volume, unique senders/recipients over recent blocks), optional wallet balances (USDC, ETH) and nonce for a queried address, and a servedAt timestamp.","failureModes":["HTTP 402 returned when no x402 payment header is present — agent must pay 0.0005 USDC on Base and retry with PAYMENT-SIGNATURE header","Stale or delayed market data if OKX feed is temporarily unavailable","RPC errors if Base mainnet node is congested or rate-limited","Invalid wallet address returns empty or error balance response","Endpoint path /text/case may not correspond to the primary data endpoint — routing to wrong sibling could return unexpected results"],"whenToPreferThis":"Choose this endpoint when you need no-signup, pay-per-call access to real-time crypto market prices and Base chain data without managing API keys or subscriptions. It is ideal for AI agents operating autonomously with a USDC wallet on Base mainnet using the x402 protocol. Prefer it over subscription APIs when usage is sporadic or you need to avoid monthly commitments, or when you need combined market + on-chain analytics in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:45:32.833Z","isFirstParty":false}