# HathiTrust catalog record API

Look up HathiTrust catalogue records by library identifiers or URL via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as oclc, output, and retrieve structured data including catalogue-record identifier, bibliographic title, author name, digitised volume identifier, and source full-view flag for library matching, and holding navigation.

Documentation: https://openany.si/hathitrust/hathitrust-catalog-record-api/2fd5e2fd-7c17-46fa-b6a4-ee2231cb0bc7/
API ID: 2fd5e2fd-7c17-46fa-b6a4-ee2231cb0bc7
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/hathitrust/v1/record
Page update time: 2026-12-03T02:45:54.660Z
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:45:53.527Z. 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
## HathiTrust Catalog Record API

Choose a supported lookup such as oclc, record id, htid, isbn, lccn or issn. A catalogue record can link multiple volumes; each volume has its own identifier and access metadata.

## What You Can Build

- **Library matching**: Connect bibliographic identifiers to a HathiTrust record.
- **Holding navigation**: Show each volume link with its own access flags.

## Returned Data

| Field | Meaning |
| --- | --- |
| `id` | Catalogue-record identifier |
| `title` | Bibliographic title |
| `authors[].name` | Author name |
| `volumes[].htid` | Digitised volume identifier |
| `volumes[].full_view` | Source full-view flag |
| `volumes[].rights` | Source access-rights description |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "HathiTrust catalog record 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": {
        "oclc": {
          "type": "string",
          "description": "OCLC number."
        },
        "id": {
          "type": "string",
          "description": "HathiTrust record number (e.g. 000578050), or a catalog.hathitrust.org/Record link."
        },
        "htid": {
          "type": "string",
          "description": "HathiTrust volume id (e.g. mdp.39015038045673), or a babel.hathitrust.org link."
        },
        "isbn": {
          "type": "string",
          "description": "ISBN-10 or ISBN-13."
        },
        "lccn": {
          "type": "string",
          "description": "Library of Congress control number."
        },
        "issn": {
          "type": "string",
          "description": "ISSN, e.g. 0028-0836."
        },
        "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."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "authors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "dates": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "relator": {
            "type": "null"
          },
          "role": {
            "type": "string"
          },
          "titles": {
            "type": "array",
            "items": {}
          },
          "type": {
            "type": "string"
          }
        }
      }
    },
    "cached": {
      "type": "boolean"
    },
    "contents": {
      "type": "array",
      "items": {}
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "dewey": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "edition": {
      "type": "null"
    },
    "format_leader": {
      "type": "string"
    },
    "genres": {
      "type": "array",
      "items": {}
    },
    "id": {
      "type": "string"
    },
    "isbns": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "issns": {
      "type": "array",
      "items": {}
    },
    "language": {
      "type": "string"
    },
    "languages": {
      "type": "array",
      "items": {}
    },
    "lc_call_numbers": {
      "type": "array",
      "items": {}
    },
    "lccns": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "lookup": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      }
    },
    "marc_fields": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "ind1": {
                "type": "string"
              },
              "ind2": {
                "type": "string"
              },
              "subfields": {
                "type": "object",
                "properties": {
                  "a": {
                    "type": "string"
                  }
                }
              },
              "tag": {
                "type": "string"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "notes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "oclcs": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "other_records": {
      "type": "array",
      "items": {}
    },
    "physical_description": {
      "type": "string"
    },
    "place_code": {
      "type": "string"
    },
    "publish_dates": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "published": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "place": {
            "type": "string"
          },
          "publisher": {
            "type": "string"
          }
        }
      }
    },
    "series": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "statement_of_responsibility": {
      "type": "null"
    },
    "subjects": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "heading": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      }
    },
    "summary": {
      "type": "null"
    },
    "title": {
      "type": "string"
    },
    "titles": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "uniform_title": {
      "type": "null"
    },
    "url": {
      "type": "string"
    },
    "varying_titles": {
      "type": "array",
      "items": {}
    },
    "volume_count": {
      "type": "integer"
    },
    "volumes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "contributor": {
            "type": "string"
          },
          "description": {
            "type": "null"
          },
          "full_view": {
            "type": "boolean"
          },
          "htid": {
            "type": "string"
          },
          "last_update": {
            "type": "string"
          },
          "record_id": {
            "type": "string"
          },
          "rights": {
            "type": "string"
          },
          "rights_code": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/hathitrust/v1/record?oclc=424023&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
{
  "authors": [
    {
      "dates": "1922-1990",
      "name": "Hirschman, I. I",
      "relator": null,
      "role": "main",
      "titles": [],
      "type": "person"
    }
  ],
  "cached": false,
  "contents": [],
  "count": 1,
  "credits_used": 1,
  "dewey": [
    "517.21"
  ],
  "edition": null,
  "format_leader": "01229nam a22003251  4500",
  "genres": [],
  "id": "000578050",
  "isbns": [
    "9780030110405",
    "9780030110405"
  ],
  "issns": [],
  "language": "eng",
  "languages": [],
  "lc_call_numbers": [],
  "lccns": [
    "62009520"
  ],
  "lookup": {
    "type": "oclc",
    "value": "424023"
  },
  "marc_fields": [
    {
      "ind1": " ",
      "ind2": " ",
      "subfields": {
        "a": "62009520"
      },
      "tag": "010"
    },
    {
      "ind1": " ",
      "ind2": " ",
      "subfields": {
        "a": "0030110408"
      },
      "tag": "020"
    },
    "… 30 more"
  ],
  "notes": [
    "Mode of access: Internet"
  ],
  "oclcs": [
    "424023"
  ],
  "other_records": [],
  "physical_description": "173 p. : illus",
  "place_code": "nyu",
  "publish_dates": [
    "1962"
  ],
  "published": [
    {
      "date": "[c1962]",
      "place": "New York",
      "publisher": "Holt, Rinehart and Winston"
    }
  ],
  "series": [
    "Athena series; selected topics in mathematics"
  ],
  "statement_of_responsibility": null,
  "subjects": [
    {
      "heading": "Series, Infinite",
      "type": "topic"
    }
  ],
  "summary": null,
  "title": "Infinite series",
  "titles": [
    "Infinite series"
  ],
  "uniform_title": null,
  "url": "https://catalog.hathitrust.org/Record/000578050",
  "varying_titles": [],
  "volume_count": 2,
  "volumes": [
    {
      "contributor": "University of Michigan",
      "description": null,
      "full_view": false,
      "htid": "mdp.39015025315527",
      "last_update": "2026-03-05",
      "record_id": "000578050",
      "rights": "Limited (search-only)",
      "rights_code": "ic",
      "url": "https://babel.hathitrust.org/cgi/pt?id=mdp.39015025315527"
    },
    {
      "contributor": "University of California",
      "description": null,
      "full_view": false,
      "htid": "uc1.b4405602",
      "last_update": "2025-02-26",
      "record_id": "000578050",
      "rights": "Limited (search-only)",
      "rights_code": "ic",
      "url": "https://babel.hathitrust.org/cgi/pt?id=uc1.b4405602"
    }
  ]
}
```

## 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 lookup keys are supported?
Use OCLC, catalogue record ID, HathiTrust volume ID, ISBN-10 or ISBN-13, LCCN or ISSN through their documented input fields.

### Are record id and htid interchangeable?
No. id identifies a catalogue record, while htid identifies a digitised volume. One record can contain multiple volumes.

### Does a volume link guarantee full-text access?
No. Read full_view, rights and rights_code for each volume. A search-only holding is not full-view access.

### Does this endpoint download a book?
No. It returns catalogue metadata and volume links. Reading or downloading available content happens at the linked source.

### 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/hathitrust/hathitrust-catalog-record-api/2fd5e2fd-7c17-46fa-b6a4-ee2231cb0bc7/

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