Retrieve xkcd comics as JSON
Last verified: November 12, 2026
100% uptime: the documentation responded in 5 of 5 checks over the last 30 days. Median response time: 490 ms.
From xkcd's OpenAPI specification (version 1.0.0), spec updated April 7, 2021, via APIs.guru.
Webcomic of romance, sarcasm, math, and language.
http://xkcd.com| Method | Path | What it does |
|---|---|---|
| GET | /info.0.json | Fetch current comic and metadata. |
| GET | /{comicId}/info.0.json | Fetch comics and metadata by comic id. |