Deepstate, the on-chain order-book exchange on Robinhood Chain
Deepstate, the on-chain order-book exchange on Robinhood Chain. Gas spent resting and cancelling orders for a market.
20000 (raw units)
price
140
calls / 30d
140
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": "20000",
"maxTimeoutSeconds": 3600
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"book": "NVDA-USDG"
},
"type": "http"
},
"output": {
"example": {
"book_id": "0xdf941c235503a5d2e67aee5dea00f2965f99421c0d034bd77f924c05c66bf399",
"book_label": "NVDA/USDG",
"book_slug": "NVDA-USDG",
"buckets": [
{
"bucket": "2026-09-02T14:00:00Z",
"cancels": 198,
"l1_fee_raw": "9186100000000000",
"l1_share_pct": 18.75,
"market_session": "regular",
"median_fee_raw": "118000000000000",
"rests": 219,
"total_fee_raw": "48973600000000000",
"tx_count": 402
}
],
"from": "2026-09-02T14:00:00Z",
"resolution": "1h",
"to": "2026-09-02T16:00:00Z",
"totals": {
"cancels": 385,
"l1_fee_raw": "19018200000000000",
"l1_share_pct": 18.99,
"median_fee_raw": "119700000000000",
"rests": 427,
"total_fee_raw": "100178400000000000",
"tx_count": 790
}
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"properties": {
"book": {
"type": "string"
},
"from": {
"type": "string"
},
"res": {
"enum": [
"1h",
"1d"
],
"type": "string"
},
"to": {
"type": "string"
}
},
"required": [
"book"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"description": "Endpoint-specific response payload",
"properties": {
"book_id": {
"type": "string"
},
"book_label": {
"type": "string"
},
"book_slug": {
"type": "string"
},
"buckets": {
"items": {
"properties": {
"bucket": {
"type": "string"
},
"cancels": {
"type": "integer"
},
"l1_fee_raw": {
"type": "string"
},
"l1_share_pct": {
"type": "number"
},
"market_session": {
"type": "string"
},
"median_fee_raw": {
"type": "string"
},
"rests": {
"type": "integer"
},
"total_fee_raw": {
"type": "string"
},
"tx_count": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"from": {
"type": "string"
},
"resolution": {
"type": "string"
},
"to": {
"type": "string"
},
"totals": {
"properties": {
"cancels": {
"type": "integer"
},
"l1_fee_raw": {
"type": "string"
},
"l1_share_pct": {
"type": "number"
},
"median_fee_raw": {
"type": "string"
},
"rests": {
"type": "integer"
},
"total_fee_raw": {
"type": "string"
},
"tx_count": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.onesource.io/deepstate/v1/analytics/cost-to-quote" # -> 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/analytics/cost-to-quote");
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/analytics/cost-to-quote")
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/62.json, and this resource appears in /discovery/resources and /discovery/search.