# Internet Archive Catalog & Metadata Scraper (`onomatopoeia_dev/internet-archive-catalog`) Actor

Search archive.org by keyword, mediatype, collection and date. Export clean item rows with links, optional full metadata and file lists. Official public APIs, no proxy or login.

- **URL**: https://apify.com/onomatopoeia_dev/internet-archive-catalog.md
- **Developed by:** [onomatopoeia](https://apify.com/onomatopoeia_dev) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 result items

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Internet Archive Catalog & Metadata Search (archive.org API)

**Search the Internet Archive catalog and export clean, flat item data — titles, creators, dates, media types, collections, download counts, links and optionally full metadata and file lists — as JSON, CSV or Excel.**

This Actor uses archive.org's **official public search and metadata APIs**. It needs **no login, no API key and no proxies**, and it only reads **metadata and links**. It never downloads the books, videos, audio or software themselves.

> Not affiliated with, endorsed by or sponsored by the Internet Archive. "Internet Archive" and "archive.org" are trademarks of their owner.

### What can you do with it?

- **Build a catalog or dataset** of books, films, audio, software, images or web archives by keyword, collection, creator, subject, language or date.
- **Export an entire collection** (for example `nasa`, `prelinger`, `americana`) to a spreadsheet, including very large ones — results are paged with archive.org's cursor-based scrape API.
- **Rank by popularity**: sort by all-time, weekly or monthly downloads, rating, size or date.
- **Monitor new uploads**: filter by `publicdate` (when an item became public) and schedule the Actor daily.
- **Enrich a list of identifiers** with full metadata and file lists (names, formats, sizes, checksums and direct links).
- **Feed AI and research pipelines** with a clean list of public-domain or openly licensed items and their license URLs.

### Why this Actor

| | |
|---|---|
| **Official APIs** | archive.org search (cursor-based scrape API) and `/metadata/{identifier}` — no HTML scraping. |
| **Handles big exports** | Cursor paging, not page numbers, so you are not stopped at 10,000 results. |
| **Clean flat schema** | One row per item with stable field names; arrays for creators, collections, subjects. |
| **Cheap and light** | No browser, no proxy, 512 MB of memory. Pay only for the items you get. |
| **Polite by design** | Rate-limited requests (default 2/second), exponential backoff, `Retry-After` support. |
| **Resumable** | Safe across Apify platform migrations and restarts — no duplicate items. |
| **Spend control** | Respects your **maximum cost per run**; stops cleanly when the limit is hit. |

### Input

| Field | Type | Description |
|---|---|---|
| `query` | string | Keywords or archive.org Lucene syntax, e.g. `moon landing`, `title:"apollo 11"`, `creator:nasa AND subject:apollo`. |
| `mediatypes` | array | `texts`, `movies`, `audio`, `software`, `image`, `data`, `web`, `collection`, `etree`, `education`, `account`. |
| `collections` | array | Collection identifiers such as `nasa`, `prelinger`, `opensource_audio`. |
| `creator`, `subject`, `language` | string | Exact-match filters. |
| `identifiers` | array | Look up known items by identifier (the last part of `archive.org/details/<identifier>`). |
| `dateField` | enum | `date` (item date), `publicdate` (published on archive.org) or `addeddate`. |
| `dateFrom`, `dateTo` | string | Inclusive range. Accepts `YYYY`, `YYYY-MM` or `YYYY-MM-DD`. |
| `sort` | enum | `default`, `downloads desc`, `week desc`, `month desc`, `publicdate desc/asc`, `date desc/asc`, `addeddate desc/asc`, `title asc`, `item_size desc`, `avg_rating desc`. |
| `maxItems` | integer | Maximum items to return (default 100). |
| `includeMetadata` | boolean | Add the full `metadata` object per item (one extra request per item). |
| `includeFiles` | boolean | Add a `files` list with direct links, sizes and checksums (one extra request per item). |
| `requestsPerSecond` | integer | Politeness limit, 1–5 (default 2). |

You must provide at least one of: `query`, `identifiers`, or a filter.

#### Example inputs

**Most downloaded NASA films**

```json
{
  "collections": ["nasa"],
  "mediatypes": ["movies"],
  "sort": "downloads desc",
  "maxItems": 500
}
```

**Everything about Apollo 11 uploaded to archive.org in the last month, with files**

```json
{
  "query": "apollo 11",
  "dateField": "publicdate",
  "dateFrom": "2026-10-28",
  "sort": "publicdate desc",
  "includeFiles": true,
  "maxItems": 200
}
```

**Full metadata for a list of items**

```json
{
  "identifiers": ["xfetch", "nasa", "PartiallyRestoredVideoEventsFromTheApollo11Mission"],
  "includeMetadata": true,
  "includeFiles": true
}
```

### Output

One dataset row per item. Example (shortened):

```json
{
  "identifier": "PartiallyRestoredVideoEventsFromTheApollo11Mission",
  "url": "https://archive.org/details/PartiallyRestoredVideoEventsFromTheApollo11Mission",
  "downloadUrl": "https://archive.org/download/PartiallyRestoredVideoEventsFromTheApollo11Mission",
  "thumbnailUrl": "https://archive.org/services/img/PartiallyRestoredVideoEventsFromTheApollo11Mission",
  "title": "Partially Restored Video: Events from the Apollo 11 Mission",
  "mediatype": "movies",
  "creators": ["NASA/Goddard Space Flight Center"],
  "collections": ["nasa", "partiallyrestoredapollo11video"],
  "favoriteCount": 8,
  "subjects": ["What -- Apollo", "Who -- Neil A. Armstrong", "Who -- Buzz Aldrin"],
  "date": "2009-01-01T00:00:00Z",
  "year": 2009,
  "publicDate": "2009-08-11T02:53:59Z",
  "downloads": 32024,
  "downloadsLastWeek": 89,
  "downloadsLastMonth": 207,
  "avgRating": 4,
  "reviewCount": 1,
  "sizeBytes": 124107108,
  "fileCount": 17,
  "formats": ["512Kb MPEG4", "Ogg Video", "QuickTime", "h.264"],
  "licenseUrl": null,
  "files": [
    {
      "name": "Apollo_11_Intro_H264_720p.mov",
      "url": "https://archive.org/download/PartiallyRestoredVideoEventsFromTheApollo11Mission/Apollo_11_Intro_H264_720p.mov",
      "format": "QuickTime",
      "source": "original",
      "sizeBytes": 88583300,
      "md5": "c1cc76235d841823d83cba73acd4fa04"
    }
  ],
  "scrapedAt": "2026-11-28T19:45:24.398Z"
}
```

`metadata` (full item metadata) and `files` only appear when you enable `includeMetadata` / `includeFiles`. If details cannot be loaded for an item (for example it was removed), the row is still returned with a `detailsError` field.

Notes on the data:

- `collections` lists real collections. archive.org also puts items into hundreds of per-user `fav-…` favorites lists; these are counted in `favoriteCount` instead of being listed.
- Descriptions are truncated to 5,000 characters. E-mail addresses found in descriptions and metadata are masked, and the `uploader` / `updater` account fields are never exported.
- The Actor also stores a `RUN_SUMMARY` record (items stored, total matches reported by archive.org, why the run stopped).

### Pricing

This Actor uses **pay-per-event** pricing: you pay for each **item** returned (plus Apify's standard Actor-start event). There is no monthly rental. Launch price: **$0.0025 per item ($2.50 per 1,000 items)**; the pricing panel on this page always shows the current price.

- Searching, paging, rate limiting and metadata/file-list enrichment are included in the item price.
- Set **Maximum cost per run** when starting the Actor; it stops cleanly when the budget is used.
- Apify platform usage is included in the event price. Runs use a few seconds to a few minutes of a 512 MB container; no proxy costs.

### Speed

- Plain catalog rows: about 1,000 items per few seconds (one request per 1,000 items).
- With `includeMetadata` or `includeFiles`: one extra request per item. At the default 2 requests per second that is about 2 items per second, i.e. roughly 8 minutes per 1,000 items. This keeps the load on archive.org small.

### Use it from code

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('onomatopoeia_dev/internet-archive-catalog').call({
    collections: ['prelinger'],
    mediatypes: ['movies'],
    sort: 'downloads desc',
    maxItems: 1000,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length, items[0].url);
```

It also works with Apify schedules, webhooks, Make, Zapier, n8n, Google Sheets and the Apify MCP server for AI agents.

### Tips

- Query syntax is archive.org's Lucene syntax: `AND`, `OR`, `NOT`, quotes for phrases, and field prefixes such as `title:`, `creator:`, `subject:`, `collection:`, `mediatype:`, `language:`, `year:`.
- To export a whole collection, use `collections` with the `default` sort, which orders by identifier and is the most stable for very long exports.
- Dates: `date` is the item's own date and is missing for many items; use `publicdate` to find what was recently added.
- Unknown identifiers are simply skipped.

### Legal and responsible use

- **Metadata and links only.** The Actor reads public catalog metadata and builds links to items and files. It does not download, copy or redistribute the content itself.
- It uses archive.org's documented public APIs at a low request rate and identifies itself with a descriptive User-Agent. Please keep `requestsPerSecond` low and respect the [Internet Archive Terms of Use](https://archive.org/about/terms.php).
- Items on archive.org have different copyright and license status. Before reusing or redistributing any file, check the item's license (`licenseUrl`) and rights information yourself.
- Creator names are public bibliographic metadata. If you process data about identifiable people, you are responsible for compliance with GDPR and similar laws. E-mail addresses are masked in output and uploader account fields are removed.
- You are responsible for how you use the exported data.

### FAQ

**Does it download files?** No. It only returns links.

**Is there a result limit?** No fixed limit; use `maxItems`. Large exports use cursor paging.

**Why is `date` empty for some items?** Not every item has an item date. Use `publicDate` or `addedDate`.

**Do I need an archive.org account?** No. Restricted or dark items are not visible through the public API and cannot be returned.

**Something looks wrong or a field is missing.** Open an issue from the Actor's *Issues* tab with your input and the run link.

# Actor input Schema

## `query` (type: `string`):

Keywords to search for. Supports archive.org Lucene syntax, e.g. `title:"moon landing"`, `creator:nasa AND subject:apollo` or `apollo OR gemini`. Leave empty to use only the filters below.

## `mediatypes` (type: `array`):

Only return items of these media types. Leave empty for all types.

## `collections` (type: `array`):

Only return items that belong to one of these collection identifiers, e.g. `nasa`, `prelinger`, `americana`, `opensource_audio`. The identifier is the last part of a collection URL like archive.org/details/**nasa**.

## `creator` (type: `string`):

Exact creator / author / uploader-credited name, e.g. `NASA` or `Mark Twain`.

## `subject` (type: `string`):

Items tagged with this subject, e.g. `apollo` or `jazz`.

## `language` (type: `string`):

Language as stored by archive.org, e.g. `English`, `French` or an ISO code like `eng`.

## `identifiers` (type: `array`):

Look up known items by identifier (the last part of an item URL like archive.org/details/**xfetch**). Can be combined with the filters above. Identifiers that do not exist are skipped.

## `dateField` (type: `string`):

Which date the range below applies to. `date` is the item's own publication/creation date, `publicdate` is when it became public on archive.org, `addeddate` is when it was added.

## `dateFrom` (type: `string`):

Start of the date range (inclusive). Format `YYYY`, `YYYY-MM` or `YYYY-MM-DD`.

## `dateTo` (type: `string`):

End of the date range (inclusive). Format `YYYY`, `YYYY-MM` or `YYYY-MM-DD`.

## `sort` (type: `string`):

How results are ordered. `default` is the fastest and is stable for very large exports.

## `maxItems` (type: `integer`):

Maximum number of items to return. You are charged per item returned, so this also caps your cost.

## `includeMetadata` (type: `boolean`):

Adds a `metadata` object with every metadata field archive.org stores for the item (from /metadata/{identifier}). Slower: one extra API request per item.

## `includeFiles` (type: `boolean`):

Adds a `files` array (name, format, size, checksums, direct download link) per item. Links only: the files are never downloaded. Slower: one extra API request per item.

## `requestsPerSecond` (type: `integer`):

Politeness limit for requests sent to archive.org. Keep it low to avoid being rate limited.

## Actor input object example

```json
{
  "query": "moon landing",
  "mediatypes": [
    "movies"
  ],
  "dateField": "date",
  "sort": "default",
  "maxItems": 20,
  "includeMetadata": false,
  "includeFiles": false,
  "requestsPerSecond": 2
}
```

# Actor output Schema

## `items` (type: `string`):

No description

## `overview` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "query": "moon landing",
    "mediatypes": [
        "movies"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("onomatopoeia_dev/internet-archive-catalog").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "query": "moon landing",
    "mediatypes": ["movies"],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("onomatopoeia_dev/internet-archive-catalog").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "query": "moon landing",
  "mediatypes": [
    "movies"
  ],
  "maxItems": 20
}' |
apify call onomatopoeia_dev/internet-archive-catalog --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,onomatopoeia_dev/internet-archive-catalog"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/XwUZ0dlfPiHXhcWIc/builds/rGYKdx1ai6B17LaUl/openapi.json
