{"uid":"cap_kANb7WcqjCp7skU5Uu9vx","slug":"crypto-market-pulse-wallet-balance-chain-snapshot-cfee41ff","name":"Crypto Market Pulse – Wallet Balance & Chain Snapshot","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/balance","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.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jSWfFriNpwwSzart7k1z3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live USDC/ETH wallet balances and nonce for any address, alongside Base mainnet chain stats and BTC/ETH/SOL/USDC market prices, paid per-call in USDC on Base via x402.","exampleAgentPrompt":"What's the current USDC and ETH balance for wallet 0xAbC...123 on Base mainnet, and what are BTC, ETH, and SOL trading at right now with their 24-hour changes?","exampleUseCases":[{"title":"DeFi portfolio balance check","prompt":"Can you look up the USDC and ETH balance for my Base wallet 0x4f3a...d9b2 and tell me what those assets are worth at current market prices?"},{"title":"Crypto market dashboard refresh","prompt":"Give me a live snapshot of BTC, ETH, SOL, and USDC prices along with their 24-hour changes, plus the current Base mainnet block height and gas price."},{"title":"Agent treasury monitoring","prompt":"Check the USDC balance and nonce on Base for address 0x7c2e...f1a0 — I want to know if it's funded before the agent tries to send a payment."}],"resultDescription":"A JSON object containing: wallet USDC and ETH balances plus nonce for the queried address; Base mainnet chain snapshot (block height, gas price in gwei); and live market prices for BTC, ETH, SOL, and USDC with 24-hour percentage change. All data is real-time from OKX and Base RPC.","failureModes":["HTTP 402 returned if x402 payment header is missing or invalid — must pay 0.001 USDC on Base and retry with PAYMENT-SIGNATURE header","Invalid or malformed wallet address returns an error or empty balance fields","Base RPC node temporarily unavailable causing chain/balance data gaps","OKX market feed delay or downtime causing stale or missing price data","Rate limiting or PythonAnywhere hosting constraints under high load"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a single combined call for wallet balance checks (USDC + ETH), on-chain nonce, Base network status, and live crypto market prices — all without API key signup. Ideal for keyless, pay-per-call DeFi agents that settle in USDC on Base. Prefer over separate RPC and price feed calls when minimizing integration complexity and when the x402 micropayment model fits the workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:42:32.212Z","isFirstParty":false}