{"uid":"cap_sqRqrLTz7ArzaxwNqSuBf","slug":"agent-dev-tools-secure-random-number-generator-a5c8be1f","name":"Agent Dev Tools – Secure Random Number Generator","description":"Fast deterministic developer utilities for AI agents, paid per call in USDC via x402 (no account, no API key): UUID v4/v7, secure random numbers, dice, MD5/SHA/HMAC hashing, base64/hex/URL/HTML encoding, JSON validation/formatting, QR code SVG, password generation, JWT decoding and text statistics. Pure computation, nothing stored. Errors are never charged.","url":"https://agent-dev-tools.frcompanycheck.workers.dev/v1/random?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"max":{"type":"integer","example":100,"description":"default 100"},"min":{"type":"integer","example":1,"description":"default 0"},"bytes":{"type":"integer","description":"also return N random bytes as hex (0-256)"},"count":{"type":"integer","example":5,"description":"1-1000 (default 1)"},"unique":{"type":"boolean","description":"no repeats"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"hex":null,"max":100,"min":1,"numbers":[17,88,3,42,65]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BqhC269xtZEJB3RHvMZg5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates one or more cryptographically secure random integers within a specified range, optionally with unique values and random byte output, paid per call via x402/USDC","exampleAgentPrompt":"Give me 5 unique random numbers between 1 and 100, and also include 16 random bytes as hex.","exampleUseCases":[{"title":"Lottery ticket number picker","prompt":"Pick 6 unique random numbers between 1 and 49 for a lottery ticket — make sure none repeat."},{"title":"Game dice roll simulation","prompt":"Roll 10 random numbers between 1 and 6 for a board game simulation, repeats are fine."},{"title":"Cryptographic nonce generation","prompt":"Generate a single random number between 0 and 2147483647 and give me 32 random bytes as hex for use as a cryptographic nonce."}],"resultDescription":"Returns a JSON object with an array of random integers ('numbers') within the requested min/max bounds, the min and max values used, and optionally a hex string of random bytes. Example: {numbers:[17,88,3,42,65], min:1, max:100, hex:null}","failureModes":["count out of range (must be 1-1000) — request rejected, not charged","bytes out of range (must be 0-256) — request rejected, not charged","min >= max — invalid range error, not charged","unique=true with count exceeding range size — impossible uniqueness error, not charged","payment failure via x402 — 402 response, not charged"],"whenToPreferThis":"Choose this endpoint when you need cryptographically secure random integers on demand with no API key or account setup, especially in agent workflows where frictionless per-call micropayment via x402/USDC is acceptable. Prefer it over free alternatives when auditability of payment-per-call is important, or when you need combined random integers plus random bytes in a single call. Not suited for high-volume bulk randomness where per-call cost adds up significantly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T06:44:52.766Z","isFirstParty":false,"canonicalSlug":"agent-dev-tools-secure-random-number-generator-a5c8be1f"}