API Bouncer

Buy me a coffee

xkcd

Retrieve xkcd comics as JSON

Games & ComicsAuth: NoneHTTPS: YesCORS: noStatus: alive

Last verified: November 12, 2026

Reliability

100% uptime: the documentation responded in 5 of 5 checks over the last 30 days. Median response time: 490 ms.

How we check, and the most reliable APIs →

At a glance

# Fetch current comic and metadata. curl "http://xkcd.com/info.0.json"

API reference

From xkcd's OpenAPI specification (version 1.0.0), spec updated April 7, 2021, via APIs.guru.

Webcomic of romance, sarcasm, math, and language.
  • Base URL: http://xkcd.com
  • Endpoints: 2
  • Machine-readable spec: OpenAPI JSON (import into Postman, Insomnia or a code generator)
MethodPathWhat it does
GET/info.0.jsonFetch current comic and metadata.
GET/{comicId}/info.0.jsonFetch comics and metadata by comic id.

History

  • November 12, 2026: last health check, responding

See every change to the directory →