JokeAPI

Filterable jokes with a safe-mode switch and NSFW flags

😄 FunUNMONITOREDchecked 1h ago
AUTH NONECORS AGENT HTTPS COMMERCIAL ?

JokeAPI serves single-line or two-part jokes across categories, with query flags to blacklist nsfw/racist/sexist/etc. content or force a clean safe-mode. Every response carries the flags so you know exactly what you got. No key required.

HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
Uptime history
—%90 days
—%30 days
P50 · ms
P95 · ms
operationalpartialdownno data
Live response samplecaptured by our last successful check
GET https://v2.jokeapi.dev/joke/Any?type=single&safe-mode

{
  "error": false,
  "category": "Programming",
  "type": "single",
  "joke": "\"We messed up the keming again guys.\"",
  "flags": {
    "nsfw": false,
    "racist": false,
    "sexist": false,
    "explicit": false
  },
  "safe": true,
  "lang": "en"
}
Call itcurl · fetch · python
curl "https://v2.jokeapi.dev/joke/Any?type=single&safe-mode"
const res = await fetch("https://v2.jokeapi.dev/joke/Any?type=single&safe-mode");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://v2.jokeapi.dev/joke/Any?type=single&safe-mode")
print(res.json())
Endpoints · 6On scheduleFULL DOCS ↗
First rollup pending — GET /joke/Any?type=single&safe-mode has been probed
GET/joke/Any?type=single&safe-modePROBED

Filterable jokes with a safe-mode switch and NSFW flags

GET/jokes/random

Random item from the collection.

GET/joke

Single joke response.

GET/joke/1

Joke details by ID (example: 1).

GET/joke?limit=10

Single joke response.

GET/joke/search?q=test

Search by query parameters.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

JokeAPI: common questions

Is JokeAPI free to use?

Yes — JokeAPI is a free fun API. Free tier: Free — no key. Whether the free tier allows commercial use is unclear — check the provider docs.

Does JokeAPI need an API key?

No — JokeAPI needs no API key or signup. You can call it straight away; rate limits still apply (120 requests/minute per IP (per jokeapi.dev docs)).

Can I call JokeAPI from the browser?

Yes — JokeAPI returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is JokeAPI up right now?

As of our last scheduled check, JokeAPI is unmonitored. We re-probe it every sweep — the status badge and uptime chart above always show the latest.