

There are two types of languages system languages and joke languages. This parameter can be used on every endpoint, but it is possible that no translations or jokes exist yet for your language. I struggled at explaining some features so consult the provided examples if you don't understand them. If you need any help, feel free to join my Discord server. If you know any good jokes and want to add them to JokeAPI, please click here. If your project really can't contain any explicit jokes, consider enabling the Safe Mode. Once you know how to send HTTP requests, please take a look at all the endpoints JokeAPI has.Īfter you've finished reading that, you can start testing out the different endpoints with a client such as Postman and look at some examples by going to the "Examples" section. Here's a few resources to get you started: ( Python XHR Crash Course, JavaScript XHR Documentation. You can directly communicate with JokeAPI with HTTP requests (XHR) from within your code.

Then, follow its documentation to communicate with the API (Disclaimer: I don't take any responsibility for their code).

You can see if your language has a wrapper for JokeAPI (to see a list of officially supported wrappers, click here) To start using JokeAPI, you can do one of these two things: JokeAPI doesn't require any API token, authorization or payment to work, although there is a hard limit of 120 requests per minute due to some DoS attacks I have been getting.
