---
title: "Get jokes"
method: GET
path: "/public/randomjokes"
tags: ["📢 Public APIs"]
---

# Get jokes

`GET /public/randomjokes`

The API endpoint retrieves a list of jokes.  
When accessing this endpoint, you will receive a response containing a collection of jokes.

This functionality is useful for retrieving multiple jokes at once, enabling you to incorporate humor and amusement into your application or provide entertainment to users.

## Query parameters

- `limit` string
- `query` string
- `inc` string
- `page` string

## Response `200`

Get random jokes

- object
  - `data` object
    - `currentPageItems` number
    - `data` object[]
      - `categories` string[]
      - `content` string
      - `id` number
    - `limit` number
    - `nextPage` boolean
    - `page` number
    - `previousPage` boolean
    - `totalItems` number
    - `totalPages` number
  - `message` string
  - `statusCode` number
  - `success` boolean

---

[API](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi.md) · [All operations](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hiteshchoudhary-ssesph/freeapi/revisions/a9f3a290e4dc/schema)
