Data source: Wayback Machine
https://context.gnist.ai/rest/wayback/
AuthenticationAll requests require a Gnist-API-Key header (or api_key query parameter).
Free tier: 100 calls/day. Get your API key.
Tools (5)
check_availabilityCheck if a URL has been archived in the Wayback Machine and find the closest snapshot.
Returns a dict with 'url', 'available' (bool), and 'closest' snapshot if available.
The 'wayback_url' field contains the direct Wayback Machine link to the archived page.
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | required | The URL to look up (e.g. "https://example.com/page"). |
timestamp | any | optional | Optional 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. |
{
"url": "example"
}search_snapshotsSearch the Wayback Machine CDX index for archived snapshots of a URL.
Returns a deduplicated list of snapshots sorted chronologically. Useful for
tracking how a page has changed over time or verifying when content was live.
Each snapshot has url, wayback_url, timestamp, date, status_code, mimetype,
and length (bytes). Use 'wayback_url' with a fetch tool to retrieve the
actual archived page content.
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | required | The URL to search (e.g. "https://example.com/page"). Use wildcard prefix matching with "example.com/*" to capture all pages on a domain. |
date_from | any | optional | Only include captures on or after this date (YYYY-MM-DD). Optional. |
date_to | any | optional | Only include captures on or before this date (YYYY-MM-DD). Optional. |
limit | integer | optional | Maximum snapshots to return (1-100, default 20). (default: 20) |
status_code | any | optional | Filter by HTTP status at capture time (e.g. "200", "404"). Optional. |
mimetype | any | optional | Filter by MIME type (e.g. "text/html", "application/pdf"). Optional. |
{
"url": "example"
}get_capture_calendarGet monthly capture counts for a URL in a given year from the Wayback Machine.
Returns total captures for the year and a breakdown by month (YYYY-MM keys).
Useful for understanding archival coverage and activity patterns for a URL.
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | required | The URL to get capture calendar for (e.g. "https://example.com"). |
year | integer | required | Year to retrieve calendar for (e.g. 2023). |
{
"url": "example",
"year": 1
}get_capture_statsGet yearly capture statistics for a URL from the Wayback Machine.
Returns total captures across all years, the first and last capture years,
and a per-year breakdown. Useful for getting an overview of how long and
how frequently a URL has been archived.
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | required | The URL to get capture statistics for (e.g. "https://example.com"). |
{
"url": "example"
}report_feedbackReport a bug, feature request, or general feedback for this data source.
Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.
Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |
{
"feedback": "example"
}Quick Start
curl -X POST "https://context.gnist.ai/rest/wayback/check_availability" \
-H "Content-Type: application/json" \
-H "Gnist-API-Key: YOUR_API_KEY" \
-d '{"url": "example"}'
import httpx
resp = httpx.post(
"https://context.gnist.ai/rest/wayback/check_availability",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
json={
"url": "example"
},
)
print(resp.json())