DexBase

Official Joke API

Load a random joke and read id, type, setup, and punchline as parts of one response.

Current public response

Load a joke in English and read type, setup, and punchline together. The id identifies the item but does not translate or approve the text for every audience.

What the response contains

Load a random joke and read id, type, setup, and punchline as parts of one response.

The response is suitable for tests, pastime interfaces, and integration examples. Jokes are not facts, recommendations, or automatically suitable content for every audience; review the text before showing it in a context with people, ages, or specific rules.

Fields worth checking

  • id: joke identifier
  • type: category
  • setup and punchline: text and ending

How to read the response

The button uses GET /random_joke and returns an object with id, type, setup, and punchline. setup is the first part of the joke and punchline is its ending. type organizes the returned category; read the whole set before displaying only one sentence.

  • id identifies the item returned by the API.
  • setup and punchline form one joke in two parts.
  • type is a classification, not a quality or suitability rating.

One joke at a time on this page

The service home page lists routes such as /random_joke, /random_ten, and /jokes/random. This button calls only /random_joke, so it does not search by subject, translate, or filter for an audience. For another flow, confirm the route and response at the source.

  • Reloading changes the random item without guaranteeing a specific topic.
  • A route that returns several items is not the call used here.
  • The returned text remains in English even when this page uses another language.

Reuse with context

A short joke can serve a visual test, pastime, or structured-response demonstration. It does not prove facts or replace communication appropriate to an environment, age group, or community. Review a message before republishing it outside the experiment.

  • Do not present a joke as true information or guidance.
  • Do not assume random text works for every audience.
  • In a public product, define your own moderation and use criteria before showing results automatically.
An API of Ice and Fire url + name · titles + aliases · culture + born · allegiances + family URLs Real preview of AniList API AniList API Anime title · Episodes · Score AnimeChan content · anime.name · character.name · anime.id + character.id