AP
Market Data · x402 · high demand
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.
by api.onesource.io · discovered, not yet claimed by its owner · updated 2026-10-08
30d calls202
30d payers202
MethodGET
Outputjson
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Deepstate, the on-chain order-book exchange on Robinhood Chain. Gas spent resting and cancelling orders for a market.
Tags: bazaar
Call contract
- Method
- GET
- Input
- query parameters
- Output
- json
- Last paid call
- 2026-10-08
Input example from Bazaar metadata
{
"book": "NVDA-USDG"
}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
}
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/25715.jsonfor the price and payment options. - Pay. Call
GET https://api.onesource.io/deepstate/v1/analytics/cost-to-quote. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.02 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 202 calls · 202 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.02 | 0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea | 3600s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x52E29e0d2Aa49bfBfC548C0A9F2196F4aa51f3ea",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"amountUsd": 0.02,
"maxTimeoutSeconds": 3600
}
]Schemas
Output schema (JSON Schema)
{
"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"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"book_id": "string",
"book_label": "string",
"book_slug": "string",
"buckets": [
{
"bucket": "string",
"cancels": 0,
"l1_fee_raw": "string",
"l1_share_pct": 0,
"market_session": "string",
"median_fee_raw": "string",
"rests": 0,
"total_fee_raw": "string",
"tx_count": 0
}
],
"from": "string",
"resolution": "string",
"to": "string",
"totals": {
"cancels": 0,
"l1_fee_raw": "string",
"l1_share_pct": 0,
"median_fee_raw": "string",
"rests": 0,
"total_fee_raw": "string",
"tx_count": 0
}
},
"type": "string"
}Examples
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 paidJavaScript
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 headerDetails
- Provider
- api.onesource.io
- Endpoint
- https://api.onesource.io/deepstate/v1/analytics/cost-to-quote
- Machine-readable
/resources/25715.json