Get Internet Archive Item
ia_get_itemRetrieve metadata and the file manifest for an Internet Archive item by identifier. Returns title, creator, description (as plain text), the publication date, when the item was made public and when it was added to the Archive, subjects, collections, license, language, publisher, ISBN, OCLC and LCCN numbers, Open Library edition and work IDs, volume, the running time of an audio or video item, the page-image count of a text item, whether the item is access-restricted, the total file count, and a page of files, each with its format, size, and direct download URL, and for an audio or video file the track title, track number, and duration it is catalogued with; a file marked private cannot be downloaded. Pages hold up to max_files files (default 50, at most 500 per call) starting at file_offset; set format to keep a single file type (e.g. "DjVuTXT", "Text PDF", "VBR MP3"). The primary tool to act on a search result from ia_search_items. Use ia_get_text to retrieve the readable text of a text item.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"identifier": "<identifier>"
},
"name": "ia_get_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Keep only files whose format equals this value, ignoring case — e.g. "DjVuTXT", "Text PDF", "VBR MP3". Applied before paging. Omit to list every format. | |
| max_files | No | Maximum number of files to return (default 50). One call returns at most 500: a larger value (up to 300,000) is served as 500, with a notice naming the next file_offset. | |
| identifier | Yes | Internet Archive item identifier, e.g. "prideprejudice00aust" (Pride and Prejudice), from ia_search_items results; or an archive.org item URL, such as https://archive.org/details/prideprejudice00aust or its download, stream, metadata, or embed form, read as the identifier it names. | |
| file_offset | No | Zero-based position in the (format-filtered) file list to start from (default 0). To read the next page, add the number of files returned to the previous file_offset, or pass the file_offset the notice names. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | The page size applied: max_files, or 500 when a larger value was capped. | |
| date | No | Publication date when provided; a few records carry a list, relayed as received. For when the item reached the Archive, see publicdate and addeddate. | |
| isbn | No | ISBN(s) when provided, as catalogued. | |
| lccn | No | Library of Congress Control Number(s) when provided. | |
| error | No | Present when the call failed. Absent on success. | |
| files | No | This page of the manifest in upstream order — up to max_files files (at most 500) from file_offset, after the format filter. | |
| shown | No | Number of files returned on this page. | |
| title | No | Item title when provided; a few records carry a list, relayed as received. | |
| notice | No | Paging guidance with the next file_offset, or the formats present when the filter matched nothing. | |
| rights | No | Rights statement when provided; a few records carry a list, relayed as received. | |
| volume | No | Volume designation when provided (e.g. "2", "v.6", "ser. 3, v. 10 (1912-16)"); a few records carry a list (e.g. ["1931", "18"]), relayed as received. | |
| creator | No | Creator or author name(s) when provided. | |
| oclc_id | No | OCLC (WorldCat) number(s) when provided. | |
| runtime | No | Total running time of an audio or video item as catalogued, e.g. "13:06:44", "20:33", or free text such as "27 min 13 sec"; a list is relayed as received. | |
| subject | No | Subject or topic tag(s) when provided. | |
| language | No | Language(s) of the item when provided. | |
| addeddate | No | When the item was added to the Archive, as the Metadata API stores it: "YYYY-MM-DD HH:MM:SS" in UTC, or on some records a bare "YYYY-MM-DD"; a list is relayed as received. | |
| mediatype | No | Media type (texts, audio, movies, etc.); a list is relayed as received. | |
| publisher | No | Publisher statement (e.g. "London : George Allen") when provided; a few records carry a list, relayed as received. | |
| truncated | No | True when more files remain past this page. | |
| collection | No | Collection(s) this item belongs to when provided. | |
| file_count | No | Total number of files in the full item manifest, before filtering and paging. | |
| identifier | No | The item identifier. | |
| licenseurl | No | License URL when provided; a few records carry a list, relayed as received. | |
| publicdate | No | When the item was made public on the Archive, as the Metadata API stores it: "YYYY-MM-DD HH:MM:SS" in UTC; a list is relayed as received. Nearly every item has it, dated or not. | |
| totalCount | No | Number of files matching the format filter, before paging. | |
| description | No | Item description when provided, converted from the HTML the Archive stores to plain text: <br> and each paragraph, div, or list item start a new line, existing line breaks are kept, and a link reads as its label followed by its URL in parentheses. | |
| image_count | No | Number of scanned page images of a texts item, covers and calibration cards included — not a printed page count. Omitted for other media types, where the Archive counts something else. | |
| openlibrary_work | No | Open Library work ID (e.g. "OL66554W") when provided; a list is relayed as received. | |
| access_restricted | No | Present when the item is in an access-restricted collection, such as a lending library. Whether a download is refused is per file: see each file’s private. | |
| openlibrary_edition | No | Open Library edition ID (e.g. "OL7173379M") when provided; a list is relayed as received. |