{"uid":"cap_QICWUkr2LAr9de-11Y3FU","slug":"delx-commerce-order-book-depth-notional-calculator-b6072949","name":"Delx Commerce — Order Book Depth Notional Calculator","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/ob-depth-notional?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"levels":{"type":"array","description":"Array of {price,size} ladder levels"}}},"responseSchema":{"type":"json","example":{"schema":"delx/util-ob-depth-notional/v1","levels_used":2,"depth_notional":498.5}},"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_zJWUNmXG5FN6TVjBIF4fR","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":"Computes the total notional value (in USD or quote currency) across an array of order book price/size ladder levels","exampleAgentPrompt":"I have an order book snapshot with two levels — [{price: 249.25, size: 1.0}, {price: 249.00, size: 1.0}] — can you calculate the total notional depth across those levels?","exampleUseCases":[{"title":"Liquidity check before large trade","prompt":"I'm about to place a large order and want to know the total notional depth available. Here are the top 5 bid levels: [{price:100.5,size:200},{price:100.4,size:350},{price:100.3,size:500},{price:100.2,size:150},{price:100.1,size:400}]. What's the total notional?"},{"title":"Market depth monitoring for algo strategy","prompt":"My algo needs to track real-time notional depth. Given these current ask levels [{price:50.10,size:1000},{price:50.15,size:800}], what is the total notional depth right now?"},{"title":"Compare bid vs ask notional imbalance","prompt":"I want to check whether bids or asks have more notional depth. Calculate the notional for this bid ladder: [{price:3000,size:2},{price:2999,size:5}] so I can compare it against the ask side."}],"resultDescription":"Returns a JSON object containing the schema identifier ('delx/util-ob-depth-notional/v1'), the number of levels used in the computation, and the computed depth_notional value representing the total notional (price × size summed across all provided levels).","failureModes":["Missing or malformed 'levels' array returns a validation error","Empty levels array may return zero depth notional or an error","Non-numeric price or size values cause parsing failures","Payment not included or insufficient USDC causes HTTP 402 response","Network timeout if Base/Solana payment settlement is slow"],"whenToPreferThis":"Use this endpoint when you have raw order book price/size ladder data and need to quickly compute the total notional depth without building your own aggregation logic. It is ideal for agents operating in trading, DeFi, or market-making contexts that need a cheap ($0.001), no-signup, pay-per-result microservice for a specific financial computation. Prefer it over rolling your own aggregation when you want verifiable, pay-per-call pricing via x402 on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:43.705Z","isFirstParty":false,"canonicalSlug":"delx-commerce-order-book-depth-notional-calculator-b6072949"}