{"uid":"cap_HYnNQe-LoTQoo5xtm_463","slug":"crypto-order-book-lookup-ff3912ca","name":"Crypto Order Book Lookup","description":"Machine-payable x402 utilities for hashing, Base64, UUID generation, unit and timezone conversion, realtime crypto market data, webpage/document extraction, URL-to-Markdown, metadata, RAG ingestion and deterministic website change detection.","url":"https://x402-gateway-production-1f21.up.railway.app/crypto/book?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["product_id"],"properties":{"product_id":{"type":"string","pattern":"^[A-Za-z0-9]{2,15}-[A-Za-z0-9]{2,15}$","description":"Coinbase Exchange product such as BTC-USD, ETH-USD, SOL-USD or ETH-USDC."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"status":"ready"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_gxyzmsyxWXoQZsbn_tVBo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the real-time order book (bids and asks) for a specified Coinbase Exchange trading pair such as BTC-USD or ETH-USDC.","exampleAgentPrompt":"Pull the current order book for BTC-USD so I can see the top bids and asks right now.","exampleUseCases":[{"title":"Pre-trade liquidity check","prompt":"Before I place a large ETH-USD buy order, can you pull the current order book so I can see how much liquidity is available and at what price levels?"},{"title":"Real-time spread monitoring","prompt":"What's the current bid-ask spread for SOL-USD? Grab the live order book for me."},{"title":"Arbitrage opportunity research","prompt":"Can you fetch the order book for ETH-USDC so I can compare the bids and asks against another exchange I'm watching?"}],"resultDescription":"A JSON response containing the current order book for the requested trading pair, including arrays of bids and asks with price levels and quantities, sourced in real time from Coinbase Exchange.","failureModes":["Invalid product_id format (must match pattern like BTC-USD) returns a validation error","Unsupported or delisted trading pair returns a not-found or empty response","Payment failure via x402 protocol results in a 402 response and no data returned","Downstream Coinbase Exchange API unavailability causes a timeout or 5xx error"],"whenToPreferThis":"Choose this endpoint when you need real-time order book depth (bids and asks) for a Coinbase-listed trading pair and want a machine-payable, per-call micro-payment model via x402 without managing API keys or subscriptions. Prefer it for one-off or infrequent order book snapshots where pay-per-use is more cost-effective than a subscription feed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:42:45.871Z","isFirstParty":false,"canonicalSlug":"crypto-order-book-lookup-ff3912ca"}