Skip to main content


OCLC Support

IIIF API reference

The International Image Interoperability Framework (IIIF) is a community effort among the world’s leading research libraries and image repositories to collaboratively produce an interoperable technology and community framework for image delivery.

OCLC and CONTENTdm are part of this community effort and support the APIs defined by IIIF. CONTENTdm repositories now have full support for the IIIF Image and Presentation APIs for all image-based records.

Working with the IIIF Image API

CONTENTdm utilizes the IIIF Image API to build its default image display. Here is an example record of a CONTENTdm image (click the double diagonal arrow button on the upper-right corner of the image to see the viewer):

To verify that a CONTENTdm image is supported by the IIIF Image API, a request can be made to return a JSON document providing image information, including width, height, and scaling information. This CONTENTdm image information URL pattern follows the IIIF Image API specification:

{base CONTENTdm URL}/digital/iiif/{CONTENTdm collection alias}/{Record identifier}/info.json

For the example record noted above, the "info.json" URL is:

The IIIF Image API is a powerful and flexible service for interaction with digital images. For example, here's a request to generate a JPEG of the entire image at 15% zoom:

And here's another request, showing a selected detail from the full image:,1000,1200,1400/pct:15/0/default.jpg

And one more example, showing the image resized for use as a thumbnail image:,/0/default.jpg

For more information on these and other methods for calling the CONTENTdm IIIF Image API service, please consult the IIIF Image API specification.

Working with the IIIF Presentation API

The same example above also support an IIIF Presentation API response. The IIIF Presentation API call that returns the JSON manifest is:

CONTENTdm's Presentation API request URL follows the pattern described in the IIIF Presentation API specification:

{base CONTENTdm URL}/digital/iiif-info/{CONTENTdm collection alias}/{Record identifier}

For more information on these and other methods for calling the CONTENTdm IIIF Presentation API service, please consult the IIIF Presentation API specification.

A note about HTTPS

CONTENTdm's IIIF API functionality supports HTTPS requests. If the URL being requested is at *, both the Image and Presentation API requests will automatically redirect to HTTPS. This allows you to include IIIF calls directly in your other content served over HTTPS.

If your CONTENTdm website uses a custom URL (not * you will need to work with OCLC Support  to install your SSL certificates to enable HTTPS support.



  • Was this article helpful?