Fun and games

JokeAPI

by jokeapi.dev

Fun and games Added on October 31st, 2026 Checked and working on November 8th, 2026
Visit jokeapi.dev →

What it does

JokeAPI serves jokes in several categories, such as programming, puns and miscellaneous, in single-line or setup-and-punchline form and in several languages. Filters let you exclude unsafe topics (safe mode), search jokes and ask for several at once. Responses are JSON, XML, YAML or plain text. Free, no key needed, with a limit of about 120 requests per minute.
  • API
  • HTTP-GET
  • JSON
  • REST
  • XML

At a glance

API key
Not needed · More APIs with no key
Pricing
Free, no key needed, with a limit of about 120 requests per minute.
From the browser
Yes (CORS)
Formats
JSON, XML
Interface
REST, HTTP-GET
Provider
jokeapi.dev
Last checked
Working on November 8th, 2026

More information: https://jokeapi.dev/

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

jokeapi.dev
JokeAPI

Example request

curl

curl 'https://v2.jokeapi.dev/joke/Any?safe-mode'

JavaScript

const response = await fetch("https://v2.jokeapi.dev/joke/Any?safe-mode");
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://v2.jokeapi.dev/joke/Any?safe-mode",
    timeout=30,
)
print(response.json())

The JavaScript works in a web page as well as in Node.js 18 or newer.

Did it work for you?

Tell us what you found when you tried JokeAPI.