{"uid":"cap_vDo4TlulZd4Nfdr-Np7KI","slug":"vextorium-aleatorio-cryptographically-secure-randomness-api-88fd5709","name":"Vextorium Aleatorio — Cryptographically Secure Randomness API","description":"Randomness for agents: flip coins, roll dice, draw numbers in a range, pick from a list or shuffle it. Cryptographically secure by default; with verificable=true it is derived from the latest finalized Ethereum block hash and your seed, so anyone can verify the result.","url":"https://api.vextorium.com/aleatorio-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tipo":{"enum":["moneda","dado","numero","elegir","barajar"],"type":"string"},"maximo":{"type":"integer","description":"Range max, or dice faces (default 6)"},"minimo":{"type":"integer"},"semilla":{"type":"string"},"cantidad":{"type":"integer"},"opciones":{"type":"array"},"verificable":{"type":"boolean"}}},"responseSchema":{"type":"json","example":{"tipo":"dado","fecha":"2026-10-02T20:05:01+00:00","prueba":null,"resultado":[2,6],"verificable":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JaFE4PUGFxPto7lBlpSk6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates verifiable random results (coin flip, dice roll, number in range, item selection, or list shuffle) optionally derived from the latest Ethereum block hash for on-chain verifiability.","exampleAgentPrompt":"Roll 2 six-sided dice for me and make the result verifiable using the Ethereum block hash so anyone can check it.","exampleUseCases":[{"title":"Verifiable on-chain lottery draw","prompt":"Pick 5 random numbers between 1 and 50 and make it verifiable using the Ethereum block hash so participants can independently confirm the draw was fair."},{"title":"Random item selector for giveaway","prompt":"I have a list of winners to choose from — can you randomly pick 3 names from this list: [Alice, Bob, Carol, Dave, Eve]? Make it cryptographically secure."},{"title":"Dice roll for tabletop game","prompt":"Roll 4 twenty-sided dice for my D&D session — I just need regular random results, no need for blockchain verification."}],"resultDescription":"Returns a JSON object containing: the randomness type used (tipo), an ISO 8601 timestamp (fecha), the result as an array of numbers or values (resultado), a boolean indicating if the result is verifiable (verificable), and a proof field (prueba) that is populated when verifiable=true, allowing anyone to re-derive the result from the Ethereum block hash and seed.","failureModes":["Invalid 'tipo' enum value — must be one of moneda, dado, numero, elegir, barajar","Missing required 'tipo' field in body","'opciones' array empty or missing when tipo=elegir or tipo=barajar","'maximo' less than 'minimo' when tipo=numero","Payment failure or insufficient USDC balance for x402 protocol","Ethereum block hash unavailable when verificable=true is requested"],"whenToPreferThis":"Choose this endpoint when you need cryptographically secure randomness with optional on-chain verifiability via Ethereum block hash — ideal for trustless lotteries, provably fair games, or any scenario where third parties need to independently verify the random outcome. Prefer it over local PRNG when auditability matters, or when you need structured randomness types (coin, dice, range, pick, shuffle) without building your own logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:44:10.423Z","isFirstParty":false,"canonicalSlug":"vextorium-aleatorio-cryptographically-secure-randomness-api-88fd5709"}