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.
5000 (raw units)
price
329
calls / 30d
195
unique payers
2026-09-18
updated
Provider
api.onesource.io · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"maxTimeoutSeconds": 3600
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"pathParams": {
"book": "NVDA-USDG"
},
"queryParams": {
"tf": "1h"
},
"type": "http"
},
"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"
}
},
"routeTemplate": "/deepstate/v1/candles/:book",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"pathParams": {
"properties": {
"book": {
"type": "string"
}
},
"required": [
"book"
],
"type": "object"
},
"queryParams": {
"properties": {
"from": {
"type": "string"
},
"tf": {
"enum": [
"1m",
"5m",
"15m",
"30m",
"1h",
"4h",
"1d",
"1w"
],
"type": "string"
},
"to": {
"type": "string"
}
},
"required": [
"tf"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"description": "Endpoint-specific response payload",
"properties": {
"base_token": {
"properties": {
"address": {
"type": "string"
},
"decimals": {
"type": "integer"
},
"symbol": {
"type": "string"
}
},
"type": "object"
},
"book_id": {
"type": "string"
},
"book_label": {
"type": "string"
},
"book_slug": {
"type": "string"
},
"candles": {
"items": {
"properties": {
"close_raw": {
"type": "string"
},
"high_raw": {
"type": "string"
},
"low_raw": {
"type": "string"
},
"market_session": {
"type": "string"
},
"open_bucket": {
"type": "boolean"
},
"open_raw": {
"type": "string"
},
"t": {
"type": "string"
},
"trades": {
"type": "integer"
},
"volume_base_raw": {
"type": "string"
},
"volume_quote_raw": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"quote_token": {
"properties": {
"address": {
"type": "string"
},
"decimals": {
"type": "integer"
},
"symbol": {
"type": "string"
}
},
"type": "object"
},
"tf": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.onesource.io/deepstate/v1/candles/:book" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.onesource.io/deepstate/v1/candles/:book");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.onesource.io/deepstate/v1/candles/:book")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/65.json, and this resource appears in /discovery/resources and /discovery/search.