Random Joke

This endpoint allows you to retrieve a randomly selected joke.

Endpoint

  • URL: https://api.erensko.xyz/v1/random-joke

  • Method: GET

  • Description: Fetches a random joke from the API database

Headers

Key
Value

Authorization

Your own personal API key, create one by clicking here. This is required.

Request Example

GET https://api.erensko.xyz/v1/random-joke?category=Laugh

Response Example

{
  "success": true,
  "joke": "Why don’t skeletons fight each other? They don’t have the guts."
}

Last updated