Jokes API

JokeAPI is a free and flexible humor API that lets developers fetch jokes in various categories such as programming, general, pun, spooky, and dark humor. It supports custom filters like blacklisting certain topics, choosing single or two-part jokes, and setting language preferences. No authentication is required for free use, and the API is great for entertainment apps, bots, and community platforms.

1

Endpoints

0

Views

Jul 20, 2025

Last Checked

NaN

Rate Limit

API Endpoints

Returns a random joke from all categories

Full URL

https://v2.jokeapi.dev/joke/Any

Code Examples

curl -X GET 'https://v2.jokeapi.dev/joke/Any'

Parameters

{
  "safe-mode": true
}

Example Response

{
  "type": "twopart",
  "setup": "Why do programmers prefer dark mode?",
  "category": "Programming",
  "delivery": "Because light attracts bugs!"
}

Version

v2
Tags
entertainmenthumor
Technical Details
Authentication
None
Response Formats
JSON
Availability
global
Status
Published
Rate Limits

None specified

Supported Languages
English
Use Cases
chatbots
entertainment apps

Related APIs

Discover similar APIs that might interest you

APIfree

xkcd API

The xkcd API offers a straightforward me...

Category
Fun & Entertainment
Endpoints
1
comicsentertainmentxkcd
APIfree

TVMaze API

TVMaze API delivers up-to-date televisio...

Category
Fun & Entertainment
Endpoints
1
entertainmentmediatv shows
APIopen source

Studio Ghibli API

Resources from Studio Ghibli films

Category
Fun & Entertainment
Endpoints
1
animationmovies
JokeAPI – Free Programmable Joke & Humor API for Developers | Free API Hub