tools.rptr.dev/v1/random
Generate 1..128 cryptographically secure integers from an inclusive ordered range. Price: $0.002 USDC per call.
POST
https://tools.rptr.dev/v1/randomUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://tools.rptr.dev/v1/random", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"max":10,"min":1,"count":1}),
});
console.log(await res.json());Example input
{
"max": 10,
"min": 1,
"count": 1
}More from rptr utility API
- tools.rptr.dev/v1/json-to-csvConvert 1..1000 flat records and at most 64 columns to formula-mitigated CSV. Price: $0.005 USDC per call.0.005
- tools.rptr.dev/v1/qrRender 1..1024 UTF-8 bytes as a base64 PNG QR code without fetching URLs. Price: $0.005 USDC per call.0.005
- tools.rptr.dev/v1/shuffleCryptographically shuffle 1..256 finite JSON scalar values. Price: $0.003 USDC per call.0.003
- tools.rptr.dev/v1/timezoneConvert an explicit-offset ISO timestamp to an IANA timezone, including historical offsets. Price: $0.002 USDC per call.0.002
