89trust / 100

Standard Candles

by api.onesource.io in Onchain & crypto

x402 APIPassing, checked 2 h ago

The Standard Reserve (TSR), an on-chain reserve protocol on Robinhood Chain. OHLC price candles for the STANDARD/ETH pool, priced in ETH per STANDARD.

GET https://api.onesource.io/standard/v1/candles

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
117 ms typical, 117 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/standard/v1/candles?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%2Fstandard%2Fv1%2Fcandles
const res = await pay("https://api.onesource.io/standard/v1/candles?tf=1h");
console.log(await res.json());

Example input

{
  "tf": "1h"
}

Example output

{
  "as_of_block": 63512044,
  "base": {
    "decimals": 18,
    "symbol": "STANDARD"
  },
  "basis": "measured",
  "candles": [
    {
      "close": "0.000010001211558306",
      "high": "0.000010410486671548",
      "low": "0.000009841093056134",
      "open": "0.000010264843953860",
      "swap_count": 16,
      "time": "2026-09-14T14:00:00Z",
      "volume_eth_raw": "78638969530522032",
      "volume_std_raw": "7661000000000000000000"
    }
  ],
  "chain_id": 4663,
  "network": "robinhood",
  "pool_id": "0xc73f3cd3fb68288e63f008e08ef69caa0437224e420963c6aeb4526178e87ad9",
  "quote": {
    "decimals": 18,
    "symbol": "ETH"
  },
  "tf": "1h",
  "unit": "eth_per_std"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402117 ms$0.02