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
NoneResponse Formats
JSONAvailability
globalStatus
Published Rate Limits
None specified
Supported Languages
English
Use Cases
chatbots
entertainment apps
Related APIs
Discover similar APIs that might interest you