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, imagen URL, alt text (the hidden hover text), and publication date. Perfecto para 'surprise me' features, random content feeds, break-time entertainment widgets, and boredom-busting app features.
curl https://nordapi.ee/api/v1/xkcd/random
{
"data": {
"alt": "The laws of physics are fun to try to understand, but as an organism with incredibly delicate eyes who evolved in a world full of sharp objects, I have an awful lot of trust in biology's calibration of my flinch reflex.",
"date": "2016-04-20",
"img": "https://imgs.xkcd.com/comics/laws_of_physics.png",
"link": "",
"num": 1670,
"title": "Laws of Physics",
"transcript": "((This comic is a \"timeline\" of algorithm complexity, ordered from least to most complex. The first five are roughly equally spaced, with the last item at the extreme end of the axis.))\nAlgorithms by complexity\nMore complex\nLeftpad\nQuicksort\nGit merge\nSelf-driving car\nGoogle search backend\nSprawling Excel spreadsheet built up over 20 years by a church group in Nebraska to coordinate their scheduling\n\n{{Title text: There was a schism in 2007, when a sect advocating OpenOffice created a fork of Sunday.xlsx and maintained it independently for several months. The efforts to reconcile the conflicting schedules led to the reinvention, within the cells of the spreadsheet, of modern version control.}}"
},
"success": true
}