Skip to content

JokeAPI

Jokes by category with blacklist flags and a safe mode.
Status
Working
API key
Not needed
Browser calls
Runs in the browser
Latency
695 ms

Build snapshot, not live. One verifier run on , from the machine that built this site. How we check

Example request

GEThttps://v2.jokeapi.dev/joke/Programming?safe-mode

Sent from your browser straight to v2.jokeapi.dev. No proxy: this site never sees the request or the answer.

Copy the request

Shell
curl -s 'https://v2.jokeapi.dev/joke/Programming?safe-mode'

Response stored by the verifier

This is what v2.jokeapi.dev answered when the verifier sent the request above on : HTTP 200, application/json. Arrays are cut to two items and long strings are shortened. It comes from the build snapshot.

application/json · stored
{
  "error": false,
  "category": "Programming",
  "type": "single",
  "joke": "Have a great weekend!\nI hope your code behaves the same on Monday as it did on Friday.",
  "flags": {
    "nsfw": false,
    "religious": false,
    "political": false,
    "racist": false,
    "sexist": false,
    "explicit": false
  },
  "id": 44,
  "safe": true,
  "lang": "en"
}

Availability

Up 1 of 1 day checked · 30-day window

What counts as up for this API: an answer within five seconds, a 2xx status, and the JSON body must contain the field "category".

Last check: — passed, HTTP 200 in 695 ms.

The check runs from our infrastructure, not from where you are. If you need certainty, send the request yourself above. How the verifier works.

Questions

Does the JokeAPI need an API key?

No. The sample request on this page was answered without a key, token or account.

Can I call the JokeAPI from the browser?

Yes. v2.jokeapi.dev answered our verifier with an Access-Control-Allow-Origin header on Oct 3, 2026, so a fetch call from a web page can read the response.

Is the JokeAPI working?

At the check on Oct 3, 2026 it returned HTTP 200 with the expected data in 695 ms. The status at the top of this page shows the most recent result we have.