80trust / 100
Random
by Tanod utilpeek in Onchain & crypto
x402 APIPassing, checked 2 h ago
utilpeek (Tanod) cryptographic randomness: integers, floats, bytes, UUID v4, dice rolls, picks and shuffles from a CSPRNG. Use when an agent needs cryptographic random integers, floats, bytes, dice rolls, or a random pick or shuffle of a list.
POST https://tanod.dev/v1/random
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 271 ms typical, 737 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://tanod.dev/v1/random' \
-H 'content-type: application/json' \
--data-raw '{"dice":"3d6","kind":"dice"}'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%2Ftanod.dev%2Fv1%2Frandom
const res = await pay("https://tanod.dev/v1/random", {
method: "POST",
headers: { "content-type": "application/json" },
body: "{\"dice\":\"3d6\",\"kind\":\"dice\"}",
});
console.log(await res.json());Example input
{
"dice": "3d6",
"kind": "dice"
}Example output
{
"dice": "3d6",
"kind": "dice",
"modifier": 0,
"rolls": [
5,
3,
4
],
"source": "secrets (operating-system CSPRNG)",
"total": 12
}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 | 265 ms | $0.001 |
| 6 h ago | Passed | 402 | 262 ms | $0.001 |
| 10 h ago | Passed | 402 | 271 ms | $0.001 |
| 14 h ago | Passed | 402 | 252 ms | $0.001 |
| 18 h ago | Passed | 402 | 269 ms | $0.001 |
| 21 h ago | Passed | 402 | 837 ms | $0.001 |
| 25 h ago | Passed | 402 | 737 ms | $0.001 |
| 28 h ago | Passed | 402 | 369 ms | $0.001 |
| 32 h ago | Passed | 402 | 269 ms | $0.001 |
| 36 h ago | Passed | 402 | 271 ms | $0.001 |
| 39 h ago | Passed | 402 | 268 ms | $0.001 |
| 43 h ago | Passed | 402 | 378 ms | $0.001 |
| 47 h ago | Passed | 402 | 478 ms | $0.001 |
| 2 days ago | Passed | 402 | 278 ms | $0.001 |
| 2 days ago | Passed | 402 | 261 ms | $0.001 |