# IIIF Page Image URLs by Work and Leaf

> IIIF Page Image URLs by Work and Leaf is a paid API for AI agents from agentdataapi.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns direct IIIF image URLs at multiple resolutions for a specific page/leaf of a public-domain illustrated classic, along with work context and provenance.

## Facts

- Endpoint: GET https://agentdataapi.onrender.com/archive/page
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/iiif-page-image-urls-by-work-and-leaf-0cde071e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bFyJsQZq7rqTwygr4rdSW

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 iiif-page-image-urls-by-work-and-leaf-0cde071e
```

Example prompt: Can you get me the IIIF image URLs in multiple resolutions for leaf 12 of the illustrated classic with work ID 'machinae_novae'?

## When to prefer this

Use this endpoint when you need image URLs for a specific individual page or leaf from a public-domain illustrated classic, and you already know the work identifier and leaf number. Prefer this over the full work package endpoint when you only need one page rather than the entire plate set.

## Known failure modes

- Invalid or unknown work_id returns 404 or empty result
- Leaf number out of range for the specified work returns error
- Service temporarily unavailable on Render cold start (503 or timeout)
- Payment not processed correctly returns 402 Payment Required
- Missing required query params returns 400 Bad Request

## How this service works

Direct IIIF image URLs (multiple resolutions) for a specific page of a public-domain illustrated classic, with work context and provenance. Params: ?work=<work_id>&leaf=<n>

## Output

A structured response containing direct IIIF image URLs at multiple resolutions for the specified page/leaf, along with contextual metadata about the work (title, date, provenance) and the specific page within the work.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "leaf": 42,
  "images": {
   "small": "https://iiif.archive.org/iiif/gri_33125009356607$42/full/400,/0/default.jpg"
  },
  "license": "public domain",
  "work_id": "ramelli-machine-1588"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/iiif-page-image-urls-by-work-and-leaf-0cde071e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdataapi.onrender.com](https://www.zero.xyz/host/agentdataapi.onrender.com/llms.txt)
