{"uid":"cap_ahMvKvT3D3dGHR8QCIs51","slug":"47620-crypto-orderbook-api-3db0c199","name":"47620 Crypto Orderbook API","description":"Non-custodial x402 payment gateway on Solana (1% on-chain fee) plus a pay-per-call Solana data API for agents: token price, account balances, tx lookup, trending DEX pairs, network health. No signup, no API key — pay USDC per call.","url":"https://47620.xyz/x/crypto/orderbook/%7Bsymbol%7D?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"data":{"fetchedAt":"<iso>"},"endpoint":"crypto-orderbook"}},"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_wZUTZ8VFhNMCE0MVnV-07","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns top-of-book data for a cryptocurrency symbol: best bid/ask, mid price, spread, and order book depth/imbalance","exampleAgentPrompt":"What's the current top-of-book for BTC — give me the best bid and ask, the spread in bps, and whether the book is bid- or ask-heavy right now.","exampleUseCases":[{"title":"Pre-trade spread check for a swap","prompt":"Before I swap SOL, can you check the current order book spread and book imbalance for SOL so I know if now is a good time to trade?"},{"title":"Arbitrage signal monitoring","prompt":"Pull the top-of-book data for ETH right now — I need the best bid, best ask, mid price, and depth on both sides to see if there's a spread arbitrage opportunity."},{"title":"Market maker pricing reference","prompt":"I'm setting limit orders for MATIC — get me the current best bid, best ask, and the bps spread so I can price my quotes competitively."}],"resultDescription":"Returns a JSON object with ok status, fetchedAt timestamp, and a data block containing best bid price, best ask price, mid price, absolute spread, spread in basis points, bid-side depth, ask-side depth, and a book imbalance metric indicating directional pressure.","failureModes":["Invalid or unsupported symbol returns an error response","Payment not received or underpaid results in 402 Payment Required","Network or upstream exchange outage may return stale or empty data","Malformed symbol path parameter yields 400 or error JSON","Rate limit or on-chain confirmation delay may cause latency spikes"],"whenToPreferThis":"Choose this endpoint when you need real-time top-of-book market microstructure data (bid/ask/spread/depth/imbalance) for a cryptocurrency without needing an API key or account — particularly when paying per-call via x402/USDC is acceptable and you want no subscription overhead. Prefer over centralized exchange APIs when you need a keyless, on-chain-payment model compatible with autonomous agents.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:38:04.125Z","isFirstParty":false,"canonicalSlug":"47620-crypto-orderbook-api-3db0c199"}