Official Joke API
API for random and programming jokes
- Our call
- HTTP 200
- Latency
- 311 ms
- From a browser
- Allowed
- Key
- No key
- Docs link
- Answered
https://official-joke-api.appspot.com/random_jokePress Run: the request leaves from your browser, and you see what it gets back.
const res = await fetch("https://official-joke-api.appspot.com/random_joke");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);curl -sS 'https://official-joke-api.appspot.com/random_joke'import requests
r = requests.get("https://official-joke-api.appspot.com/random_joke", timeout=10)
r.raise_for_status()
print(r.json())Official Joke docsMore Entertainment APIs
Come back to see anything that changed: answers, keys, browser access, rate limits.
Our test call Measured by us
- Request
GET https://official-joke-api.appspot.com/random_joke- Result
- HTTP 200 in 311 ms (315 ms with the body)
- From a browser
- Browser OK Access-Control-Allow-Origin: *
- HTTPS
- Yes
- Response
- application/json, 105 bytes, a JSON object
- Fields
typesetuppunchlineid- Rate-limit headers
- none sent (that doesn't mean unlimited)
Access-Control-Allow-Origin: * to us, so browser code can call it.Change log Measured by us
No changes seen since we started tracking on 2026-11-06. Each check compares the answer, the key requirement, the browser (CORS) header and the rate limit with the run before.
What the list says From the public-apis list
- Category
- Entertainment
- Auth
- No key
- CORS
- Not recorded Our call disagrees
- Docs link
- official-joke-api.appspot.com answered 200 in 10468 ms on 2026-11-06 Measured
Official Joke is listed in Entertainment. Official Joke needs no key: you can call it without signing up. The list doesn't record whether it allows browser calls (CORS), so test that before building a browser-only app on it.
The list has 17 Entertainment APIs: 15 need no key and 2 need an API key, and 6 of them are marked as allowing browser calls. 8 others have the same setup, such as chucknorris.io, elonmu.sh and Imgflip.
Official Joke and other Entertainment APIs
| Fact | Official Joke (this page) | chucknorris.io | JokeAPI | Random Dad Joke | Random Useless Facts |
|---|---|---|---|---|---|
| Key needed From the public-apis list | No key | No key | No key | No key | No key |
| CORS, as listed From the public-apis list | Not recorded | Not recorded | Yes | Not recorded | Not recorded |
| Our test call Measured by us | 311 ms | 695 ms | 356 ms | 436 ms | 1,184 ms |
| Browser call Measured by us | Allowed | Allowed | Allowed | Allowed | Allowed |
| Docs link Measured by us | Answered | Answered | Answered | Answered | Answered |
Questions
Does Official Joke need an API key?
Official Joke needs no key: you can call it without signing up.
Can I call Official Joke from JavaScript in the browser?
Yes. When we called it it sent Access-Control-Allow-Origin: *, so a web page can call it directly.
Where are the Official Joke docs?
At https://official-joke-api.appspot.com/. When we checked, the link answered 200 in 10468 ms.
What are some alternatives to Official Joke?
Other Entertainment APIs in the list include chucknorris.io, elonmu.sh, Imgflip and Keanu Reeves Whoa.
Listing from public-apis (github.com/marcelscruz/public-apis), MIT. Measurements are ours: how we check.