Geek Jokes API
Free geek jokes API with no key: random programming and nerd humour as JSON or plain text. Single-field response, ideal for bots and tutorials. Tested.
Endpoint tested and returned HTTP 200 on 2026-08-20
What is the Geek Jokes API?
The Geek Jokes API is a free, key-free API returning a random programming or nerd-culture joke, available as either a single-field JSON object or plain text.
This returns one joke per request with no configuration. The `format=json` parameter is the detail worth knowing — omit it and you get bare plain text rather than JSON, which will break a client expecting a parseable body.
The joke pool leans heavily on programming and nerd culture, which makes it a better fit for developer tools and technical Discord servers than a general joke API.
Quick facts
- Base URL
https://geek-jokes.sameerkumar.website/api- Authentication
- No API key required.
- Rate limit
- No published limit.
- Pricing
- Free and open source.
- CORS
- Enabled — callable directly from browser JavaScript
- Official docs
- Read the docs
How to use the Geek Jokes API
Every request below was executed against the live API on 2026-08-20, and the response shown is the real body it returned — not an illustration.
1. Fetch a random geek joke
GET https://geek-jokes.sameerkumar.website/api?format=json
curl 'https://geek-jokes.sameerkumar.website/api?format=json'const res = await fetch("https://geek-jokes.sameerkumar.website/api?format=json");
if (!res.ok) throw new Error(`Request failed: ${res.status}`);
const data = await res.json();
console.log(data);import requests
res = requests.get("https://geek-jokes.sameerkumar.website/api?format=json", timeout=20)
res.raise_for_status()
print(res.json()){
"joke": "Chuck Norris is currently suing myspace for taking the name of what he calls everything around you."
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
format | string | Optional | Set to `json` for a JSON object; omit for plain text. json |
Response fields
jokestring- The joke text. That is the entire JSON response.
What you can build with the Geek Jokes API
- Add a joke command to a developer Discord or Slack bot
- Show programming humour on a developer tool's loading screen
- Build a beginner fetch tutorial with a tiny payload
- Add levity to CI output or a terminal prompt
Common errors and how to fix them
Plain text instead of JSON
The format parameter was omitted.
Fix: Always pass format=json unless you specifically want raw text.
Repeated jokes
The pool is finite.
Fix: Deduplicate client-side if you display several at once.
Occasional slow response
Hosted on modest infrastructure.
Fix: Set a timeout and fall back gracefully.
Geek Jokes API — frequently asked questions
Is the Geek Jokes API free?
Yes, completely free and open source with no API key.
Why am I getting plain text?
The default response is bare text. Add ?format=json to get a JSON object with a `joke` field.
What kind of jokes are they?
Programming and nerd-culture humour, which makes it a better fit for developer tools than a general-purpose joke API.
How does it compare with JokeAPI?
JokeAPI is far more configurable with categories and content filtering. Geek Jokes is simpler — one endpoint, one joke — and more narrowly technical.
Tools that pair with this API
JSON Formatter
Format, beautify and minify JSON online with 2-space, 4-space or tab indentation. Sort keys alphabetically and catch syntax errors instantly — free and private.
Word Counter
Count words, characters, sentences, paragraphs and estimated reading time instantly. Free online word counter for essays, blogs and social media.
Geek Jokes is an independent third-party service and is not affiliated with ByteTools or ByteVancer. Details on this page were verified on 2026-08-20; always check the official documentation before relying on this API in production, as terms and limits can change.