EntertainmentPublic API
JokeAPI
Programmable jokes in multiple languages with filtering options
Before you call it
What this listing means in practice
No key to obtain
You can make a request immediately. Be considerate with volume anyway: open APIs often publish informal rate limits, and some will block clients that hammer them.
HTTPS supported
Requests can be made over TLS. Use HTTPS endpoints in production so browsers do not block the call as mixed content.
CORS enabled
The provider sends browser-friendly CORS headers, so you can call the API from client-side JavaScript without a proxy — subject to any key restrictions.
Start with the provider's own documentation. It is the only place where endpoints, rate limits, pricing and terms are authoritative.
https://v2.jokeapi.dev/No API calls are proxied by this directory. Links go directly to the provider.
API listings describe access requirements, not endorsements. Review each provider's privacy policy, terms and rate limits.
Overview
About JokeAPI
JokeAPI needs no API key. That puts it among 17 of the 19 entertainment APIs we list that you can try without signing up.
It also supports HTTPS and CORS, so you can call it straight from browser JavaScript with no key and no proxy. Only 8 entertainment APIs tick all three boxes.
Documentation is on v2.jokeapi.dev.
Entertainment APIs in general
Entertainment APIs cover jokes, quotes, trivia, TV schedules and pop culture data. Most are simple, free and good for side projects.
What people build with them
- Chat bots and Slack commands
- Daily quote or joke widgets
- Trivia and quiz games
Watch out for
User-submitted joke and quote APIs can return offensive content. Use the safe-mode filter if one exists.
First request
Calling JokeAPI
Works in the browser or in Node.
JavaScript// Replace the path with an endpoint from the JokeAPI docs
const res = await fetch("https://v2.jokeapi.dev/<endpoint>");
if (!res.ok) throw new Error(`JokeAPI returned ${res.status}`);
const data = await res.json();Compare
JokeAPI vs similar APIs
| API | Auth | HTTPS | CORS |
|---|---|---|---|
| JokeAPI | No key | Yes | Yes |
| Yes or No Oracle | No key | Yes | Yes |
| PotterDB | No key | Yes | Yes |
| justmeme.wtf | No key | Yes | Yes |
| Fun Fact | No key | Yes | Yes |
| CosmyDay Astrology | No key | Yes | Yes |
FAQ
Common questions about JokeAPI
Does JokeAPI need an API key?
No. JokeAPI is listed with no authentication, so you can send a request without registering.
Can I call JokeAPI from the browser?
CORS is listed as enabled, so frontend JavaScript can call it directly.
Is JokeAPI free?
No key is required, which usually means free access, but providers can still limit volume. Check JokeAPI's docs for rate limits and fair-use terms.
What are some alternatives to JokeAPI?
Other entertainment APIs in the directory include Yes or No Oracle (no key), PotterDB (no key), justmeme.wtf (no key). The comparison table on this page shows how they differ on authentication, HTTPS and CORS.
Same category
More Entertainment APIs
Next step
Keep looking until the constraints fit.
Filter the directory by authentication, HTTPS and CORS, or start from a category and work backwards.