# JokeAPI

Category: [Fun and games](https://free-web-services.com/web-services/other/fun/)  
Page: https://free-web-services.com/web-services/other/fun/jokeapi.html  
Documentation: https://jokeapi.dev/

JokeAPI serves jokes in several categories, such as programming, puns and miscellaneous, in single-line or setup-and-punchline form and in several languages. Filters let you exclude unsafe topics (safe mode), search jokes and ask for several at once. Responses are JSON, XML, YAML or plain text. Free, no key needed, with a limit of about 120 requests per minute.

- API key: Not needed
- Pricing: Free, no key needed, with a limit of about 120 requests per minute.
- From the browser: Yes (CORS)
- Formats: JSON, XML
- Interface: REST, HTTP-GET
- Provider: jokeapi.dev
- Last checked: Working on November 8th, 2026

Example request:

```sh
curl 'https://v2.jokeapi.dev/joke/Any?safe-mode'
```

The JavaScript works in a web page as well as in Node.js 18 or newer.

