# $3/1K | Internet Archive Scraper - Search & Wayback (`scrapercompany/internet-archive-scraper`) Actor

Scrape archive.org: search books, films, audio and software with title, creators, year, subjects, collections, downloads and links; read any item with its files and download links; look up Wayback Machine snapshots of any web page. Made by ScraperCompany.

- **URL**: https://apify.com/scrapercompany/internet-archive-scraper.md
- **Developed by:** [ScraperCompany](https://apify.com/scrapercompany) (community)
- **Categories:** Developer tools, News, Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 internet archive search pages

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/running/actors-in-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 Scraper - archive.org Search & Wayback

**Internet Archive Scraper** by ScraperCompany searches **archive.org** and the **Wayback Machine**.

### ⭐ Like this Actor? Leave a review

If Internet Archive Scraper saved you time, please [leave a review on the Store](https://apify.com/scrapercompany/internet-archive-scraper/reviews). It takes a minute, helps other people find a scraper that works, and tells us what to build next.

> 🟢 **Nothing to set up:** no code, no login and no keys. Click **Try for free**, start a run, and export JSON, CSV or Excel, or pull the results through the Apify API. You pay only for results; failed and empty requests are free.

### 📦 What you get

| Mode | What you get | Price | Per 1,000 |
| --- | --- | --- | --- |
| `search` | One page of archive.org books, films, audio, software and more matching a query: title, creators, media type, year, subjects, collections, downloads, rating and links | $0.003 | $3.00 |
| `item` | One archive.org item by identifier or link: metadata, and optionally its files with direct download URLs | $0.003 | $3.00 |
| `wayback` | The Wayback Machine snapshot of a URL closest to now or to a timestamp, with its link and HTTP status | $0.003 | $3.00 |
| `snapshots` | The Wayback Machine captures of a URL, oldest first, with time, status, type and snapshot link | $0.003 | $3.00 |

- 💵 **Price:** **$3 per 1,000** `search-page` events ($0.003 each); failed and empty requests are free.
- ⚙️ **Setup:** none. No account on the site, no cookies, no keys.
- 📁 **Export:** JSON, CSV, Excel or HTML from the **Output** tab, or the Apify API.
- 🔁 **Automate:** schedules, webhooks, Make, Zapier, n8n and AI agents (MCP).

### ✨ What can this Internet Archive scraper do?

**Search** returns up to 100 items a page (books, films, audio, software, images and more) with **identifier, title, creators, media type, year, language, subjects, collections, download counts, rating** and **item, download and thumbnail links**. **Item details** add the item's **files with direct download links**. **Wayback Machine** finds the **closest snapshot** of any web page, or lists **all its captures**. No login. Pricing is pay-per-event: **$0.003 per search page, item or Wayback lookup**; empty pages, unknown items and pages with no snapshot are free.

- Search by **free text or archive.org query syntax**, filtered by **media type, collection, language and year**, in any sort order.
- **Up to 100 items a page** for the price of one request; paging stops at the last page.
- **Item details** by identifier or link, optionally with **every file and its direct download link**, filtered by format (EPUB, PDF, MP3...).
- **Wayback Machine**: the snapshot closest to now or to any date, with its HTTP status.
- **All captures** of a URL, oldest first, filtered by year.
- Empty pages, unknown items and pages with no snapshot are free.

### 🚀 Quick start: how to scrape Internet Archive items and Wayback Machine snapshots

1. Click **Try for free** (or open the Actor in Apify Console) and go to the **Input** tab.
2. Enter **Search queries**, one per line. For items or the Wayback Machine, switch **Mode** and paste identifiers or web page URLs.
3. Adjust the options if needed.
4. Click **Start** and wait for the run to finish.
5. Download the results from the **Output** tab as JSON, CSV, Excel or HTML, or fetch them with the Apify API.

💡 **Tip:** run it once with the pre-filled input to see the output, then change the input to your own.

### ⚖️ What makes it different?

| | **Internet Archive Scraper** | Many alternatives |
| --- | --- | --- |
| Setup | Nothing to configure: no login, no keys | Often your own accounts, cookies or network setup |
| You pay for | Successful results; failed and empty requests are free | Often run time, or every attempt |
| When a request fails | Retried automatically, and never charged | Often an empty or failed run |

### 👥 Who uses Internet Archive data?

- **Researchers and librarians**: Build lists of books, films or recordings by subject, collection, language and year, with download links.
- **SEO and web teams**: Find how a page looked in the past, or list every Wayback capture of an expired domain.
- **Data and AI teams**: Collect public-domain texts and media with their metadata and file links.

### 🧭 Common jobs

#### A whole collection

Search <code>collection:nasa</code> (or set Collection) with 100 items a page and Pages per query at 100.

#### Public-domain books with files

Search with media type Texts, then run Item details with Include files and File formats <code>EPUB</code>.

#### History of a domain

Run All captures on the domain, filtered by year, to see when it changed.

### 📋 What Internet Archive data can you extract?

| Field | Description |
| --- | --- |
| `items[].identifier / title / creator / mediatype / year` | Which item (Search) |
| `items[].subjects / collections / language / publisher` | What it is about and where it is filed |
| `items[].downloads / avg_rating / num_reviews` | Popularity |
| `items[].url / download_url / thumbnail_url` | Links |
| `files[].name / format / size / url` | Files with direct download links (Item details) |
| `snapshot_url / timestamp / status` | Closest Wayback snapshot (Wayback Machine) |
| `snapshots[].timestamp / status / snapshot_url` | Every capture (All captures) |

Every dataset item also carries `input` (the options used for that request), `request_id` (quote it to support), `billed` and `scraped_at`.

### ⌨️ Input

| Input | Name | What it does |
| --- | --- | --- |
| `mode` | Mode | .org items, read items in full, or look up web pages in the Wayback Machine. |
| `queries` | Search queries (Search) | .org query syntax such as `title:(moby dick) AND creator:(melville)`. |
| `maxPages` | Pages per query | How many pages to fetch for each search (up to 100). Each page is a separate request and is charged separately; paging stops at the last page. |
| `mediatype` | Media type | Keep one media type. |
| `collection` | Collection | Keep one collection, by its id: `nasa`, `gutenberg`, `prelinger`. |
| `language` | Language | .g. `eng`, `fre`, `ger`. |
| `year_from` | Year from | Earliest year (inclusive). |
| `year_to` | Year to | Latest year (inclusive). |
| `sort` | Sort | Result order. |
| `rows` | Items per page | Items per page (1-100). The price is per page. |
| `items` | Items (Item details) | .org details link. |
| `includeFiles` | Include files | Also return the item's files with direct download links. |
| `fileFormats` | File formats | .g. `EPUB`, `Text PDF`, `mp3`. |
| `urls` | Web pages (Wayback Machine) | ..com/about`. |
| `timestamp`| Near this time (closest snapshot) | Prefer the snapshot nearest this time, as`YYYYMMDDhhmmss`or a prefix such as`2015`or`20150601`. |
| `captureLimit`| Most captures (all captures) | Most captures to return for each URL (1-1000). |
|`captureYearFrom`| Captures from year | With all captures, the first year to include. |
|`captureYearTo\` | Captures to year | With all captures, the last year to include. |

### 📥 Input example

This is the default input; running the Actor without changes uses it.

```json
{
  "mode": "search",
  "queries": [
    "apollo 11"
  ],
  "maxPages": 1,
  "rows": 100,
  "items": [
    "mobydickorwhale01melvuoft"
  ],
  "includeFiles": false,
  "urls": [
    "example.com"
  ],
  "captureLimit": 100,
  "includeErrors": true,
  "maxConcurrency": 3,
  "maxRetries": 2
}
```

### 📤 Output example

One dataset item per request (trimmed here; real items contain all the fields):

```json
{
  "mode": "search",
  "input": {
    "query": "apollo 11"
  },
  "items": [
    {
      "avg_rating": 3.83,
      "collections": [
        "nasa-apollo-multimedia-gallery",
        "nasa"
      ],
      "creator": [
        "NASA/Johnson Space Center"
      ],
      "date": null,
      "description": null,
      "download_url": "https://archive.org/download/Apollo1116mmOnboardFilm",
      "downloads": 300997,
      "downloads_month": null,
      "downloads_week": null,
      "identifier": "Apollo1116mmOnboardFilm",
      "isbn": [],
      "language": [],
      "mediatype": "movies",
      "num_reviews": null,
      "publicdate": null,
      "publisher": null,
      "subjects": [],
      "thumbnail_url": "https://archive.org/services/img/Apollo1116mmOnboardFilm",
      "title": "APOLLO 11 16MM ONBOARD FILM",
      "url": "https://archive.org/details/Apollo1116mmOnboardFilm",
      "year": 1969
    }
  ],
  "page": 1,
  "pages": 25,
  "query": "(apollo 11) AND mediatype:movies",
  "rows": 20,
  "search_parameters": {
    "collection": null,
    "creator": null,
    "language": null,
    "mediatype": "movies",
    "page": 1,
    "query": "apollo 11",
    "rows": 20,
    "sort": "downloads_desc",
    "title": null,
    "year_from": null,
    "year_to": null
  },
  "skipped_rows": 0,
  "total": 493,
  "request_id": "req_3f9c0d6e2b8a4c1f9e7d5b3a1c0e8f6d",
  "billed": true,
  "scraped_at": "2026-10-01T14:03:27.512Z"
}
```

A request that fails is saved with an `error` message instead (turn off **Include failed requests** to skip those). Failed requests are never charged.

### 💰 How much does it cost to scrape Internet Archive items and Wayback Machine snapshots?

This Actor uses **pay-per-event** pricing: you pay for successful requests, not for compute time.

| Event | Charged when | Price | Per 1,000 |
| --- | --- | --- | --- |
| `search-page` | One page of up to 100 archive.org items with title, creators, media type, year, subjects, collections, downloads and links. An empty page is free. | $0.003 | $3.00 |
| `item` | One archive.org item's metadata, optionally with its files and direct download links. An unknown identifier is free. | $0.003 | $3.00 |
| `wayback-lookup` | The closest Wayback Machine snapshot of one URL, or its list of captures. A URL with no snapshot is free. | $0.003 | $3.00 |

The **$3/1K** in the title is the price of 1,000 `search-page` events.

#### Cost examples

| Job | Cost |
| --- | --- |
| 5,000 items from one collection (50 pages of 100) | **$0.15** |
| 500 items with their files | **$1.50** |
| 1,000 URLs checked in the Wayback Machine | **$3.00** |

Apify's $5 of free monthly usage covers about **1,666** `search-page` events.

- ✅ Failed requests (errors, invalid input, a site refusing after retries) are **free**.
- ✅ Requests where the source returns nothing at all (no results, nothing priced) are saved but **not charged**.
- ✅ Set **Maximum cost per run** when you start a run and the Actor stops cleanly before going over it.

### 🔌 Integrations

#### ⏰ Schedules and webhooks

Use Apify **Schedules** to repeat a run hourly, daily or weekly and compare results over time, and **webhooks** or the **Integrations** tab to push new results to Make, Zapier, n8n, Google Sheets, Slack or your own warehouse.

#### 🤖 AI agents and MCP

Results are structured JSON, so they are easy to feed to a model. AI agents such as Claude can run this Actor and read its results through the [Apify MCP server](https://mcp.apify.com).

#### 💻 API: JavaScript and Python

Call the Actor from any language through the [Apify API](https://docs.apify.com/api/v2). With the JavaScript client (`npm install apify-client`):

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('scrapercompany/internet-archive-scraper').call({
    "mode": "search",
    "queries": [
        "apollo 11"
    ]
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

With Python (`pip install apify-client`):

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("scrapercompany/internet-archive-scraper").call(run_input={
    "mode": "search",
    "queries": ["apollo 11"],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

### ❓ FAQ

#### Do I need an account on the site, or an API key?

No. The Actor is ready to run as is, and you only pay the per-event prices above.

#### How many items can one search return?

Up to 100 a page and 100 pages a search: 10,000 items. Split larger sets by year or collection.

#### What does a page with no Wayback snapshot cost?

Nothing. A URL the Wayback Machine never captured is not charged.

#### Can I download the files?

Item details gives every file's direct download link; the Actor does not download the files themselves.

#### Is it legal to scrape Internet Archive items and Wayback Machine snapshots?

The Actor collects publicly available information that anyone can see without logging in. You are responsible for how you use the results: respect the source site's terms, copyright and privacy law (such as GDPR) and do not collect personal data without a lawful basis. If in doubt, ask a lawyer.

#### What happens when a request fails?

Failed attempts are retried automatically. If a request still fails it is saved with the error message and not charged, and the rest of the batch keeps going. A run only fails when every request failed.

#### Why did a request return an error?

Read the `error` field: it says what was wrong with the input, for example a malformed date or an unknown id. Fix it and run again; failed requests cost nothing.

#### How many requests can I run at once?

Any number per run. The Actor sends up to 3 requests in parallel by default (change it under **Run options**); larger batches simply take longer.

### 🔗 Related scrapers

- [Website Screenshot](https://apify.com/scrapercompany/website-screenshot-scraper): full-page screenshots of live pages
- [PubMed Scraper](https://apify.com/scrapercompany/pubmed-scraper): biomedical articles and abstracts
- [Google Search Scraper](https://apify.com/scrapercompany/google-search-scraper): organic results and SERP features

### 📝 Tried it? Tell others

Once you have run Internet Archive Scraper, a [short review on the Store](https://apify.com/scrapercompany/internet-archive-scraper/reviews) helps the next person decide.

### 💬 Support

Questions, a field you need, or a site that stopped working? Open an issue on the **Issues** tab. Include the `request_id` from the dataset item so we can trace the request. We read every issue.

# Changelog

This Actor's version history is a separate document: https://apify.com/scrapercompany/internet-archive-scraper/changelog.md

# Actor input Schema

## `mode` (type: `string`):

Search archive.org items, read items in full, or look up web pages in the Wayback Machine.

## `queries` (type: `array`):

One search per line: free text such as <code>apollo 11</code>, or archive.org query syntax such as <code>title:(moby dick) AND creator:(melville)</code>.

## `maxPages` (type: `integer`):

How many pages to fetch for each search (up to 100). Each page is a separate request and is charged separately; paging stops at the last page.

## `mediatype` (type: `string`):

Keep one media type.

## `collection` (type: `string`):

Keep one collection, by its id: <code>nasa</code>, <code>gutenberg</code>, <code>prelinger</code>.

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

Language code, e.g. <code>eng</code>, <code>fre</code>, <code>ger</code>.

## `year_from` (type: `integer`):

Earliest year (inclusive).

## `year_to` (type: `integer`):

Latest year (inclusive).

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

Result order.

## `rows` (type: `integer`):

Items per page (1-100). The price is per page.

## `items` (type: `array`):

One item per line: its identifier such as <code>mobydickorwhale01melvuoft</code> (the <code>identifier</code> from a search) or an archive.org details link.

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

Also return the item's files with direct download links.

## `fileFormats` (type: `array`):

With Include files, keep only these formats or extensions, e.g. <code>EPUB</code>, <code>Text PDF</code>, <code>mp3</code>.

## `urls` (type: `array`):

One web page per line, such as <code>example.com</code> or <code>https://example.com/about</code>.

## `timestamp` (type: `string`):

Prefer the snapshot nearest this time, as <code>YYYYMMDDhhmmss</code> or a prefix such as <code>2015</code> or <code>20150601</code>.

## `captureLimit` (type: `integer`):

Most captures to return for each URL (1-1000).

## `captureYearFrom` (type: `integer`):

With all captures, the first year to include.

## `captureYearTo` (type: `integer`):

With all captures, the last year to include.

## `customRequests` (type: `array`):

Optional list of JSON objects, one request each, using the field names shown above. Each object is merged over the options above, so you only need to give what differs. Add <code>"mode": "item"</code> with an <code>identifier</code>, or <code>"mode": "wayback"</code> with a <code>url</code>, to mix in other lookups. Example: <code>{"query":"moby dick","mediatype":"texts"}</code>

## `includeErrors` (type: `boolean`):

When on, a request that fails (for example an unknown property id) is saved as a dataset item with an <code>error</code> message so you can see what went wrong. Failed requests are never charged.

## `maxConcurrency` (type: `integer`):

How many requests run at the same time (1-8). Parallel runs share one limit, so extra requests wait for a free slot instead of failing.

## `maxRetries` (type: `integer`):

How many times a request that failed for a temporary reason is tried again right away. A request still failing then gets one more try at the end of the run, after a 30-second pause. Invalid input is never retried.

## Actor input object example

```json
{
  "mode": "search",
  "queries": [
    "apollo 11"
  ],
  "maxPages": 1,
  "sort": "relevance",
  "rows": 100,
  "items": [
    "mobydickorwhale01melvuoft"
  ],
  "includeFiles": false,
  "urls": [
    "example.com"
  ],
  "captureLimit": 100,
  "includeErrors": true,
  "maxConcurrency": 3,
  "maxRetries": 2
}
```

# Actor output Schema

## `results` (type: `string`):

One dataset item per request.

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

Counts of succeeded, failed, skipped and charged requests.

# 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 = {
    "queries": [
        "apollo 11"
    ],
    "rows": 100,
    "items": [
        "mobydickorwhale01melvuoft"
    ],
    "urls": [
        "example.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapercompany/internet-archive-scraper").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 = {
    "queries": ["apollo 11"],
    "rows": 100,
    "items": ["mobydickorwhale01melvuoft"],
    "urls": ["example.com"],
}

# Run the Actor and wait for it to finish
run = client.actor("scrapercompany/internet-archive-scraper").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 '{
  "queries": [
    "apollo 11"
  ],
  "rows": 100,
  "items": [
    "mobydickorwhale01melvuoft"
  ],
  "urls": [
    "example.com"
  ]
}' |
apify call scrapercompany/internet-archive-scraper --silent --output-dataset

```

## MCP server setup

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

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/OThDi8RNeaWw8ccXm/builds/1Fr1w9PoNAcMyrET6/openapi.json
