$ man archive-snapshot
/archive-snapshot(1)
PRICE / CALL
$0.02
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobeCATEGORY
utilities
STATUS
● live
NAME
archive-snapshot — wayback machine api / archive.org wrapper
SYNOPSIS
POST https://x402.org/v1/archive-snapshot
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Wayback Machine API / archive.org wrapper. Returns closest archived snapshot URL + timestamp. Optionally fetches and cleans the archived page text. For historical content + reference rot fixes.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| url | string | Original URL to look up in the Wayback Machine archive. | required |
| timestamp | string | ISO 8601, YYYY-MM-DD, YYYYMMDD, or YYYYMMDDhhmmss. | optional |
| fetch_text | boolean | Also fetch + clean the archived page. Default false. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| requested_url | string | Echoes back the URL submitted for archive lookup. |
| snapshot_url | string | Direct link to the closest archived snapshot on web.archive.org. |
| snapshot_timestamp | string | Wayback Machine timestamp of the snapshot in YYYYMMDDhhmmss format. |
| snapshot_iso_timestamp | string | Snapshot capture time as an ISO 8601 datetime string. |
| snapshot_status | string | HTTP status code the archive recorded when it captured the original page. |
| archived_text | string | Cleaned plain-text body extracted from the archived page, when text fetch was requested. |
| archived_text_chars | number | Character count of the cleaned archived_text payload. |
| archive_fetch_status | number | HTTP status code returned when fetching the snapshot page from web.archive.org. |
| source | string | Upstream archive provider used for the lookup, e.g. wayback or archive.org. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/archive-snapshot \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# install once claude mcp add x402 --command "npx x402-deployer-mcp" # then ask Claude Code: # "use the archive-snapshot tool to ..."
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- archivewaybackhistorymonitor
- methods
- POST
- cluster
- webprobe
- price
- $0.02 USDC per call
ADJACENT — other endpoints in webprobe
| endpoint | description | price |
|---|---|---|
| dmarc-check | DMARC / SPF / DKIM checker. | $0.02 |
| dns-lookup | DNS lookup / DNS resolver / DoH proxy. | $0.02 |
| expand-url | URL expander / redirect chain tracer / link-shortener resolver. | $0.02 |
| password-strength | Password strength meter + breach checker. | $0.02 |
| whois | Domain WHOIS / RDAP lookup. | $0.02 |
| whois-lookup | WHOIS / RDAP domain lookup. | $0.02 |
| arxiv-search | arXiv full-text search. | $0.03 |
| ssl-cert | SSL certificate inspector / TLS cert checker / certificate transparency lookup / ssl expiry. | $0.03 |
SEE ALSO