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 }}