{"uid":"cap_fhtMIVjvrug5Ra0-Fg_1P","slug":"rng-sociologic-ai-191ed268","name":"rng.sociologic.ai Random Integer Generator","description":"Generate a cryptographically secure random integer within a range","url":"https://rng.sociologic.ai/random/int","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","required":[],"properties":{"max":{"type":"integer","default":100,"description":"Maximum value (inclusive)"},"min":{"type":"integer","default":0,"description":"Minimum value (inclusive)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"max":100,"min":1}}},"response":{"type":"integer","range":[1,100],"value":68,"entropy":{"hex":"0e62cacb","raw":241355467}}},"exampleRequest":{"max":100,"min":1},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WcUVYhZUaEAyxfOwk_lF8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a cryptographically secure random integer within a user-specified inclusive range [min, max]","exampleAgentPrompt":"Give me a cryptographically secure random integer between 1 and 500.","exampleUseCases":null,"resultDescription":"A single cryptographically secure random integer that falls within the specified inclusive range [min, max], returned as a JSON response. The integer is uniformly distributed across the range.","failureModes":["Invalid min/max values (e.g. min > max) may return a 400 error","Non-integer query parameter values cause validation errors","Missing payment header or insufficient USDC balance returns 402 Payment Required","Network timeout returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a cryptographically secure random integer (not just pseudo-random) within a custom inclusive range, suitable for security-sensitive applications, lotteries, games, or random sampling tasks. Prefer over standard pseudo-random number generation when unpredictability and security guarantees matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:41:56.869Z","isFirstParty":false}