This is a simple API that returns a random joke. You can filter the jokes by tags and keywords. To make sure they are safe for work, you could use the exclude-tags parameter to exclude jokes with certain tags such as "nsfw" or "religious".
If you want to filter the jokes using include-tags or exclude-tags you can use one or more of the following:
This API wraps the random jokes endpoint by Humor API. Check out the tutorial about writing a joke and meme app using this API.
{
"joke": "What do you call a boxing match between two aardvarks?\nA snout bout!"
} {{ codeCopyText }}
{{ codeCopyText }}
{{ codeCopyText }}
{{ codeCopyText }}
{{ codeCopyText }}
{{ codeCopyText }}
Yes, you can use the `include-tags` parameter to find jokes in specific categories like "nerdy", "dad", or "programming", and `exclude-tags` to avoid others.
You can ensure jokes are safe for work by excluding tags like "nsfw", "racist", "sexist", or "sexual".
The API has access to a large and growing database of thousands of jokes across many different categories.
The Random Joke API returns a single random joke, potentially filtered by tags, while the Search Jokes API allows you to search for specific jokes using keywords.