openapi: 3.1.0
info:
title: Open Library Authors Works API
description: 'Open Library''s public, read-only REST API for searching books, authors,
and works, retrieving structured records (works, editions, authors,
subjects), fetching cover images, and pulling recent changes. No
authentication is required; clients are expected to send a descriptive
`User-Agent` header to receive a higher per-second rate limit.
'
version: 1.0.0
contact:
name: Open Library Developer Documentation
url: https://openlibrary.org/developers/api
servers:
- url: https://openlibrary.org
description: Open Library production
- url: https://covers.openlibrary.org
description: Open Library covers service
tags:
- name: Works
paths:
/works/{workId}.json:
get:
summary: Get a work
parameters:
- name: workId
in: path
required: true
schema:
type: string
responses:
'200':
$ref: '#/components/responses/Record'
tags:
- Works
components:
responses:
Record:
description: Open Library JSON record.
content:
application/json:
schema:
type: object
additionalProperties: true