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
https://jokeapi.dev/

Related APIs

Discover similar APIs that might interest you

APIfree

Cat Facts API

Cat Facts API provides random and engagi...

Category
Fun & Entertainment
Endpoints
1
catsfun
APIopen source

Studio Ghibli API

Resources from Studio Ghibli films

Category
Fun & Entertainment
Endpoints
1
animationmovies
APIopen source

SHOUTCLOUD API

SHOUTCLOUD API is a humorous and fun pub...

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