Definition
A method of exposing a library’s or repository’s functionality, content and descriptive metadata through a documented programmatic interface (API) so external systems can query, retrieve, or manipulate resources in an automated, repeatable and controlled way.

Principle

Principle
An API encodes a programmatic contract: structured requests return structured responses under defined constraints (endpoints, parameters, authentication, rate limits), enabling stable integration and automated reuse without requiring full-content scraping.

Demonstration

Demonstration
Illustrative scenario: A discovery service issues authenticated API queries to a repository endpoint for bibliographic records matching a subject filter; the repository returns JSON records and a timestamped cursor, allowing the service to ingest only changed records and preserve metadata provenance.

Misapplication

Misapplication
Treating an API as if it were a raw copy of the entire collection (for example, assuming the API supplies complete archival content) is a semantic error: an API exposes a defined subset and representation under contract, not necessarily the institution’s full holdings or preservation-grade objects.

Consequence

Consequence
When available and used correctly, APIs enable interoperability, selective synchronization, and predictable update workflows; they also create operational dependencies on the provider’s contract, versioning and access policies that affect availability and long‑term integration.

Reversal

Reversal
If an API is absent, deprecated, severely rate‑limited, or intentionally restricted for preservation content, programmatic access by other means (scheduled bulk export, agreed data transfer, or selective harvesting) may be required; conversely, an API does not obviate the need for preservation strategies.

Boundary

Boundary
Clearly within: documented REST/GraphQL/OAI‑style endpoints that return structured metadata and allow queries. Boundary case: an institution-provided machine-readable web feed that lacks query endpoints (useful but not a full API). Clearly outside: manual download of individual files via a web UI or ad hoc HTML scraping without a documented interface.

Semantic Tension

Semantic Tension
Control ↔ Accessibility — APIs give providers control over representations, access rules and change cadence while enabling external systems to integrate; the need to preserve institutional control can constrain openness and discoverability.

Synthesis

Synthesis
API‑based access is a programmatic contract: it replaces ad hoc retrieval with defined, automatable interactions that improve stability and interoperability but shift the problem from bulk capture to contract management and dependency on provider policies.