Syrsly's Jokes API

Introduction

This is the front page of the jokes API. This API will pick a random joke from a database of hundreds of thousands of jokes and give you the joke as plain text to be used however you like.

How It Works

If you just go to syrsly.com/joke/random, you can get a random joke in any genre. To get a list of genres, go to syrsly.com/joke/genres. Some genres of jokes have more jokes in the pool than others.

The API's database has a lot of jokes stored locally, but the API will also occasionally pull jokes from other APIs and then save those jokes locally for future use. The goal is to eventually store up to 4k jokes per genre for safekeeping in case the third-party APIs break/die. I chose 4k as the max limit just because it sounds like a doable number and is still tons of jokes. I'm not trying to be the end-all-be-all archive of jokes. I just want a lot of them for variety's sake.

The jokes API may change and gain more restrictions later if it is abused or I just can't as easily host it. The hope is to document the changes in this changelog below:

Changelog