About

icanhazdadjoke.com was written and is maintained by Brett Langdon.

Contact

For any questions, comments, or concerns about icanhazdadjoke.com you can contact [email protected].

Slack integration

By adding the icanhazdadjoke Slack app to your team, you will be adding a /dadjoke slash command which will provide you with a random joke from icanhazdadjoke.com.

This app will only add a slash command to your team. We do not store any information about the Slack teams that integrate with this app, and we do not track or store any messages from that Slack team. We only respond to the request for /dadjoke.

Logo

By Original by User:East718, SVG conversion: This vector image was created with Inkscape by Howcheng, and then manually edited by Giro720. (Own work) CC BY-SA 3.0, via Wikimedia Commons.

API

icanhazdadjoke.com can be used as an API to fetch a random or even specific dad joke.

Simply make the same requests as you would in the browser, but with an appropriate Accept header.

For example, fetching a random joke in JSON format:

$ curl -H "Accept: application/json" https://icanhazdadjoke.com/
{
  "id": "ea2TnGBXnrc",
  "joke": "They laughed when I said I wanted to be a comedian \u2013 they\u2019re not laughing now.",
  "status": 200
}

Fetching just the text of a random joke:

$ curl -H "Accept: text/plain" https://icanhazdadjoke.com/
I had a dream that I was a muffler last night. I woke up exhausted!

The permalink URLs for jokes /j/<id> will also work as expected if provided with an appropriate Accept header.

For example, fetching a specific joke as JSON:

$curl -H "Accept: application/json" https://icanhazdadjoke.com/j/NmbFtH69hFd
{
  "id": "NmbFtH69hFd",
  "joke": "Our wedding was so beautiful, even the cake was in tiers.",
  "status": 200
}