Public APIs

🎁 Black Friday: 40% off the first payment of every plan, and Skip the queue for $29, through December 6.

Jokes API is in the queue

It will be published on January 17, 2027.

From $29 instead of $49, live within minutes

  1. Submitted

    Received for review.

  2. In the queue

    Until January 17, 2027.

  3. Live

    Listed on Public APIs, with a link to its website.

Jokes API favicon

Jokes API

Entertainment

A free random joke API. One request, one genuinely terrible joke. No sign-up, no API key, no nonsense. Just jokes from the archive Tom’s Shit jokes.

Jokes API's website screenshot

About Jokes API

Jokes API is a free REST API from Tom's Shit Jokes that returns jokes as JSON over HTTP GET requests, with no API key or sign-up required and CORS open for browser use. Endpoints include a random joke, a random joke from a specific category, a list of all categories with their slugs and joke counts, and lookup by joke ID. Each joke response includes the setup, punchline, combined text, category, a link to the joke on the site, and an attribution string.

The archive dates back to 2013 and contains 370 jokes across categories such as Animals, One Liners, Food, Music, Dad Jokes, and Knock Knock. Errors return standard HTTP status codes (400, 404, 429) with a JSON error body. Usage is capped at 60 requests per minute per IP, and API consumers are asked to keep the attribution link in displayed jokes.

The API is suited for developers building small projects such as chatbots, Slack or Discord commands, or physical displays that need a lightweight source of jokes. Advertising and shop profits from the site are donated to Macmillan Cancer Support.

Key features

  • Random joke via single GET request, no API key required
  • Filter random jokes by category slug
  • List all categories with name, slug and joke count
  • Fetch a specific joke by its ID
  • Open CORS for direct browser use
  • 370+ jokes across 60+ categories

Frequently asked questions

Is the API free and does it require an API key?

Yes, it is free with no sign-up or API key required.

What rate limit applies?

Requests are limited to under 60 per minute per IP.

Can I call it directly from a browser?

Yes, CORS is open so it works from client-side JavaScript.

What data format does the API return?

It returns JSON with fields like joke, punchline, full, category, category_slug, url and attribution.

Are there any usage requirements?

You're asked to keep the attribution link, which credits the site and its Macmillan Cancer Support fundraising.

Ad
SerpApi - Search API favicon

SerpApi - Search API

SerpApi's Search API makes it easy and fast to scrape Google and other search engines.

Learn more

Featured products

  • SerpApi - Search API favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 9k newsletter subscribers

Advertise your product