OSINT tool
Install waybackpy on Windows, macOS and Linux
Query and save pages in the Internet Archive Wayback Machine.
ot install waybackpywaybackpy is a command-line interface to the Internet Archive's Wayback Machine. It finds the oldest, newest or nearest snapshot of a page, lists every URL archived for a site, and can ask the archive to save a page now.
How to install waybackpy
ot install waybackpyot installs waybackpy 3.0.6 with uv into a Python environment of its own under ~/.ot, so it cannot conflict with your system Python or with any other tool.
New to ot? It is one command to install, shown below.
How to use waybackpy
Arguments after the tool's name go straight to waybackpy, so its own documentation applies unchanged.
Find the oldest archived copy of a page.
ot run waybackpy --url https://example.com --oldestAsk the Wayback Machine to archive the page now.
ot run waybackpy --url https://example.com --saveList the URLs the archive holds for a site.
ot run waybackpy --url example.com --known_urlsot run waybackpy --help lists every option. The project's own documentation is at github.com/akamhy/waybackpy.
An AI agent can run waybackpy too: ot mcp serves it over the Model Context Protocol. See OSINT with AI agents.
waybackpy licence, platforms and versions
| Project | https://github.com/akamhy/waybackpy |
| Licence | MIT |
| Runs on | Windows, macOS and Linux |
| Takes | url |
| Sends traffic to the target | No |
| Python package | waybackpy 3.0.6, in its own isolated environment |
Questions about waybackpy
How do I install waybackpy on Windows?
Open PowerShell and install ot with irm https://otinstaller.com/install.ps1 | iex. Then run ot install waybackpy. ot fetches a pinned version of waybackpy and keeps it under ~/.ot, apart from the rest of your system.
Is waybackpy free?
Yes. waybackpy is open source, released under the MIT licence. ot, which installs it, is free under the Apache 2.0 licence.
Do I need to set up Python to use waybackpy?
No. ot installs waybackpy with uv into a virtual environment of its own, separate from your system Python. If uv is not installed, ot fetches its own copy first.
How do I update or remove waybackpy?
ot update waybackpy moves it to the version pinned in ot's registry, and ot update waybackpy --latest to the newest upstream release. ot remove waybackpy uninstalls it.
Is waybackpy still maintained?
No. The last release is from 2022. ot still installs the last release, but expect some of its checks to fail on current sites.
Install ot
curl -fsSL https://otinstaller.com/install.sh | shirm https://otinstaller.com/install.ps1 | iexRun it in PowerShell.
Current version: 0.3.0. Both scripts verify the download against its SHA-256 checksum before installing.