{"uid":"cap_6xGNXb2zl036QYKx2ugBy","slug":"numora-random-number-generation-api-1b52ba78","name":"Numora Random Number Generation API","description":"100 pure math computation endpoints for AI agents. Statistics, financial math, linear algebra, equation solving, calculus, number theory, sequence generation, and unit conversions. Zero external dependencies. x402 micropayments on Base.","url":"https://numormo.vercel.app/api/generate/random","method":"POST","headers":{},"bodySchema":{"type":"object","required":["n","type"],"properties":{"n":{"type":"integer"},"type":{"enum":["normal","uniform","poisson","exponential","binomial"],"type":"string"},"params":{"type":"object"}}},"responseSchema":{"type":"object","required":["success","result","computation"],"properties":{"result":{"type":"object","description":"Computation result varies by endpoint"},"success":{"type":"boolean","description":"Always true on success"},"computation":{"type":"string","description":"Human-readable description of what was computed"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oDJujy-vEOfDPj62fOVMX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates arrays of random numbers following a specified statistical distribution (normal, uniform, Poisson, exponential, or binomial)","exampleAgentPrompt":"Generate 500 random samples from a normal distribution using Numora — I need them for a Monte Carlo simulation I'm running.","exampleUseCases":[{"title":"Monte Carlo simulation seeding","prompt":"Give me 1000 random draws from a normal distribution so I can run a Monte Carlo simulation for my risk model."},{"title":"Poisson arrival rate sampling","prompt":"Generate 200 random numbers from a Poisson distribution with lambda 3.5 — I'm modeling random customer arrivals per hour."},{"title":"Uniform random sample generation","prompt":"I need 50 random numbers from a uniform distribution for a randomized experiment assignment — can you pull those from Numora?"}],"resultDescription":"A JSON object containing a 'result' object with the generated array of random numbers, a 'computation' string describing what was computed (e.g. 'Generated 100 normal random variates'), and a 'success' boolean set to true.","failureModes":["Missing required 'n' or 'type' fields returns a validation error","Invalid distribution type (not one of normal/uniform/poisson/exponential/binomial) causes rejection","Invalid or missing distribution parameters for parameterized distributions (e.g. binomial without p and trials) may cause errors","Non-integer or negative 'n' values will be rejected","Payment failure via x402 micropayment protocol results in 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need server-side statistical random number generation with no external dependencies, especially when working within an x402 micropayment workflow on Base. Ideal for agents that need to sample from named statistical distributions (normal, uniform, Poisson, exponential, binomial) without setting up a local math library or relying on a general-purpose compute environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:41:32.809Z","isFirstParty":false}