#random
2 APIs with this tag
Useless Facts API
Random and daily trivia facts via the open Useless Facts API — no key. The random endpoint returns a surprising, mostly-useless fact; the today endpoint returns the fact of the day; and both are available in English or German, each fact carrying its source attribution, source URL and a permalink. Real curated facts, with the daily fact cached for speed — no key. 3 endpoints. Ideal for daily-fact widgets, newsletters, chatbots, loading screens and onboarding delight.
api.oanor.com/uselessfacts-api
Dice API
A fast, fully-local dice toolkit for games and simulations: roll dice notation (NdM with plus and minus modifiers, multiple dice terms like 1d8+1d6+2, and keep-highest or keep-lowest for advantage and disadvantage such as 2d20kh1), parse and validate a notation, and compute the deterministic minimum, maximum and mean of a roll. Rolls use a cryptographically secure random source. Every endpoint accepts input via the query string or the request body. Pure server-side compute, no third-party upstream, so responses are instant and always available. Ideal for tabletop and RPG tools, Discord and chat bots, virtual tabletops and game backends.
api.oanor.com/dice-api