# Jokes One API

> Joke of the day and large category of jokes accessible via REST API.

Jokes One is a games & comics API from jokes.one. Requests are authenticated with an API key. It is served over HTTPS and allows browser requests (CORS). Its OpenAPI description documents 12 endpoints.

## At a glance

- Category: [Games & Comics](https://www.openparable.com/apis/category/games-comics)
- Provider: jokes.one
- Authentication: API key
- HTTPS: Yes
- CORS: Yes
- Base URL: https://api.jokes.one
- Documentation: https://jokes.one/api/joke/
- OpenAPI description: https://api.apis.guru/v2/specs/jokes.one/1.1/swagger.json
- Version: 1.1
- Specification updated: 2021-06-21

## Example request

```bash
curl -X GET "https://api.jokes.one/jod" \
  -H "Accept: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
```

## Endpoints

- `GET /jod` — Gets `Joke of the Day`.
- `GET /jod/categories` — Gets a list of `Joke of the Day` Categories.
- `GET /joke` — Gets a `Joke` with a given `id`.
- `PUT /joke` — Add a new joke to your private collection.
- `PATCH /joke` — Update a joke
- `DELETE /joke` — Delete a joke. The user needs to be the owner of the joke to be able to delete it.
- `GET /joke/categories/search` — Gets a list of `Joke` Categories, based on a query term.
- `GET /joke/list` — Get the list of jokes in your private collection.
- `GET /joke/random` — Gets a `Random Joke`. When you are in a hurry this is what you call to get a random famous joke.
- `GET /joke/search` — Search for a `Joke` in Jokes One platform. Optional `category` , `author`, `minlength`, `maxlength` params determines the filters applied while searching for th
- `POST /joke/tags/add` — Add a tag to a given Joke.
- `POST /joke/tags/remove` — Remove a tag from a given joke.

## Questions

### Does the Jokes One API need an API key?

Yes. The Jokes One API uses API key authentication; the documentation explains how to get credentials.

### Can I call the Jokes One API from the browser?

Yes. The Jokes One API sends CORS headers, so a web page can call it directly with fetch().

### Does the Jokes One API support HTTPS?

Yes, the Jokes One API is served over HTTPS.

### How many endpoints does the Jokes One API have?

Its OpenAPI description lists 12 endpoints in version 1.1. All of them are shown on this page.

### What are alternatives to the Jokes One API?

Other Games & Comics APIs include xkcd, Chess.com, Scryfall, Riot Games, Lichess.

## Similar games & comics APIs

- [xkcd](https://www.openparable.com/apis/xkcd): Retrieve xkcd comics as JSON
- [Chess.com](https://www.openparable.com/apis/chess-com): Chess.com read-only REST API
- [Scryfall](https://www.openparable.com/apis/scryfall): Magic: The Gathering database
- [Riot Games](https://www.openparable.com/apis/riot-games): League of Legends Game Information
- [Lichess](https://www.openparable.com/apis/lichess): Access to all data of users, games, puzzles and etc on Lichess
- [Comic Vine](https://www.openparable.com/apis/comic-vine): The largest comic database online, Comic Vine features Comic Reviews, News, Videos, and Forums for the latest in and more!
- [RuneScape](https://www.openparable.com/apis/runescape): RuneScape and OSRS RPGs information
- [Digimon Information](https://www.openparable.com/apis/digimon-information): Provides information about digimon creatures
- [Wargaming.net](https://www.openparable.com/apis/wargaming-net): Wargaming.net info and stats
- [Pokéapi](https://www.openparable.com/apis/pokeapi): An open RESTful API for Pokémon data
- [Hypixel](https://www.openparable.com/apis/hypixel): Hypixel player stats
- [RAWG.io](https://www.openparable.com/apis/rawg-io): 500,000+ games for 50 platforms including mobiles

Listed from: public-apis (MIT), public-apis database (MIT), APIs.guru (CC0). Check the provider's terms before use.

---

Source: https://www.openparable.com/apis/jokes-one (OpenParable). Cite the canonical URL above.
