# Books works by author API

Get Open Library Author Works data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as id, output, and retrieve structured data including requested author identifier, open Library work identifier, work title, work subjects, and work source URL for reading catalogue, and record matching.

Documentation: https://openany.si/books/books-works-by-author-api/77efa6d5-964c-4ad5-a660-7c7e11fb4051/
API ID: 77efa6d5-964c-4ad5-a660-7c7e11fb4051
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/books/v1/author/works
Page update time: 2026-12-03T02:44:39.396Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:44:38.159Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## Open Library Author Works API

id accepts an author ID or authors URL. items contains works with their own W-suffixed identities, titles, subjects and covers. limit defaults to 50 and allows up to 100; use next\_page as page. A work can have multiple editions.

## What You Can Build

- **Reading catalogue**: Retain the returned source IDs and bibliographic links when adding entries to a reading catalogue.
- **Record matching**: Use resource identity and related author or edition records to match catalogue entries.

## Returned Data

| Field | Meaning |
| --- | --- |
| `id` | Requested author identifier |
| `items[].id` | Open Library work identifier |
| `items[].title` | Work title |
| `items[].subjects` | Work subjects |
| `items[].url` | Work source URL |
| `next_page` | Next works page |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Books works by author API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Open Library author id, or an openlibrary.org/authors link."
        },
        "limit": {
          "type": "integer",
          "description": "Results per page (default 50, max 100)."
        },
        "page": {
          "type": "integer",
          "description": "Page number."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      },
      "required": [
        "id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "attribution": {
      "type": "string"
    },
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "id": {
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "authors": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "covers": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "created": {
                "type": "string"
              },
              "description": {
                "type": "null"
              },
              "first_publish_date": {
                "type": "null"
              },
              "id": {
                "type": "string"
              },
              "last_modified": {
                "type": "string"
              },
              "subject_people": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "subject_places": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "subject_times": {
                "type": "array",
                "items": {}
              },
              "subjects": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "subtitle": {
                "type": "null"
              },
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "limit": {
      "type": "integer"
    },
    "next_page": {
      "type": "integer"
    },
    "page": {
      "type": "integer"
    },
    "total": {
      "type": "integer"
    },
    "url": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/books/v1/author/works?id=OL34184A&output=json' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "attribution": "Source: Open Library (openlibrary.org), Internet Archive",
  "cached": false,
  "count": 50,
  "credits_used": 1,
  "id": "OL34184A",
  "items": [
    {
      "authors": [
        "OL2246237A",
        "OL22098A",
        "… 4 more"
      ],
      "covers": [
        "https://covers.openlibrary.org/b/id/14533453-L.jpg",
        "https://covers.openlibrary.org/b/id/7169546-L.jpg",
        "… 4 more"
      ],
      "created": "2010-05-10T21:35:27.684096",
      "description": null,
      "first_publish_date": null,
      "id": "OL15158644W",
      "last_modified": "2026-10-25T16:36:56.091715",
      "subject_people": [
        "Harry Pope",
        "Timber Woods",
        "… 1 more"
      ],
      "subject_places": [
        "India",
        "British Empire"
      ],
      "subject_times": [],
      "subjects": [
        "English literature",
        "short story",
        "… 7 more"
      ],
      "subtitle": null,
      "title": "Adventures in English literature",
      "url": "https://openlibrary.org/works/OL15158644W"
    },
    {
      "authors": [
        "OL34184A"
      ],
      "covers": [],
      "created": "2009-12-11T01:53:26.623184",
      "description": null,
      "first_publish_date": null,
      "id": "OL9978632W",
      "last_modified": "2026-09-23T23:29:26.613717",
      "subject_people": [],
      "subject_places": [],
      "subject_times": [],
      "subjects": [],
      "subtitle": null,
      "title": "Denni - chempion mira",
      "url": "https://openlibrary.org/works/OL9978632W"
    },
    "… 48 more"
  ],
  "limit": 50,
  "next_page": 2,
  "page": 1,
  "total": 545,
  "url": "https://openlibrary.org/authors/OL34184A"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which ID belongs in id?
The Open Library author ID or authors link.

### Are items physical editions?
They are work-level records; retrieve a work to inspect its editions.

### How many works fit in one page?
limit defaults to 50 and permits up to 100.

### How do I continue?
Pass next_page as page while retaining the same author.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/books/books-works-by-author-api/77efa6d5-964c-4ad5-a660-7c7e11fb4051/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
