# x402-toolbox XKCD Comic Fetcher

> x402-toolbox XKCD Comic Fetcher is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Fetches the latest or a specific XKCD comic strip, returning its metadata and image via a pay-per-call x402 micropayment.

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/media/xkcd-comic?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-toolbox-xkcd-comic-fetcher-e62a2232
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ahUHmIZBMaqxlFszuiyC-

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-toolbox-xkcd-comic-fetcher-e62a2232
```

Example prompt: Can you grab the latest XKCD comic and show me the title and image?

## When to prefer this

Choose this endpoint when you need quick, no-signup access to XKCD comic data using USDC micropayments over x402, especially in autonomous agent workflows where managing API keys is impractical and a sub-cent payment per call is acceptable.

## Known failure modes

- Payment not included or insufficient — returns 402 Payment Required
- Invalid schema parameter — returns 400 Bad Request
- XKCD upstream unavailable — returns 502 or 503
- Comic number not found — returns 404 Not Found

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

Returns a JSON object with ok and paid status flags, plus XKCD comic data such as the comic number, title, image URL, and alt/hover text for the current or requested comic strip.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-toolbox-xkcd-comic-fetcher-e62a2232/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
