parse a iiif presentation api manifest to display a digitized object

domain: iiif.io · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. read the Presentation API 3.0 spec at iiif.io/api/presentation/3.0 and the accompanying Cookbook for worked examples
  2. fetch the object's manifest.json URL (published by the hosting institution), requesting it with Accept: application/ld+json;profile="http://iiif.io/api/presentation/3/context.json" for 3.0 content negotiation
  3. parse the manifest's top-level items array of Canvas resources, each representing one page or view of the object
  4. for each Canvas, read its own items (an Annotation Page) to find the Annotation that paints the image/audio/video resource onto that canvas, and extract that resource's id for use with the IIIF Image API
  5. use any Range resources in the manifest to reconstruct logical structure (e.g. chapters) when displaying a paged or structured object

Known gotchas

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans