Skip to content
Fourohtwo

x402.santyvv.com/api/crypto/orderbook

Best bid and ask, absolute and relative spread, mid price, and the depth available within a configurable percentage of the mid, for a spot pair. Answers 'can I trade this size without moving the price' in one call, without pulling a full order book.

BaseAnswering
GEThttps://x402.santyvv.com/api/crypto/orderbook

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402.santyvv.com/api/crypto/orderbook?limite=Niveles+del+libro+a+considerar+%285-100%29+%28por+defecto%3A+20%29+Ejemplo%3A+20&symbol=Par+del+exchange+%28BTCUSDT%29+%28obligatorio%29+Ejemplo%3A+BTCUSDT");
console.log(await res.json());

Example input

{
  "limite": "Niveles del libro a considerar (5-100) (por defecto: 20) Ejemplo: 20",
  "symbol": "Par del exchange (BTCUSDT) (obligatorio) Ejemplo: BTCUSDT"
}

More from santyvv-dataProvider status