Lookup archived snapshot dari Internet Archive Wayback Machine — find historical version of any URL by date.
snapshotpassing, 2.9s/v1/web-tools:wayback/snapshot5m cache2 paramschecking key…// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";
const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });
const data = await client.run("web-tools:wayback", "snapshot", {
"url": "https://example.com",
"timestamp": "20230101"
});
console.log(data);curl -X GET "https://api.zpi.web.id/v1/web-tools:wayback/snapshot?url=https%3A%2F%2Fexample.com×tamp=20230101" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"/v1/web-tools:wayback/snapshotLookup archived snapshot.urlstringrequiredtimestampstringoptionalcurl -X GET "https://api.zpi.web.id/v1/web-tools:wayback/snapshot?url=https%3A%2F%2Fexample.com×tamp=20230101" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"url": "https://example.com",
"found": true,
"source": "web.archive.org",
"snapshot": {
"url": "https://web.archive.org/web/20230101000811/https://example.com/",
"status": "200",
"available": true,
"timestamp": "20230101000811",
"timestampIso": "2023-01-01T00:08:11.000Z"
},
"requestedTimestamp": "20230101"
}