xkcd API
Retrieve xkcd comics as JSON
- Our call
- Not called yet
- Key
- No key
- Docs link
- Answered
We haven't called xkcd ourselves, so this is the public-apis listing plus our check of its docs link. Show Games & Comics APIs we did call
xkcd docsMore Games & Comics APIs
Come back to see anything that changed: answers, keys, browser access, rate limits.
Change log Measured by us
No changes seen since we started tracking on 2026-11-06. Each check compares the answer, the key requirement, the browser (CORS) header and the rate limit with the run before.
What the list says From the public-apis list
- Category
- Games & Comics
- Auth
- No key
- CORS
- No
- Docs link
- xkcd.com answered 200 in 10002 ms on 2026-11-06 Measured
xkcd is listed in Games & Comics. xkcd needs no key: you can call it without signing up. The list says it doesn't send CORS headers, so browser code has to go through your own server or a proxy.
The list has 97 Games & Comics APIs: 63 need no key, 30 need an API key and 4 use OAuth, and 42 of them are marked as allowing browser calls. 8 others have the same setup, such as Board Game Geek, CSGO and Dungeons and Dragons.
xkcd and other Games & Comics APIs
| Fact | xkcd (this page) | CheapShark | Chess.com | Deck of Cards | Digimon Information |
|---|---|---|---|---|---|
| Key needed From the public-apis list | No key | No key | No key | No key | No key |
| CORS, as listed From the public-apis list | No | Yes | Not recorded | Not recorded | Not recorded |
| Our test call Measured by us | Not tested | 400 ms | 2,217 ms | 2,266 ms | 2,191 ms |
| Browser call Measured by us | — | Allowed | Allowed | Allowed | Allowed |
| Docs link Measured by us | Answered | Answered | Answered | Answered | Answered |
Questions
Does xkcd need an API key?
xkcd needs no key: you can call it without signing up.
Can I call xkcd from JavaScript in the browser?
The list says no, so call it from your own server or a proxy.
Where are the xkcd docs?
At https://xkcd.com/json.html. When we checked, the link answered 200 in 10002 ms.
What are some alternatives to xkcd?
Other Games & Comics APIs in the list include Board Game Geek, CSGO, Dungeons and Dragons and Minecraft Server Status.
Listing from public-apis (github.com/marcelscruz/public-apis), MIT. Measurements are ours: how we check.