81trust / 100

Market Stats

by dt0ur.online in Markets & finance

x402 APIPassing, checked 2 h ago

24-hour ticker stats for a Coinbase spot pair: last price, open, high, low, % change, base and USD volume, 30-day volume, and current bid/ask.

POST https://dt0ur.online/api/market/stats

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
220 ms typical, 220 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 POST "https://dt0ur.online/api/market/stats" \
  -H "content-type: application/json" \
  -d '{"product":"SOL-USD"}'
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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fdt0ur.online%2Fapi%2Fmarket%2Fstats
const res = await pay("https://dt0ur.online/api/market/stats", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"product":"SOL-USD"}),
});
console.log(await res.json());

Example input

{
  "product": "SOL-USD"
}

Example output

{
  "ask": 117.94,
  "bid": 117.93,
  "change_24h_pct": 0.153,
  "high_24h": 119.99,
  "last": 117.92,
  "low_24h": 115.54,
  "open_24h": 117.74,
  "product": "SOL-USD",
  "source": "coinbase",
  "time": "2026-09-22T18:08:45.667358969Z",
  "volume_24h": 1104012.24,
  "volume_24h_quote": 130185123,
  "volume_30d": 33400944.89
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402273 ms$0.01
5 h agoPassed402220 ms$0.01
10 h agoPassed402208 ms$0.01