{"uid":"cap_g3lm1LClzKlL4HfcufPUF","slug":"quartermaster-surewhynot-app-random-integer-generator-51ea9947","name":"quartermaster.surewhynot.app Random Integer Generator","description":"Cryptographically-secure random integers in a chosen range (CSPRNG, rejection-sampled to avoid modulo bias) — real entropy an LLM cannot produce itself.","url":"https://quartermaster.surewhynot.app/v1/random","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","default":100,"description":"Upper bound, inclusive"},"min":{"type":"integer","default":0,"description":"Lower bound, inclusive"},"count":{"type":"integer","default":1,"description":"How many, 1-1000"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_srVW3cbH3D1-duS3DX_rd","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":"Returns one or more cryptographically-secure random integers within a caller-specified inclusive range, rejection-sampled to eliminate modulo bias.","exampleAgentPrompt":"Give me 5 cryptographically secure random integers between 1 and 50 — I need real entropy, not something you'd generate yourself.","exampleUseCases":null,"resultDescription":"Returns one or more random integers drawn from a CSPRNG, each within the specified inclusive [min, max] range. The count parameter controls how many values are returned (1–1000). Values are rejection-sampled to guarantee uniform distribution with no modulo bias.","failureModes":["min greater than max — returns a 400 error","count outside 1–1000 range — returns a 400 validation error","non-integer values for min/max/count — returns a 400 error","payment not completed — returns a 402 challenge before serving the result"],"whenToPreferThis":"Use this endpoint when you need genuinely unpredictable integers — e.g., for cryptographic nonces, fair lotteries, unbiased simulations, or any context where an LLM's pseudo-random output is unacceptable. Prefer this over the random-choice sibling when your pool is a numeric range rather than a discrete list.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:32:47.999Z","isFirstParty":false}