Entertainment · head-to-head
JokeAPI vs Random Useless Facts
JokeAPI (Sv443) serves programmable jokes across 7 categories — Misc, Programming, Dark, Pun, Spooky, Christmas, and a catch-all Any — with content filtering by flag (nsfw, religious, political, racist, sexist, explicit) so integrators can enforce a safe-mode. A single GET can return the response as JSON, XML, YAML, or plain text via a `format` query parameter, and jokes come as either single one-liners or two-part setup/delivery pairs. It's free, keyless, open source, and self-hosted by its maintainer with no paid tier.
Random Useless Facts is a free, keyless API that returns one trivia snippet at a time — random, "fact of the day", or lookup by ID — each with its own permalink and a source URL crediting the site it was pulled from (largely djtech.net). Responses come back as JSON by default, but requesting with an `Accept: text/plain` header returns the same fact formatted as plain Markdown-style text instead. There's no rate limiting, authentication, or paid tier — it's a small side project by its Polish maintainer.
| JokeAPI | Random Useless Facts | |
|---|---|---|
| Authentication | None | None |
| Pricing | free | free |
| Formats | JSON, XML, YAML, Text | JSON, Text |
| CORS | yes | yes |
| HTTPS | Yes | Yes |
JokeAPI supports 4 response formats, while Random Useless Facts offers fewer — pick JokeAPI for more integration flexibility.