90trust / 100
Deepstate Candles
by api.onesource.io in Onchain & crypto
x402 APIPassing, checked 2 h ago
Deepstate, the on-chain order-book exchange on Robinhood Chain. OHLCV candles for a market.
GET https://api.onesource.io/deepstate/v1/candles/:book
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 152 ms typical, 152 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.onesource.io/deepstate/v1/candles/:book?tf=1h"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.onesource.io%2Fdeepstate%2Fv1%2Fcandles%2F%3Abook
const res = await pay("https://api.onesource.io/deepstate/v1/candles/:book?tf=1h");
console.log(await res.json());Example input
{
"tf": "1h"
}Example output
{
"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"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 152 ms | $0.005 |