{"slug":"agentshelf-syntexa-ch-v1-crypto-orderbook-38c472","title":"Call when an agent needs a spot order-book snapshot with best bid, best ask, mid","host":"agentshelf.syntexa.ch","method":"POST","resource":"https://agentshelf.syntexa.ch/v1/crypto-orderbook","category":"code","description":"Call when an agent needs a spot order-book snapshot with best bid, best ask, mid, spread, and spread in bps. depth defaults to 20 and is at most 100. Tries Coinbase Exchange, Kraken, OKX, then Binance. Send JSON {\"symbol\":\"BTC-USD\",\"depth\":2}. Exact $0.005 USDC on Base. Try unpaid POST /v1/sandbox/c","price_listed":0.005,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"depth":2,"symbol":"BTC-USD"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"examples":[{"depth":2,"symbol":"BTC-USD"}],"properties":{"depth":{"default":20,"description":"Bid and ask levels to return. Example: 2. Default 20. At most 100.","examples":[2],"maximum":100,"minimum":1,"type":"integer"},"symbol":{"description":"Spot symbol. Example: BTC-USD or BTCUSDT. XBT is read as BTC. A slash is accepted. The response symbol is BASE-QUOTE.","examples":["BTC-USD"],"maxLength":24,"minLength":5,"type":"string"}},"required":["symbol"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"examples":[{"asks":[{"price":"82493.5","size":"0.12"},{"price":"82494.1","size":"0.04"}],"best_ask":"82493.5","best_bid":"82492.7","bids":[{"price":"82492.7","size":"0.00129381"},{"price":"82491.05","size":"0.02424506"}],"billed":true,"depth":2,"mid":"82493.1","ok":true,"receipt_id":"rcpt_01EXAMPLE000000000000000","source":"coinbase","spread":"0.8","spread_bps":"0.0969","symbol":"BTC-USD","warnings":[]}],"properties":{"asks":{"examples":[[{"price":"82493.5","size":"0.12"},{"price":"82494.1","size":"0.04"}]],"items":{"additionalProperties":false,"properties":{"price":{"type":"string"},"size":{"type":"string"}},"required":["price","size"],"type":"object"},"maxItems":100,"type":"array"},"best_ask":{"examples":["82493.5"],"type":"string"},"best_bid":{"examples":["82492.7"],"type":"string"},"bids":{"examples":[[{"price":"82492.7","size":"0.00129381"},{"price":"82491.05","size":"0.02424506"}]],"items":{"additionalProperties":false,"properties":{"price":{"type":"string"},"size":{"type":"string"}},"required":["price","size"],"type":"object"},"maxItems":100,"type":"array"},"billed":{"examples":[true],"type":"boolean"},"depth":{"examples":[2],"exclusiveMinimum":0,"maximum":100,"type":"integer"},"mid":{"examples":["82493.1"],"type":"string"},"ok":{"const":true,"examples":[true],"type":"boolean"},"receipt_id":{"examples":["rcpt_01EXAMPLE000000000000000"],"type":"string"},"source":{"enum":["coinbase","kraken","okx","binance"],"examples":["coinbase"],"type":"string"},"spread":{"examples":["0.8"],"type":"string"},"spread_bps":{"examples":["0.0969"],"type":"string"},"symbol":{"examples":["BTC-USD"],"type":"string"},"warnings":{"default":[],"examples":[[]],"items":{"type":"string"},"type":"array"}},"required":["ok","receipt_id","billed","symbol","depth","source","best_bid","best_ask","mid","spread","spread_bps","bids","asks"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Call when an agent needs a spot order-book snapshot with best bid, best ask, mid, spread, and spread in bps. depth defaults to 20 and is at most 100. Tries Coinbase Exchange, Kraken, OKX, then Binance. Send JSON {\"symbol\":\"BTC-USD\",\"depth\":2}. Exact $0.005 USDC on Base. Try unpaid POST /v1/sandbox/crypto-orderbook first.","last_updated":"2026-10-22T07:20:51.511Z","schemes":["exact"]}