---
title: Install waybackpy on Linux | Snap Store
description: Get the latest version of waybackpy for Linux - Wayback Machine API command-line
  interface
url: https://snapcraft.io/waybackpy
---

# waybackpy

[akash (akamhy)](https://snapcraft.io/publisher/akamhy "View all snaps from akash (akamhy)")

* [akash (akamhy)](https://snapcraft.io/publisher/akamhy "View all snaps from akash (akamhy)")
* [Development](https://snapcraft.io/search?categories=development)
* [Utilities](https://snapcraft.io/search?categories=utilities)

latest/stable 0+git.5407681

Install latest/stable of waybackpy

This channel hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

**Install using the command line**

```
sudo snap install waybackpy
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* waybackpy

---

### License

* MIT

---

### Last updated

* 17 March 2022 - latest/stable
* 17 November 2022 - latest/edge

This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

### Websites

* [akamhy.github.io](https://akamhy.github.io "https://akamhy.github.io")

---

### Contact

* [akamhy@yahoo.com](mailto:akamhy@yahoo.com "mailto:akamhy@yahoo.com")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/waybackpy#report-snap-modal)

---

* [Description](https://snapcraft.io/waybackpy#tab-description)
* [Security](https://snapcraft.io/waybackpy#tab-security)

#### Wayback Machine API command-line interface

Waybackpy is a CLI tool that interfaces with the Internet Archive's Wayback Machine APIs.

Wayback Machine has three client-side public APIs; Save API( aka SavePageNow), Availability API, and the CDX API.

These three APIs can be accessed via the waybackpy from the terminal.

**Repository**: <https://github.com/akamhy/waybackpy>

\*\*Demo video on asciinema.org, you can copy the commands from the video: <https://asciinema.org/a/469890> \*\*

**Usage**

**Saving a webpage**:

```
waybackpy --save --url "https://en.wikipedia.org/wiki/Social_media" --user_agent "my-unique-user-agent"

Archive URL:
https://web.archive.org/web/20220121193801/https://en.wikipedia.org/wiki/Social_media
Cached save:
False
```

**Retrieving the oldest archive and also printing the JSON response of the availability API**:

```
waybackpy --oldest --url "https://en.wikipedia.org/wiki/Humanoid" --user_agent "my-unique-user-agent"

Archive URL:
https://web.archive.org/web/20040415020811/http://en.wikipedia.org:80/wiki/Humanoid
```

**Archive close to a time, minute level precision is supported**:

```
waybackpy --url google.com --user_agent "my-unique-user-agent" --near --year 2008 --month 8 --day 8

Archive URL:
https://web.archive.org/web/20080808014003/http://www.google.com:80/
```

Documentation is at <https://github.com/akamhy/waybackpy/wiki/CLI-docs>

---

## Install waybackpy on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/waybackpy/arch)

[### CentOS](https://snapcraft.io/install/waybackpy/centos)

[### Debian](https://snapcraft.io/install/waybackpy/debian)

[### elementary OS](https://snapcraft.io/install/waybackpy/elementary)

[### Fedora](https://snapcraft.io/install/waybackpy/fedora)

[### KDE Neon](https://snapcraft.io/install/waybackpy/kde-neon)

[### Kubuntu](https://snapcraft.io/install/waybackpy/kubuntu)

[### Manjaro](https://snapcraft.io/install/waybackpy/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/waybackpy/pop)

[### openSUSE](https://snapcraft.io/install/waybackpy/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/waybackpy/rhel)

[### Ubuntu](https://snapcraft.io/install/waybackpy/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/waybackpy/raspbian)
