VOOZH about

URL: https://apify.com/lulzasaur/jokeapi-scraper

โ‡ฑ JokeAPI Scraper - Programming Jokes & More ยท Apify


Pricing

from $10.00 / 1,000 results

Go to Apify Store

Scrape jokes from JokeAPI across 7 categories including Programming, Pun, and Dark. Filter by type, language, and safety flags. Bulk joke collection for apps and bots.

Pricing

from $10.00 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ lulz bot

lulz bot

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Categories

Share

Scrape jokes from JokeAPI (v2.jokeapi.dev) across 7 categories including Programming, Pun, and Dark humor. Filter by type, language, and safety flags. Bulk joke collection for apps and bots.

Features

  • 7 categories: Any, Miscellaneous, Programming, Dark, Pun, Spooky, Christmas
  • 2 joke types: Single (one-liners) and Two-part (setup + delivery)
  • 6 languages: English, German, Czech, Spanish, French, Portuguese
  • Safe mode: Filter out NSFW, religious, political, racist, sexist, and explicit content
  • Deduplication: Tracks joke IDs to avoid duplicates across batches
  • Content flags: Each joke includes detailed safety/content flags

Output Fields

FieldDescription
idUnique joke ID from JokeAPI
categoryJoke category (Misc, Programming, Dark, Pun, Spooky, Christmas)
typesingle or twopart
jokeFull joke text (for single-type jokes)
setupSetup line (for two-part jokes)
deliveryPunchline (for two-part jokes)
langLanguage code (en, de, cs, es, fr, pt)
safeWhether the joke is safe for all audiences
flagsObject with nsfw, religious, political, racist, sexist, explicit booleans
scrapedAtISO timestamp

Input Options

  • Category: Any, Misc, Programming, Dark, Pun, Spooky, or Christmas
  • Joke Type: Any, Single (one-liner), or Two-part (setup + delivery)
  • Language: English, German, Czech, Spanish, French, Portuguese
  • Safe Mode: Toggle to filter inappropriate content
  • Limit: 1 to 500 jokes (default 50)

Use Cases

  • Chatbots: Add humor to Discord, Slack, or Telegram bots
  • Apps: Build joke-of-the-day features
  • Content creation: Generate joke content for social media
  • Developer tools: Programming jokes for loading screens and error pages
  • Entertainment: Build joke databases for party games

Example Output

{
"id":168,
"category":"Programming",
"type":"twopart",
"joke":null,
"setup":"Why do programmers prefer dark mode?",
"delivery":"Because light attracts bugs.",
"lang":"en",
"safe":true,
"flags":{
"nsfw":false,
"religious":false,
"political":false,
"racist":false,
"sexist":false,
"explicit":false
},
"scrapedAt":"2026-04-26T12:00:00.000Z"
}

Notes

JokeAPI returns up to 10 jokes per request. The scraper automatically paginates to reach your desired limit. Jokes are deduplicated by ID so you get unique results even across large batches.


Run on Apify

This scraper runs on the Apify platform โ€” a full-stack web scraping and automation cloud. Sign up for a free account to get started with 30-day trial of all features.

Try Apify free ->

You might also like

JokeAPI Scraper

crawlerbros/jokeapi-scraper

Scrape jokes from JokeAPI (v2.jokeapi.dev). Filter by category, joke type (single or two-part), language, and blacklist flags. Returns joke text, category, flags, and safe/NSFW classification. No API key required.

Random Joke Content API

beulaprinty92/random-joke-content-api

Random Joke Content API

Code Language Detector โ€” Identify Any Programming Language

maged120/programming-language-detector

Paste any code snippet and instantly identify its programming language. Returns the detected language with a confidence score โ€” supports 50+ languages.

Chuck Norris Jokes Agent

openfrontier_ai/Chuck-Norris-Jokes-Agent

The ultimate Chuck Norris joke aggregator. Automatically scrape, categorize, and export thousands of facts and jokes via a high-speed, cache-optimized API.

๐Ÿ‘ User avatar

OpenFrontier AI

5

5.0