Ha.

SyrslyBot Jokes API

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

  • V1.3.0 (6/5/2026): Bugfixes for chat receiving blank jokes due to encoding issues on some third-party sources. Fixed a duplication bug in the database.
  • V1.2.2 (9/23/2025): Bugfix for blank jokes after server migration.
  • V1.2.1 (8/8/2025): Local jokes now counted on admin backend of site. Helps me see if the jokes are still populating or if there's a problem. Later, I'll add a backend tool to help moderate the jokes and clean up duplicates. No idea when that'll happen, though. Could be tomorrow or next month.
  • V1.2.0 (6/16/2025): Local jokes which were stored from third parties can now be retrieved as part of the joke randomization code. Added Star Wars jokes. These do not yet hit an API for third-party jokes, but I added a couple jokes to the pool manually. I'll add more later. A pre-existing bug where Christmas jokes get duplicate records in the database still exists. Still trying to pinpoint the cause.
  • V1.1.3 (5/31/2025): Added more food jokes to the array of food jokes. Food jokes still don't have an API to hit for random jokes, so I'm finding a few more jokes to add manually. I've collected 50+ food jokes so far. Removed credits from all joke lines where I previously credited Gruntled for his additions. We are no longer crediting people this way for their contributions. I will, however, add people's credits to this page in a new Contributions section I added today.
  • V1.1.2 (5/28/2025): Bugfix: double quotes were being triple encoded for many of the APIs. I added a workaround to clean up these values at the output moment so everything shows up consistently as plain text. I will be trying to fix the code to handle encoding of each API separately.
  • V1.1.1 (5/26/2025): Added Christmas jokes. These hit the jokeapi.dev API. This API is great for certain kinds of jokes, but its Christmas joke pool is rather limited, so I'll be searching for more sources.
  • V1.1.0 (5/25/2025): Random jokes now optimized to reduce third party API hits and still store new jokes locally. Previously, this only happened when accessing the joke genres directly. Joke API front page now linked on sitewide navigation. Added disney jokes and food jokes to the random jokes pool. Added backend 'source' column to better track where each joke came from in case there's an issue. Added secondary API to yomomma jokes. Fixed bug where genre was stored as an int instead of string when backing up new jokes.
  • V1.0.1 (5/23/2025): Chuck Norris jokes now optimized to reduce third party API hits.
  • V1.0.0 (5/16/2025): Got the front page of the jokes API up and running. This marks the start of the API being easy to access by others.

Contributors

Creator

Syrsly....

Joke contributors

Gruntled provided a few early contributions to the Halloween genre.

Monetary contributions?

None yet! If you'd like to contribute to the upkeep costs of this API, you may CashApp me, but please let me know if you want to be credited here for it. I will link to the BSky/Facebook/Threads/Spacehey profile of any contributor of $5 or more on this page.

Syrsly - SyrslyBot Jokes API
Beat Saber Super Mario 64 The Legend of Zelda Pac-Man Galaga Portal Star Fox
syrsly / SyrslyBot Jokes API
Last seen playing Mortal Kombat 1! Schedule
Look to the sky....
Loading section ▰▱▱▱▱
AboutBio BlogArticles MediaContent
syrsly
Hey! Syrsly's on Bsky!
Navi-Bluesky fairy Solid blue orb at center with blue and white glow, surrounded by four fluttering wings.
bsky
Sponsored


SYRSLY'S PC
Account · 001

Step inside

Log in to manage your account, post comments on the blog, and join the Twitch shenanigans.

  • Manage your handle, email, avatar & password
  • Drop comments on every dispatch
  • Tie your account to Twitch & spend chat points on stream
Couldn't sign you in. Check your handle and password.
Handle is required.
Password must be at least 6 characters.
Handle is required.
Enter a valid email.
At least 6 characters.
Passwords must match.

Enter a valid email.
That code is invalid or has expired.
At least 6 characters.
Your void · Account

Your Profile & Settings

@syrsly

you@somewhere.com
Joined · 2026 · 04
Balance 0
Acquired · stashed in your inventory
⚠ No refunds! Game keys expire and are not guaranteed to work. Points do not have a cash value.

Avatar

64 × 64

Handle

Public
Handle is required. Think of it as a nickname. You can change your handle once every 3 months.
Saved

Twitch integration

Status
Not connected
twitch.tv/—
Chat points
Earn by chatting during streams
0— locked —

Email

Private
Enter a valid email.
Password is required.
Email updated.

Password

Private
Current password doesn't match.
At least 6 characters.
Passwords don't match.
Password updated

Notifications

Email