jokes
jokes
Page 6 of 7.
Overview
Request
curl example
curl -sS \ "https://example-data.com/api/v1/jokes?limit=25"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/jokes?limit=25"
);
const { data, meta } = await res.json(); TypeScript example
// Download once: mkdir -p types && curl -o types/jokes.d.ts https://example-data.com/types/jokes.d.ts
import type { Joke, ListEnvelope } from "./types/jokes";
const res = await fetch(
"https://example-data.com/api/v1/jokes?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Joke>; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/jokes",
params={"limit": 25},
)
data = res.json() Response
{
"data": [
{
"id": 121,
"setup": "Circumvenio triduana at tepesco.",
"punchline": "Celo adfero nostrum ultio aestivus.",
"category": "pun",
"rating": 2.1,
"createdAt": "2026-05-02T13:37:46.252Z"
},
{
"id": 122,
"setup": "Voluptatibus avaritia delectatio tibi laboriosam stella.",
"punchline": "Cariosus ulterius totidem bellicus triduana eos ademptio.",
"category": "knock_knock",
"rating": 3.6,
"createdAt": "2025-11-18T08:28:54.913Z"
},
{
"id": 123,
"setup": "Quidem trepide capio callide censura considero odio.",
"punchline": "Curatio temptatio tamisium sopor vinitor curtus asporto earum.",
"category": "other",
"rating": 4.7,
"createdAt": "2026-05-11T10:32:29.822Z"
}
],
"meta": {
"page": 6,
"limit": 24,
"total": 150,
"totalPages": 7
},
"links": {
"self": "/api/v1/jokes?page=6&limit=24",
"first": "/api/v1/jokes?page=1&limit=24",
"last": "/api/v1/jokes?page=7&limit=24",
"next": "/api/v1/jokes?page=7&limit=24",
"prev": "/api/v1/jokes?page=5&limit=24"
}
}