XKCD

Webcomic API

xkcd.com/json.html ↗
Version
1.0.0
OpenAPI
3.0.0
Endpoints
2
Schemas
1
Updated
3 days ago
Entertainment entertainment comics
Use this API in your AI agent

Query structured spec data via REST or MCP. Get exactly what your agent needs.

Get API Key

Server URLs

http://xkcd.com

No endpoints found for this provider.

Schemas

object comic
{
  "type": "object",
  "properties": {
    "alt": {
      "type": "string"
    },
    "day": {
      "type": "string"
    },
    "img": {
      "type": "string"
    },
    "num": {
      "type": "number"
    },
    "link": {
      "type": "string"
    },
    "news": {
      "type": "string"
    },
    "year": {
      "type": "string"
    },
    "month": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "safe_title": {
      "type": "string"
    },
    "transcript": {
      "type": "string"
    }
  }
}