GnistAI GnistAI
Log in

Wayback Machine

Internet Archive lookups — snapshot search, availability checks, capture calendars, and yearly statistics.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 5 tools tools 5 5 Reference

Data source: Wayback Machine

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/wayback/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-wayback": {
      "url": "https://context.gnist.ai/mcp/wayback/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/wayback/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "check_availability", "arguments": {"url": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/wayback/

5 endpoints available:

Shell
curl "https://context.gnist.ai/rest/wayback/check_availability?url=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/wayback/check_availability",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "url": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc wayback

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (5)

check_availability
Check if a URL has been archived in the Wayback Machine and find the closest snapshot.
ParameterTypeRequiredDescription
urlstringrequiredThe URL to look up (e.g. "https://example.com/page").
timestampanyoptionalOptional target date/time (YYYY-MM-DD or YYYYMMDD). When provided, the Wayback Machine returns the snapshot closest to that date. Omit to get the most recent snapshot.
search_snapshots
Search the Wayback Machine CDX index for archived snapshots of a URL.
ParameterTypeRequiredDescription
urlstringrequiredThe URL to search (e.g. "https://example.com/page"). Use wildcard prefix matching with "example.com/*" to capture all pages on a domain.
date_fromanyoptionalOnly include captures on or after this date (YYYY-MM-DD). Optional.
date_toanyoptionalOnly include captures on or before this date (YYYY-MM-DD). Optional.
limitintegeroptionalMaximum snapshots to return (1-100, default 20). (default: 20)
status_codeanyoptionalFilter by HTTP status at capture time (e.g. "200", "404"). Optional.
mimetypeanyoptionalFilter by MIME type (e.g. "text/html", "application/pdf"). Optional.
get_capture_calendar
Get monthly capture counts for a URL in a given year from the Wayback Machine.
ParameterTypeRequiredDescription
urlstringrequiredThe URL to get capture calendar for (e.g. "https://example.com").
yearintegerrequiredYear to retrieve calendar for (e.g. 2023).
get_capture_stats
Get yearly capture statistics for a URL from the Wayback Machine.
ParameterTypeRequiredDescription
urlstringrequiredThe URL to get capture statistics for (e.g. "https://example.com").
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related