/xkcd-api

💪 CORS enabled version of the XKCD API

Primary LanguageJavaScript

XKCD API

CORS enabled API for the XKCD comic

Latest comic

https://xkcd.now.sh

Comic #1000

https://xkcd.now.sh/1000

Example response (comic #1892)

This is the same exact response that the official XKCD API

{
  "month": "9",
  "num": 1892,
  "link": "",
  "year": "2017",
  "news": "",
  "safe_title": "USB Cables",
  "transcript": "",
  "alt": "Tag yourself, I'm \"frayed.\"",
  "img": "https://imgs.xkcd.com/comics/usb_cables.png",
  "title": "USB Cables",
  "day": "20"
}

Run in Postman

Made by ZΛNDΞR ⚡ by using Micro & hosted on now by zeit