Catalog/misc-xkcd

Data

xkcd comic lookup (xkcd.com) API

Fetch the latest xkcd comic or a specific comic number from xkcd.com: title, alt text, image URL, and publish date. Answers 'latest xkcd','xkcd comic 327','what is the alt text of this xkcd','show me an xkcd'.

Price$0.01per request
MethodPOST
Route/v1/data/misc-xkcd
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache86400s public
dataxkcdcomicwebcomicimagehumorgeekalt-text
API URLhttps://x402.hexl.dev/v1/data/misc-xkcd
Integration docs
Example request
{
  "number": 327
}
Example response
{
  "number": 327,
  "title": "Exploits of a Mom",
  "altText": "Her daughter is named Help I'm trapped in a driver's license factory.",
  "imageUrl": "https://imgs.xkcd.com/comics/exploits_of_a_mom.png",
  "date": "2007-10-10",
  "transcript": null,
  "url": "https://xkcd.com/327/"
}
Input schema
{
  "type": "object",
  "required": [],
  "properties": {
    "number": {
      "type": "number",
      "examples": [
        327
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}