[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Wayback Machine earliest capture](https://spiral.ai/integrations/claude-code/wayback-machine-earliest-capture)

# How to Use Wayback Machine earliest capture in Claude Code

Finds a website's earliest archived capture. Use it to establish a starting point for historical research, while keeping the archive date separate from the website's launch date.

|  |  |
| --- | --- |
| Model | Wayback Machine earliest capture |
| Available through | Alexandria |
| Category | Developer |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Wayback Machine earliest capture in Claude Code

- Use Wayback Machine earliest capture to find the earliest archived version of https://www.wikipedia.org/. Add the archive starting date to this project's website history report without calling it the launch date.
- Use Wayback Machine earliest capture to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Wayback Machine earliest capture and tell me what changed since last week.
- Check Wayback Machine earliest capture and summarize what you find in three bullet points.
- Pull the newest data from Wayback Machine earliest capture and give me the result as a table.

## How to set up Wayback Machine earliest capture in Claude Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Wayback Machine earliest capture**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "web-archive-org/captures/oldest",
    "input": {
      "url": "<url>"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds Wayback Machine earliest capture on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## Wayback Machine earliest capture tools and prices

- [Wayback Machine · Oldest](https://spiral.ai/tools/alexandria/web-archive-org/captures/oldest) (Alexandria): $0.00873 per call.

## What can you do with Wayback Machine earliest capture in Claude Code?

Recover historical documentation for a migration or broken-link repair report. A coding agent can connect references in project files to dated Wayback captures and preserved page text.

### Recover a deleted documentation reference

Find the earliest archived documentation page, locate a capture near the date a project cited it, and read the preserved instructions to explain an obsolete dependency.

### Research a company's early positioning

Establish the earliest archived homepage, identify later dated captures, and compare the preserved wording about products and intended customers.

### Investigate a domain's past use

Check the earliest archived page and selected later captures, then inspect their text for evidence of previous business purposes or unrelated content.

### Build a public website history

Start with the earliest available capture of a museum, university, or government homepage. Add dated snapshots and preserved text to document changes in its public description.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## Wayback Machine earliest capture in other agents

- [Amp](https://spiral.ai/integrations/amp/wayback-machine-earliest-capture)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/wayback-machine-earliest-capture)
- [Claude](https://spiral.ai/integrations/claude-desktop/wayback-machine-earliest-capture)
- [Cline](https://spiral.ai/integrations/cline/wayback-machine-earliest-capture)
- [Codex](https://spiral.ai/integrations/codex/wayback-machine-earliest-capture)
- [Cursor](https://spiral.ai/integrations/cursor/wayback-machine-earliest-capture)
- [Devin](https://spiral.ai/integrations/devin/wayback-machine-earliest-capture)
- [dots](https://spiral.ai/integrations/dots/wayback-machine-earliest-capture)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/wayback-machine-earliest-capture)
- [Gemini](https://spiral.ai/integrations/gemini/wayback-machine-earliest-capture)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/wayback-machine-earliest-capture)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/wayback-machine-earliest-capture)
- [goose](https://spiral.ai/integrations/goose/wayback-machine-earliest-capture)
- [Grok](https://spiral.ai/integrations/grok/wayback-machine-earliest-capture)
- [Grok Build](https://spiral.ai/integrations/grok-build/wayback-machine-earliest-capture)
- [Hermes](https://spiral.ai/integrations/hermes/wayback-machine-earliest-capture)
- [Instinct](https://spiral.ai/integrations/instinct/wayback-machine-earliest-capture)
- [Manus](https://spiral.ai/integrations/manus/wayback-machine-earliest-capture)
- [Muse](https://spiral.ai/integrations/muse/wayback-machine-earliest-capture)
- [Muse Code](https://spiral.ai/integrations/muse-code/wayback-machine-earliest-capture)
- [n8n](https://spiral.ai/integrations/n8n/wayback-machine-earliest-capture)
- [Notion](https://spiral.ai/integrations/notion/wayback-machine-earliest-capture)
- [OpenClaw](https://spiral.ai/integrations/openclaw/wayback-machine-earliest-capture)
- [opencode](https://spiral.ai/integrations/opencode/wayback-machine-earliest-capture)
- [Perplexity](https://spiral.ai/integrations/perplexity/wayback-machine-earliest-capture)
- [Raycast](https://spiral.ai/integrations/raycast/wayback-machine-earliest-capture)
- [VS Code](https://spiral.ai/integrations/vscode/wayback-machine-earliest-capture)
- [Windsurf](https://spiral.ai/integrations/windsurf/wayback-machine-earliest-capture)
- [Zapier](https://spiral.ai/integrations/zapier/wayback-machine-earliest-capture)

## More Claude Code guides

- [Wayback Machine capture history](https://spiral.ai/integrations/claude-code/wayback-machine-capture-history)
- [arXiv BibTeX citation](https://spiral.ai/integrations/claude-code/arxiv-bibtex-citation)
- [Wayback Machine archived page text](https://spiral.ai/integrations/claude-code/wayback-machine-archived-page-text)
- [arXiv category papers](https://spiral.ai/integrations/claude-code/arxiv-category-papers)
- [Vercel starter templates](https://spiral.ai/integrations/claude-code/vercel-starter-templates)
- [arXiv metadata harvest](https://spiral.ai/integrations/claude-code/arxiv-metadata-harvest)

## Questions about Wayback Machine earliest capture in Claude Code

**Can Claude Code use Wayback Machine earliest capture?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Wayback Machine earliest capture like any built-in tool.

**How much does Wayback Machine earliest capture cost in Claude Code?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

**Do I need an Alexandria account to use Wayback Machine earliest capture in Claude Code?**

No. Spiral runs Wayback Machine earliest capture on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Wayback Machine earliest capture in Claude Code?**

About two minutes: add the hosted server, then sign in.

**Does Claude Code wait while Wayback Machine earliest capture runs?**

Wayback Machine earliest capture runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

**Does Wayback include pages behind a login?**

The Internet Archive says it does not archive pages that require a password. A public homepage capture does not establish coverage of the site's signed-in pages.

**Will an archived page preserve an interactive website?**

Functionality that needs the original host is not preserved. Forms and JavaScript interactions can therefore be unavailable even when the archive contains the page.

**Does the earliest capture tell me when a website launched?**

No. The Internet Archive says crawlers can be unaware of a site's existence, so its first available capture may come after the site launched.

**Does a requested date guarantee a capture from that day?**

No. Wayback can return a nearby capture, and its API documentation shows a returned timestamp close to the requested date. Check the actual capture date before describing what a page said on a particular day.

**How quickly do newly crawled pages appear?**

The Internet Archive's help page describes a 3 to 10 hour delay between a crawl and its appearance in Wayback. This is a publication delay, rather than a capture schedule for an individual page.

