Lumeo APIs
Entertainment

Jokes API - Dad Jokes, Puns, Programming & More

Thousands of jokes from 3 sources in one format: dad jokes, puns, programming, Chuck Norris; safe-mode filter, 6 languages, search & joke of the day.

Get a free API key on RapidAPI Try it in the playground

Jokes API

One fast, reliable endpoint set for every kind of joke — with a family-friendly safe mode on by default.

😂 Jokes

🔎 Search & ids

Use cases: chatbots & Discord/Telegram/Slack bots · apps & widgets · newsletters · games & icebreakers · developer demos

Keywords: jokes api, dad jokes api, random joke, programming jokes, puns, chuck norris jokes, joke of the day, funny api, humor api, safe jokes

Endpoints (8)

EndpointWhat it returns
GET/randomRandom joke
Random joke(s) from any source or one source; safe mode on by default.
GET/jokesJokes by category & filters
Programming, pun, misc, dark, spooky and Christmas jokes with type, language, flag exclusions and text filter.
GET/dadDad jokes
A random dad joke, or search dad jokes by term with paging.
GET/chuckChuck Norris facts
Random Chuck Norris fact (optionally by category) or search.
GET/searchSearch all sources
Search JokeAPI, dad jokes and Chuck Norris at once; results merged and ranked.
GET/jokeJoke by id
Fetch a joke again by the id returned by any endpoint.
GET/joke-of-the-dayJoke of the day
A safe joke that is the same for everyone on a given date and language.
GET/categoriesCategories, languages & flags
All categories per source, languages, content flags and joke counts.

Quick start

Subscribe on RapidAPI (free plan available), copy your key, and call GET /random:

curl --request GET \
  --url 'https://jokes-api-dad-jokes-puns-programming-more.p.rapidapi.com/random?source=any&count=2' \
  --header 'x-rapidapi-host: jokes-api-dad-jokes-puns-programming-more.p.rapidapi.com' \
  --header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY'

Example response

{
  "count": 2,
  "jokes": [
    {
      "id": "dad:CdUnOKeiqzd",
      "source": "dad",
      "category": "dad",
      "type": "single",
      "setup": null,
      "delivery": null,
      "joke": "which flower is most fierce? Dandelion",
      "language": "en",
      "flags": {
        "nsfw": false,
        "religious": false,
        "political": false,
        "racist": false,
        "sexist": false,
        "explicit": false
      },
      "safe": true
    },
    {
      "id": "jokeapi:281",
      "source": "jokeapi",
      "category": "pun",
      "type": "twopart",
      "setup": "I was feeling depressed, my wife put her hand on my back and said \"Earth.\"",
      "delivery": "It meant the world to me.",
      "joke": "I was feeling depressed, my wife put her hand on my back and said \"Earth.\"\nIt meant the world to me.",
      "language": "en",
      "flags": {
        "nsfw": false,
        "religious": false,
        "political": false,
        "racist": false,
        "sexist": false,
        "explicit": false
      },
      "safe": true
    }
  ]
}

Start free. Every plan includes all endpoints; upgrade only when you need more requests. Runs on Cloudflare's global network for low latency worldwide.

Subscribe on RapidAPI

Related APIs

Entertainment

Twitch Data

Twitch channel profiles & live status, top live streams by game, top categories, clips, VODs and channel search. No OAuth token, no setup.

Entertainment

TV Shows & Schedule API

TV series data: search, show details, seasons & episodes with air dates, cast & crew, TV and streaming schedules by country, people and credits.