# Source Library API

**Canonical:** https://apis.io/apis/sourcelibrary-org/sourcelibrary-org-api/  
**Provider:** Source Library — https://apis.io/providers/sourcelibrary-org/  
**Documentation:** https://sourcelibrary.org/developers

Source Library API is published by [Source Library](https://apis.io/providers/sourcelibrary-org/) on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 1 JSON Schema definition. The published artifact set on APIs.io includes an OpenAPI specification and 1 JSON Schema.

Source Library API as documented publicly: 16 operations. Contract generated from the documentation by API Evangelist (2026-11-25); not the provider's own document.

## Operations (16)

| Method | Path | Summary |
|---|---|---|
| GET | `/api/dataset/v1/usage` | Your own meter: GET /api/dataset/v1/usage with your key. |
| POST | `/api/mcp` | POST /api/mcp |
| GET | `/books/{id}` | Book metadata, summary, DOI |
| GET | `/books/{id}/quote` | Single-page text for verbatim quoting |
| GET | `/books/{id}/search` | Search within a book's pages |
| GET | `/books/{id}/text` | Get full book text (OCR, translation, or both) in a single call |
| GET | `/catalog/author-search` | Find canonical authors by name. |
| GET | `/catalog/csv` | Download the full catalogue as CSV |
| GET | `/gallery` | Search 200,000+ historical illustrations. Enumerating the corpus? Pass maxPerBook=1000 ; it defaults to 3 per book so no single volume dominates the browse |
| GET | `/gallery/collections` | List curated image collections (visual + thematic) with cover images and counts |
| GET | `/gallery/collections/{slug}` | One image collection with resolved items; imageCount always equals items delivered |
| GET | `/libraries` | GET /libraries |
| GET | `/search` | Full-text search across books and page content |
| GET | `/vectors/{store}` | Embedding vectors: books, gallery, clip (visual), artworks. |
| GET | `/verify` | Flat alias of /books/:id/quote: verbatim page text + citation block, for web agents with URL allow-lists |
| GET | `/works` | Works held in many editions across centuries, with witness counts and year spans. |

## Machine-readable artifacts (3)

- **OpenAPI** — https://artifacts.apis.io/sourcelibrary-org/openapi/_ae-authored/sourcelibrary-org-openapi-generated.yml
- **JSONSchema** — https://artifacts.apis.io/sourcelibrary-org/json-schema/sourcelibrary-org-post-api-mcp-request-schema.json
- **APIsJSON** — https://artifacts.apis.io/sourcelibrary-org/apis.yml

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/sourcelibrary-org` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/sourcelibrary-org/sourcelibrary-org-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/sourcelibrary-org/.
