search_archives
Retrieve archived versions of a URL from the Wayback Machine using match types, date ranges, filters, and pagination. Supports duplicate collapsing and counting.
Instructions
Search the Wayback Machine CDX API for archived versions of a URL. Supports match types (exact/prefix/host/domain), date range filtering, collapsing duplicates, field filtering, pagination, and duplicate counting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date (YYYYMMDD or YYYY-MM-DD) | |
| url | Yes | The URL pattern to search for | |
| from | No | Start date (YYYYMMDD or YYYY-MM-DD) | |
| page | No | Page number for pagination | |
| limit | No | Maximum number of results | |
| filter | No | Filter by field regex, e.g. ["statuscode:200", "!mimetype:image.*"]. Prefix with ! to negate. | |
| offset | No | Skip the first N results | |
| collapse | No | Collapse adjacent duplicates by field, e.g. "timestamp:8" (per hour), "digest" (unique content) | |
| pageSize | No | Results per page | |
| matchType | No | URL match scope: exact (default), prefix (all under path), host, or domain (with subdomains) | |
| showDupeCount | No | Show duplicate count per capture (grouped by digest) | |
| resolveRevisits | No | Resolve warc/revisit entries to their original mimetype and status code |