# Internet Archive Product Scraper (`fullcirclescrapper/internet-archive-scraper`) Actor

Extract products, prices, availability and sellers from archive.org

- **URL**: https://apify.com/fullcirclescrapper/internet-archive-scraper.md
- **Developed by:** [Fernando Akio Pucci](https://apify.com/fullcirclescrapper) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 record scrapeds

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

### What does Internet Archive Scraper do?

Two tools in one Actor, both powered by archive.org's public APIs:

1. **Search mode** — query the Internet Archive's collections (books, audio,
   video, software, web) with full Lucene syntax and export item metadata at
   scale: identifier, title, media type, dates, download counts, creator,
   subjects.
2. **Wayback mode** — list the historical snapshots of any URL from the
   Wayback Machine: when each capture happened, HTTP status, MIME type and a
   direct link to the archived page.

### Why scrape the Internet Archive?

- **Dataset building** — bulk metadata for research corpora (books, radio,
  concerts, old software).
- **Web history & compliance** — prove what a page said and when it changed.
- **SEO & domain research** — a domain's full capture history in one CSV.
- **Digital humanities** — the Archive is the largest public library ever
  assembled; this gives you its card catalog, structured.

### How do I use it?

1. Click **Try for free** — the prefilled search works as-is.
2. Pick a mode: a search query (`collection:librivoxaudio`,
   `subject:brasil AND mediatype:texts`) or a URL for snapshot history.
3. Run and download JSON/CSV — or connect the Apify API / MCP server.

### How much will it cost?

**$1.00 per 1,000 records** ($0.001 each) plus a $0.005 start fee.
Typical research pulls (1,000–20,000 records) cost **$1–20**; a full
100,000-record corpus costs $100.

### ⬇️ Input

```json
{
  "mode": "search",
  "query": "subject:brasil AND mediatype:texts",
  "maxItems": 1000
}
```

```json
{
  "mode": "wayback",
  "url": "apify.com",
  "fromDate": "20200101",
  "maxItems": 500
}
```

### ⬆️ Output (real examples)

```json
{
  "record_type": "item",
  "identifier": "brasilcolonial00unse",
  "url": "https://archive.org/details/brasilcolonial00unse",
  "title": "Brasil colonial",
  "mediatype": "texts",
  "downloads": 1243,
  "creator": "…",
  "scraped_at": "2026-09-18T01:00:00+00:00"
}
```

```json
{
  "record_type": "snapshot",
  "identifier": "20200101000000/https://apify.com/",
  "url": "https://web.archive.org/web/20200101000000/https://apify.com/",
  "original_url": "https://apify.com/",
  "snapshot_at": "2020-01-01T00:00:00+00:00",
  "status_code": "200",
  "mimetype": "text/html",
  "scraped_at": "2026-09-18T01:00:00+00:00"
}
```

### Limitations & fair use

- Search mode returns **metadata**, not the files themselves — the
  `identifier` gives you the item page and download URLs follow from it.
- Wayback mode collapses identical captures (same digest) to keep results
  meaningful; very large domains can have long CDX response times.
- The Internet Archive is a nonprofit library: this Actor uses their
  documented public APIs politely. Please don't hammer.

### FAQ

#### Is it legal?

Yes — both APIs are public and documented by the Internet Archive for
programmatic use. All data returned is already public.

#### Can I get the actual page content of a snapshot?

This Actor returns the snapshot index (fast, cheap). Fetching and parsing
full archived pages is a heavier job — tell us in the Issues tab if you
need it and we'll consider a companion Actor.

#### Something broke

Open an issue in the **Issues tab** — canary-tested daily, fixes ship fast.

### Your feedback

If this Actor saves you time, a review helps other users find it.

# Actor input Schema

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

search = find items in the archive.org collections; wayback = list historical snapshots of a URL.

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

Lucene-style query, e.g. 'subject:brasil AND mediatype:texts', 'collection:librivoxaudio'.

## `url` (type: `string`):

Domain or URL to list snapshots for, e.g. 'example.com' or 'example.com/page'.

## `fromDate` (type: `string`):

Optional lower bound for snapshots, e.g. 20200101.

## `toDate` (type: `string`):

Optional upper bound for snapshots.

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

Stop after this many records (controls your cost).

## `proxyConfiguration` (type: `object`):

Optional — archive.org APIs are public and rarely need one.

## Actor input object example

```json
{
  "mode": "search",
  "query": "subject:brasil AND mediatype:texts",
  "maxItems": 1000,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `products` (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": "subject:brasil AND mediatype:texts"
};

// Run the Actor and wait for it to finish
const run = await client.actor("fullcirclescrapper/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 = { "query": "subject:brasil AND mediatype:texts" }

# Run the Actor and wait for it to finish
run = client.actor("fullcirclescrapper/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 '{
  "query": "subject:brasil AND mediatype:texts"
}' |
apify call fullcirclescrapper/internet-archive-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fullcirclescrapper/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/llCBoWbmznVPrdUu5/builds/NOImdJHSRTSfTOclF/openapi.json
