XKCD
Mock the xkcd JSON API to test news readers, RSS feeds, and webcomic clients without hammering the live xkcd.com endpoints.
[01]
About
Mock both endpoints of the xkcd JSON API: fetch the most recent comic or look up any comic by number. Mock responses match the live shape: comic number, title, image URL, alt text, transcript, and publication date. Handy for testing RSS aggregators, browser extensions, or any client that depends on xkcd.
Endpoints
2 across 0 resource groups
Methods
GET 2 none deprecated
OpenAPI
3.0.0 spec version 1.0.0
Source spec
2 KB · YAML
[02]
Endpoints
| GET |
/info.0.json
|
Fetch current comic and metadata. Mocked via Mockzilla.
|
| GET |
/{comicId}/info.0.json
|
Fetch comics and metadata by comic id.
|