{"uid":"cap_jkumWmSY9B6ysjtX1e0Il","slug":"rng-sociologic-ai-21e5ed82","name":"rng.sociologic.ai Random Float Generator","description":"Generate cryptographically secure random float(s) between 0 and 1","url":"https://rng.sociologic.ai/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","required":[],"properties":{"count":{"type":"integer","default":1,"maximum":100,"minimum":1,"description":"Number of values (1-100)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"count":10}}},"response":{"type":"float","count":10,"range":[0,1],"values":[0.7092326923739165,0.1771196946501732,0.08031499153003097,0.7129212645813823,0.8468005484901369,0.5513333638664335,0.30064025637693703,0.2536515493411571,0.9278894485905766,0.5947457393631339],"entropy":{"hex":["b5904613","2d57b760","148f85f6","b682020c","d8c7ebb6","8d242eef","4cf6c285","40ef4ed5","ed8a29b4","984141bc"],"raw":[3046131219,760723296,344950262,3061973516,3636980662,2367958767,1291240069,1089425109,3985254836,2554413500]}}},"exampleRequest":{"count":10},"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_par-vwlxPU9kHVFj-ao7m","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 one or more cryptographically secure random floating-point numbers between 0 and 1","exampleAgentPrompt":"Give me 10 cryptographically secure random floats between 0 and 1 for my Monte Carlo simulation.","exampleUseCases":null,"resultDescription":"Returns an array of one or more cryptographically secure random floating-point numbers, each in the range [0, 1). The count of values matches the requested count parameter (default 1, max 100).","failureModes":["count parameter out of range (below 1 or above 100) — likely returns 400 Bad Request","payment failure — 402 Payment Required if USDC payment not supplied","service unavailable — 503 if the upstream RNG service is down","invalid query parameter type — 400 if count is not an integer"],"whenToPreferThis":"Choose this endpoint when you need cryptographically secure (not just pseudo-random) floating-point values between 0 and 1, especially for security-sensitive applications, simulations, statistical sampling, or probabilistic algorithms. Prefer this over language-runtime random functions when auditability or unpredictability matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:34:07.200Z","isFirstParty":false}