Directory / Crypto & onchain data

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

Deepstate, the on-chain order-book exchange on Robinhood Chain. OHLCV candles for a market.

402 OKBaseGETx402 v2

Price per call
$0.005
Endpoint
https://api.onesource.io/deepstate/v1/candles/:book
Provider
api.onesource.io
Paid calls (30 days)
570
Unique payers (30 days)
355
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": {
    "tf": "1h"
  },
  "type": "http"
}

Example output

{
  "example": {
    "base_token": {
      "address": "0xd0601CE157Db5bdC3162BbaC2a2C8aF5320D9EEC",
      "decimals": 18,
      "symbol": "NVDA"
    },
    "book_id": "0xdf941c235503a5d2e67aee5dea00f2965f99421c0d034bd77f924c05c66bf399",
    "book_label": "NVDA/USDG",
    "book_slug": "NVDA-USDG",
    "candles": [
      {
        "close_raw": "216.47999901",
        "high_raw": "220.47999716",
        "low_raw": "215.70112004",
        "market_session": "regular",
        "open_bucket": false,
        "open_raw": "216.43128523",
        "t": "2026-09-02T14:00:00Z",
        "trades": 14,
        "volume_base_raw": "1904773188220000000000",
        "volume_quote_raw": "412330119842"
      }
    ],
    "quote_token": {
      "address": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
      "decimals": 6,
      "symbol": "USDG"
    },
    "tf": "1h"
  },
  "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/candles/:book", { method: "GET" });
console.log(await res.json()); // costs $0.005 in USDC on Base

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