Geek-Jokes API
Overview
Geek-Jokes API delivers random programming and technology-themed jokes as plain text with a single GET request. It needs no API key or registration, making it one of the simplest APIs you can call. It is a perfect first API for beginners who want to practice making HTTP requests and handling text responses.
Beginner Tip
The API returns a single plain text joke by default — not JSON — so do not try to parse the response with JSON.parse(). Add ?format=json to the URL to get a proper JSON response instead.
Available Data
Example Response
{
"error": false,
"category": "Programming",
"type": "twopart",
"setup": "Why do programmers prefer dark mode?",
"delivery": "Because light attracts bugs.",
"id": 42,
"lang": "en"
} Field Reference
joke The text of a random geek or programming-themed joke (only returned when using ?format=json) Implementation Example
const url = "https://github.com/sameerkumar18/geek-joke-api";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Age of Empires II
Age of Empires II provides programmatic access to get information about age of empires ii resources via REST API.
AmiiboAPI
AmiiboAPI provides programmatic access to nintendo amiibo information via REST API.
Animal Crossing: New Horizons
⭐ Beginner's PickThe Animal Crossing: New Horizons API gives you free access to in-game data including villagers, critters, fossils, art, music, and furniture.
Autochess VNG
The Autochess VNG API provides game data for the Autochess VNG mobile game including heroes, items, and races.
Barter.VG
Barter.VG aggregates data about PC games, DLC, bundles, giveaways, and trading from Steam and other platforms.