Directory / Crypto & onchain data

Deepstate, the on-chain order-book exchange on Robinhood Chain

Deepstate, the on-chain order-book exchange on Robinhood Chain. Rolling 24h / 7d / 30d volume and price change for a market.

402 OKBaseGETx402 v2

Price per call
$0.005
Endpoint
https://api.onesource.io/deepstate/v1/stats/:book
Provider
api.onesource.io
Paid calls (30 days)
569
Unique payers (30 days)
343
Last paid call
10 days ago
Health check
HTTP 402 6 min ago
Pays to
0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea
Listed here since
2026-11-23 (source: bazaar)

Input

{
  "method": "GET",
  "pathParams": {
    "book": "NVDA-USDG"
  },
  "queryParams": {},
  "type": "http"
}

Example output

{
  "example": {
    "base_token": {
      "address": "0xd0601CE157Db5bdC3162BbaC2a2C8aF5320D9EEC",
      "decimals": 18,
      "symbol": "NVDA"
    },
    "block_number": 52685677,
    "book_id": "0xdf941c235503a5d2e67aee5dea00f2965f99421c0d034bd77f924c05c66bf399",
    "book_label": "NVDA/USDG",
    "book_slug": "NVDA-USDG",
    "finality": "head",
    "last_price": 216.48219249,
    "last_price_raw": "216.48219249",
    "market_session": "regular",
    "quote_token": {
      "address": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
      "decimals": 6,
      "symbol": "USDG"
    },
    "windows": {
      "24h": {
        "change_pct": -1.82,
        "high_raw": "220.47999716",
        "low_raw": "215.70112004",
        "trades": 24,
        "volume_quote": 500000,
        "volume_quote_raw": "500000000000",
        "vwap_raw": "217.90441002"
      },
      "30d": {
        "change_pct": 8.77,
        "high_raw": "241.72004112",
        "low_raw": "198.03118022",
        "trades": 402,
        "volume_quote": 141900000,
        "volume_quote_raw": "141900000000000",
        "vwap_raw": "221.44120038"
      },
      "7d": {
        "change_pct": 2.41,
        "high_raw": "229.11004221",
        "low_raw": "210.44032118",
        "trades": 171,
        "volume_quote": 19800000,
        "volume_quote_raw": "19800000000000",
        "vwap_raw": "219.03881204"
      }
    }
  },
  "type": "json"
}

Call it from an agent

import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.AGENT_PRIVATE_KEY);
const paidFetch = wrapFetchWithPayment(fetch, account);

const res = await paidFetch("https://api.onesource.io/deepstate/v1/stats/:book", { method: "GET" });
console.log(await res.json()); // costs $0.005 in USDC on Base

Machine-readable: /api/tools/775931a74dc8. Listings are informational; check a provider before sending large amounts.