Retrieve a collection of jokes related to science with this API endpoint. You'll receive a response containing multiple jokes, making it easy to incorporate humor and entertainment into your application.

https://api.freeapi.app/api/v1/public/randomjokes?limit=10&query=science&inc=categories%2Cid%2Ccontent&page=1

Example-> JSON data

1 2 3 4 5 6 7 8 9 10 11 { "statusCode": 200, "data": { "categories": [], "id": 100, "content": "Chuck Norris has a sign in his front yard that reads, "Beware of Chuck Norris." This is not a joke. He actually has one." }, "message": "Joke fetched successfully", "success": true }

Get a specific joke by its ID using this API endpoint. Provide a valid joke ID as a parameter to receive the joke associated with that ID.

https://api.freeapi.app/api/v1/public/randomjokes/{joke_id}

Example-> JSON data

1 2 3 4 5 6 7 8 9 10 11 { "statusCode": 200, "data": { "categories": [], "id": 100, "content": "Chuck Norris has a sign in his front yard that reads, "Beware of Chuck Norris." This is not a joke. He actually has one." }, "message": "Joke fetched successfully", "success": true }

Retrieve a randomly selected joke from the joke list with this API endpoint. You'll receive a response containing a joke chosen randomly.

https://api.freeapi.app/api/v1/public/randomjokes/joke/random

Example-> JSON data

1 2 3 4 5 6 7 8 9 10 11 { "statusCode": 200, "data": { "categories": [], "id": 100, "content": "Chuck Norris has a sign in his front yard that reads, "Beware of Chuck Norris." This is not a joke. He actually has one." }, "message": "Joke fetched successfully", "success": true }