Read an item
get_itemRetrieve an Internet Archive item's metadata and downloadable files by its identifier. Request optional sections for basic info, file lists, or full metadata, and filter files by format.
Instructions
Read one Internet Archive item by its identifier, as returned by search_items or search_inside. Sections are opt-in: 'basic' is the default and covers what a description needs. 'files' lists the downloadable files, which on a scanned film or book run to dozens of derivatives, so filter by format when a particular one is wanted. 'full_metadata' returns every field the Archive publishes for the item, which is large and rarely needed. 'file_count' and 'total_bytes' are always reported, whether or not the file list was asked for.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sections | No | Which parts to return. Each one beyond 'basic' adds to the size of the answer. | |
| max_files | No | Ceiling on files returned. | |
| identifier | Yes | Archive identifier, such as 'nasa'. It is the last part of an item's address rather than the address itself, and it is matched exactly, capitals included. | |
| file_format | No | Keep only files of this format, such as 'PDF' or 'MP3'. Matched case-insensitively. | |
| max_description_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| item | Yes | ||
| files | No | ||
| notes | Yes | ||
| language | Yes | ||
| publisher | Yes | ||
| file_count | Yes | Files the item holds, whatever this answer returned. | |
| collections | Yes | Collections the item sits in. | |
| description | Yes | ||
| license_url | Yes | Terms the uploader attached, when they attached any. | |
| total_bytes | Yes | ||
| full_metadata | No |