Jokes in multiple formats.
JokeAPI is a REST API that delivers formatted jokes across multiple categories, including Programming, Misc, Dark, Pun, Spooky, and Christmas. It currently serves 1368 jokes in 6 languages, primarily English and German, with other languages not guaranteed to have validated formatting. Requests can be filtered by category, language, response format (JSON, XML, YAML, or plain text), joke type (single or two-part), search string, or ID range, and content can be filtered using blacklist flags such as nsfw, religious, political, racist, sexist, and explicit.
The API requires no API token, registration, authorization, or payment to use. It enforces a rate limit of 120 requests per minute per client, returning an HTTP 429 error and rate-limit headers (Retry-After, RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset) once the budget is exceeded; joke submissions are limited to 5 requests per minute, though submissions are currently disabled. Community-made wrapper libraries exist for languages including C#, Dart, Go, Java, Kotlin, Node.js/JavaScript, Odin, PHP, Python, Rust, and TypeScript, maintained independently of the API.
The service is aimed at developers building applications that need programmatic access to jokes, such as those wanting to integrate humor into their software while controlling content through category and flag filtering. A safe mode is available for projects that need to exclude explicit content.
Yes, it can be used without any API token, membership, registration, or payment.
There is a limit of 120 requests per minute, and joke submissions are limited to 5 requests per minute; exceeding the limit returns an HTTP 429 error.
It supports JSON, XML, YAML, and plain text formats, and serves jokes in 6 different languages, though format and validity are only ensured for English and German.
Yes, community-made wrappers exist for languages including C#, Dart, Go, Java, Kotlin, Node.js, PHP, Python, Rust, and TypeScript.
Joke submissions have been disabled for the foreseeable future, according to the documentation.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
REST API for Corporate Buzz Words.
Get random news article featuring Elon Musk.
Gets an array of popular memes.
JSON API for every "whoa" said by actor Keanu Reeves in his movies.
REST API for create your own meme.
Meme creation API with templates, editable captions and hosted share links.