{"uid":"cap_iNBt-vlswVxVdgZUfD3rl","slug":"sylphy-market-depth-token-order-book-4e791f5b","name":"Sylphy Market Depth — Token Order Book","description":"Sylphy helps wallets, apps, and AI agents execute payments and settlements with encrypted intent, policy checks, and audit proofs — while final settlement remains verifiable on Base.","url":"https://api.sylphyagent.com/api/market-depth/%7Btoken%7D","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["token"],"properties":{"token":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"asks":[],"bids":[],"token":"0x833...","timestamp":1700000000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_P0dsX5HsIR-eBeSCxjyYs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns anonymized bid/ask order book depth for a given ERC-20 token on Base, via a privacy-preserving trading infrastructure.","exampleAgentPrompt":"Can you pull the current market depth — bids and asks — for the token at contract address 0x833... on Base so I can see how much liquidity is available?","exampleUseCases":[{"title":"Liquidity check before large token swap","prompt":"Before I execute a big swap, can you pull the anonymized order book for USDC on Base and show me how deep the bids and asks are? I want to make sure I won't get slipped."},{"title":"Privacy-preserving trading intent verification","prompt":"I'm about to submit an encrypted trade intent — can you check the current market depth for this ERC-20 token on Base first so I know my order won't be obvious from the order book shape?"},{"title":"Real-time market depth monitoring agent","prompt":"Monitor the order book depth for token 0x833... on Base over the next few minutes and let me know if liquidity dries up or if the bid-ask spread widens significantly."}],"resultDescription":"Returns a JSON object with arrays of bids and asks (anonymized order book entries), the queried token contract address, and a Unix timestamp indicating when the snapshot was taken.","failureModes":["Invalid or unrecognized token contract address returns empty bids/asks arrays","Token not listed in Sylphy's order book returns empty depth with 200 status","Malformed token parameter may return 400 or equivalent error","Payment not processed (x402 flow incomplete) returns 402 Payment Required","Temporary unavailability of market data returns 503 or similar server error"],"whenToPreferThis":"Choose this endpoint when you need real-time, anonymized order book depth (bids and asks) for a specific ERC-20 token on the Base network, especially within a privacy-preserving or encrypted-intent trading workflow. Prefer this over generic DEX aggregator APIs when operating within Sylphy's agent-native settlement infrastructure or when audit-proof trade execution context is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:36:30.700Z","isFirstParty":false}