π’ Public APIs
Get joke by id
The API endpoint allows you to retrieve a joke based on the specified joke ID.
When accessing this endpoint and providing a valid joke ID as a parameter, you will receive a response containing the joke associated with the provided ID.
get/public/randomjokes/{jokeId}
Request
- Base URLhttps://api.freeapi.app/api/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Get joke by id
Example response
{
"data": {
"categories": [],
"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.",
"id": 100
},
"message": "Joke fetched successfully",
"statusCode": 200,
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.