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 20 Aug 2026
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 20 Aug 2026, 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.
Alternatives to Geek Jokes API
If Geek Jokes does not fit, these game & anime apis cover similar ground. Every one was called before publishing, and each links to its own reference page with a working curl command and the response it returned.
| API | What it does | Auth | CORS | Last verified |
|---|---|---|---|---|
| PokéAPI | Free Pokémon API with no key: stats, types, abilities, moves, evolutions and sprites for 1,000+ species. The most popular API for learning REST. Tested example. | No key | Yes | 19 Aug 2026 |
| Rick and Morty API | Free Rick and Morty API with no key: 800+ characters, episodes and locations with images, filtering and pagination. REST and GraphQL. Tested example. | No key | Yes | 19 Aug 2026 |
| Jikan (MyAnimeList) | Free unofficial MyAnimeList API with no key: anime and manga data, scores, characters, staff and seasonal listings. Tested curl example and live JSON. | No key | Yes | 19 Aug 2026 |
| Deck of Cards | Free playing card API with no key: shuffle decks, draw cards, manage piles and get card images. Stateful deck ids. Tested curl example and live JSON. | No key | Yes | 19 Aug 2026 |
| Genshin Impact API | Free Genshin Impact API with no key: characters, weapons, artifacts, elements and domains with official artwork and stat data. Tested curl example. | No key | No | 20 Aug 2026 |
| GraphQL Pokémon (Favware) | Free GraphQL Pokémon API with no key. Ask for exactly the fields you need — stats, types, abilities, learnsets, sprites — in a single query. Tested POST example included. | No key | Yes | 21 Aug 2026 |
Geek Jokes is an independent third-party service and is not affiliated with ByteTools or ByteVancer. Details on this page were verified on 20 Aug 2026; always check the official documentation before relying on this API in production, as terms and limits can change.