Dad Joke
The Dad Joke API delivers exactly one dad joke per call. Each joke comes with a groan factor (1-10) and a delivery note advising whether to pause or commit flatly. Filter by category if you must. The dad jokes themselves are curated, not generated — every joke has been told to a real teenager, who rolled their eyes.
Try It — No Seriously
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
category |
string |
Optional | any |
Filter to a category. Default is any. |
Examples
curl "https://api.stupidapis.com/dad-joke/tell?category=tech"
import requests
response = requests.get(
"https://api.stupidapis.com/dad-joke/tell",
params={"category": "tech"}
)
print(response.json())
const response = await fetch( "https://api.stupidapis.com/dad-joke/tell?category=tech" ); const data = await response.json(); console.log(data);
Response Schema
| Field | Type | Description |
|---|---|---|
setup conditional |
string |
Joke setup. Null for one-liners. |
punchline |
string |
The punchline |
category |
string |
The joke category |
groan_factor |
number |
Groan factor 1-10. Higher is worse, which is the point. |
recommended_audience |
string |
Who to tell this joke to |
delivery_note |
string |
How to deliver it |
Example Response
{
"setup": "Why do programmers prefer dark mode?",
"punchline": "Because light attracts bugs.",
"category": "tech",
"groan_factor": 8,
"recommended_audience": "a coworker trapped in your kitchen",
"delivery_note": "Pause before the punchline. Commit fully."
}
MCP Access
This API is available as an MCP tool for AI assistants. Connect your agent to:
POST https://api.stupidapis.com/dad-joke/mcp
POST https://api.stupidapis.com/mcp
Use Pipeworx to connect this MCP tool to Claude, ChatGPT, and other AI assistants with no code.