{"slug":"asistent-crypto-vercel-app-api-x402-data-orderbook-depth-7a07bc","title":"What a trade actually costs before it is placed","host":"asistent-crypto.vercel.app","method":"POST","resource":"https://asistent-crypto.vercel.app/api/x402/data/orderbook-depth","category":"market","description":"What a trade actually costs before it is placed: live order book depth on Bybit and OKX, walked at your size. Give it a notional in dollars and it returns the average fill price, slippage against mid in basis points and dollars, the spread, the depth within 1% of mid, and which venue is cheaper for ","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":338,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"coin":"BTC","sizesUsd":[10000,100000]},"bodyType":"json","method":"POST","pathParams":{},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{},"required":[]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"pathParams":{"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":338,"error":null}],"description_full":"What a trade actually costs before it is placed: live order book depth on Bybit and OKX, walked at your size. Give it a notional in dollars and it returns the average fill price, slippage against mid in basis points and dollars, the spread, the depth within 1% of mid, and which venue is cheaper for that exact size — separately for buying and selling. A size the book cannot absorb is reported as unfilled, never priced by extrapolation.","last_updated":"2026-09-12T08:55:32.826Z","schemes":["exact"]}