Skip to content

icanhazdadjoke API

4 endpointsEntertainment & BooksGlobalsocial:read4 real examples

Returns dad jokes: a random one, one by id, search results by term and a paged list of all jokes.

View as Markdown
GET/icanhazdadjoke/randomA random dad joke.
GET/icanhazdadjoke/jokeOne dad joke by its id.
GET/icanhazdadjoke/searchDad jokes containing a term, 20 per page.
GET/icanhazdadjoke/listEvery dad joke, newest page first in the site's order, paged.

random

GET/v1/icanhazdadjoke/random

A random dad joke.

scope social:read1 unit

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

3 fields
idstring
textstring
urlstring
curl "https://api.hoshime.com/v1/icanhazdadjoke/random" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "id": "MeaFYLBAQuc",
    "text": "Have you heard the rumor going around about butter? Never mind, I shouldn't spread it.",
    "url": "https://icanhazdadjoke.com/j/MeaFYLBAQuc"
  },
  "meta": {
    "cached": false,
    "endpoint": "random",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "icanhazdadjoke",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

joke

GET/v1/icanhazdadjoke/joke

One dad joke by its id.

scope social:read1 unitcached 24 h

Parameters

id
string
required
Joke id, such as R7UfaahVfFd.
e.g. R7UfaahVfFd
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

3 fields
idstring
textstring
urlstring
curl "https://api.hoshime.com/v1/icanhazdadjoke/joke?id=R7UfaahVfFd" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "id": "R7UfaahVfFd",
    "text": "My dog used to chase people on a bike a lot. It got so bad I had to take his bike away.",
    "url": "https://icanhazdadjoke.com/j/R7UfaahVfFd"
  },
  "meta": {
    "cached": false,
    "endpoint": "joke",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "icanhazdadjoke",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

list

GET/v1/icanhazdadjoke/list

Every dad joke, newest page first in the site's order, paged.

scope social:read1 unitcached 1 hpaginated

Parameters

limit
integer
Items per page, 1 to 30.
default 20
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

3 fields
idstring
textstring
urlstring
curl "https://api.hoshime.com/v1/icanhazdadjoke/list" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "id": "0189hNRf2g",
      "text": "I'm tired of following my dreams. I'm just going to ask them where they are going and meet up with them later.",
      "url": "https://icanhazdadjoke.com/j/0189hNRf2g"
    },
    {
      "id": "08EQZ8EQukb",
      "text": "Did you hear about the guy whose whole left side was cut off? He's all right now.",
      "url": "https://icanhazdadjoke.com/j/08EQZ8EQukb"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "list",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "icanhazdadjoke",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open