jokes
jokes
Browse 150 jokes records. Free mock data API by Draftbit — fetch over REST or browse paginated HTML.
- setup
- Why don't scientists trust atoms?
- punchline
- Because they make up everything.
- category
- pun
- rating
- 4.8
- createdAt
- setup
- I told my wife she should embrace her mistakes.
- punchline
- She gave me a hug.
- category
- dad
- rating
- 4.6
- createdAt
- setup
- Why did the scarecrow win an award?
- punchline
- Because he was outstanding in his field.
- category
- pun
- rating
- 4.8
- createdAt
- setup
- I'm reading a book about anti-gravity.
- punchline
- It's impossible to put down.
- category
- pun
- rating
- 5
- createdAt
- setup
- Did you hear about the mathematician who's afraid of negative numbers?
- punchline
- He'll stop at nothing to avoid them.
- category
- pun
- rating
- 4
- createdAt
- setup
- Why don't skeletons fight each other?
- punchline
- They don't have the guts.
- category
- pun
- rating
- 3.3
- createdAt
Showing first 6 of 24 on this page.
curl -sS \
"https://example-data.com/api/v1/jokes?limit=25"const res = await fetch(
"https://example-data.com/api/v1/jokes?limit=25"
);
const { data, meta } = await res.json();import type { Joke, ListEnvelope } from "https://example-data.com/types/jokes.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/jokes?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Joke>;import requests
res = requests.get(
"https://example-data.com/api/v1/jokes",
params={"limit": 25},
)
data = res.json() {
"data": [
{
"id": 1,
"setup": "Why don't scientists trust atoms?",
"punchline": "Because they make up everything.",
"category": "pun",
"rating": 4.8,
"createdAt": "2025-08-05T00:49:19.906Z"
},
{
"id": 2,
"setup": "I told my wife she should embrace her mistakes.",
"punchline": "She gave me a hug.",
"category": "dad",
"rating": 4.6,
"createdAt": "2025-12-12T20:17:21.523Z"
},
{
"id": 3,
"setup": "Why did the scarecrow win an award?",
"punchline": "Because he was outstanding in his field.",
"category": "pun",
"rating": 4.8,
"createdAt": "2024-06-15T23:09:14.901Z"
}
],
"meta": {
"page": 1,
"limit": 25,
"total": 150,
"totalPages": 6
},
"links": {
"self": "/api/v1/jokes?page=1",
"first": "/api/v1/jokes?page=1",
"last": "/api/v1/jokes?page=6",
"next": "/api/v1/jokes?page=2",
"prev": null
}
}