← Entertainment

Random xkcd Comic

GET /xkcd/random

Get a random xkcd comic from the entire archive of 2,900+ comics spanning nearly two decades. Returns the comic title, number, image URL, alt text (the hidden hover text), and publication date. Perfect for 'surprise me' features, random content feeds, break-time entertainment widgets, and boredom-busting app features.

See it visualized

Example Requests

Basic usage
curl https://nordapi.ee/api/v1/xkcd/random

Live Response

{
  "data": {
    "alt": "I may be the kind of person who wastes a year implementing a Turing-complete computer in Dwarf Fortress, but that makes you the kind of person who wastes ten more getting that computer to run Minecraft.",
    "date": "2013-06-10",
    "img": "https://imgs.xkcd.com/comics/dwarf_fortress.png",
    "link": "",
    "num": 1223,
    "title": "Dwarf Fortress",
    "transcript": "[[A figure sits at a desk with a computer, hands on the keyboard, talking to an unseen observer.]]\nFigure: If the corporate surveillance state monitors and controls every aspect of my life...\nBig Brother: We do.\nFigure: And I play Dwarf Fortress all day...\nBig Brother: You do. \nFigure: Then you're effectively Dwarf Fortress players watching your dwarves play Dwarf Fortress. \nBig Brother: ... Oh God. \nBig Brother realises he's trapped in the most tedious possible Hell.\n\n{{Title text: I may be the kind of person who wastes a year implementing a Turing-complete computer in Dwarf Fortress, but that makes you the kind of person who wastes ten more getting that computer to run Minecraft.}}"
  },
  "success": true
}