{"uid":"cap_cTzNNsICSx7cH3Gf0h5fk","slug":"speraxos-x402-markets-api-900ad561","name":"SperaxOS x402 Markets API","description":"AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.","url":"https://chat.sperax.io/api/x402/markets","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"page":{"type":"integer","description":"Page number"},"order":{"enum":["market_cap_desc","market_cap_asc","volume_desc","volume_asc"],"type":"string","description":"Sort order"},"per_page":{"type":"integer","description":"Results per page (default: 100, max: 250)"},"vs_currency":{"type":"string","description":"Target currency (default: usd)"}}},"responseSchema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"CoinGecko coin ID"},"name":{"type":"string","example":"Bitcoin"},"symbol":{"type":"string","example":"btc"},"market_cap":{"type":"number","example":1300000000000},"total_volume":{"type":"number","example":30000000000},"current_price":{"type":"number","example":67000},"price_change_percentage_24h":{"type":"number","example":2.5}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fdA5SOYNYSIcTsCVdRa1v","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns paginated cryptocurrency market data (price, volume, market cap, 24h change) for all coins, payable per-request via x402 USDC micropayment on Base.","exampleAgentPrompt":"Pull me the top 250 cryptocurrencies by market cap right now, priced in USD — I want each coin's name, symbol, current price, market cap, 24h volume, and 24h price change percentage.","exampleUseCases":[{"title":"DeFi portfolio market snapshot","prompt":"Give me a full market snapshot of the top 100 crypto assets priced in USD — I need the current price, market cap, and 24-hour change for each one so I can see how my DeFi holdings are tracking."},{"title":"Crypto market screener for trading bot","prompt":"Fetch the first page of crypto markets sorted by default, 100 results per page in USD — my trading bot needs to scan which coins moved more than 5% in the last 24 hours."},{"title":"Multi-page crypto data pipeline","prompt":"I need to pull all available cryptocurrency market data across multiple pages, 250 results per page, priced in EUR — start with page 1 and I'll keep requesting until I have everything."}],"resultDescription":"An array of coin objects, each containing the CoinGecko coin ID, human-readable name, ticker symbol, current price in the requested currency, market capitalization, total 24-hour trading volume, and 24-hour price change percentage. Returned as a JSON array, paginated according to the page and per_page parameters.","failureModes":["402 Payment Required if x402 USDC payment on Base is not attached or insufficient","Invalid vs_currency value returns empty or error response","per_page exceeding 250 may be rejected or clamped","Invalid page number (e.g. page beyond available data) returns empty array","Network timeout if Base payment settlement is delayed","Wallet without agentcash identity may face restricted access on free-tier endpoints"],"whenToPreferThis":"Choose this endpoint when you need broad cryptocurrency market data (prices, volumes, market caps) across many coins without pre-registering for an API key, and your agent can handle x402 micropayments in USDC on Base. Ideal for pay-as-you-go DeFi intelligence pipelines, trading bots, or portfolio dashboards that need fresh market data on demand. Prefer over traditional market data APIs when avoiding key management overhead or when operating within a Web3/agentic payment workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:38:36.639Z","isFirstParty":false}