Entertainment · head-to-head
JokeAPI vs PotterDB
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.
PotterDB is a free, keyless database of the Harry Potter universe covering books, chapters, characters, movies, potions, and spells, reachable through both a JSON:API-style REST interface (api.potterdb.com) and a GraphQL endpoint. Every resource supports filtering, sorting, sparse fieldsets, and pagination in the JSON:API convention, and the REST side publishes a live OpenAPI schema. It's a community-run, open-source project welcoming Hacktoberfest contributions rather than a commercial offering.
| JokeAPI | PotterDB | |
|---|---|---|
| Authentication | None | None |
| Pricing | free | free |
| Formats | JSON, XML, YAML, Text | JSON, GraphQL |
| CORS | yes | yes |
| HTTPS | Yes | Yes |
JokeAPI supports 4 response formats, while PotterDB offers fewer — pick JokeAPI for more integration flexibility.