just/mocks_
mockzilla.org →
Catalog /media /XKCD

XKCD

PROVIDER · xkcd SPEC v1.0.0 · OpenAPI 3.0.0 MOCK · LIVE
▸ TRY IT
https://api.justmocks.com/xkcd
Open mock →

Mock the xkcd JSON API to test news readers, RSS feeds, and webcomic clients without hammering the live xkcd.com endpoints.

[01]

About

overview

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

2 operations · 0 resource groups
GET /info.0.json
Fetch current comic and metadata. Mocked via Mockzilla.
GET /{comicId}/info.0.json
Fetch comics and metadata by comic id.