Skip to content
OSINTtools.io

Perma.cc API

Harvard Library Innovation Lab service that saves a web page as a permanent record with a stable Perma Link for citation.

Base URL
https://api.perma.cc/v1
Sign-in
API key
Format
REST
Endpoints
5

Compiled by OSINTtools.io editors from perma.cc · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

The Perma.cc API creates and manages archives (Perma Links) of web pages. An investigator uses it to preserve a page at a point in time and later fetch the archive record, including its capture status and WARC/WACZ download links. The public archives endpoint lists recently created public Perma Links without a key.

Authenticated calls send the API key in the header Authorization: ApiKey your-api-key; the older api_key URL parameter still works but is deprecated. Lists are paged with limit (up to 300 per page by default) and offset. The public archives endpoint only gives access to the most recently created Perma Links.

Batch creation, folders, organizations, capture jobs, moving, editing and deleting archives and downloads also exist; they are described on the docs page and are not listed here.

Quick start

  1. Get a key

    Create an account with Perma.cc and copy your api key. Where to get it

  2. Make your first request

    List recent public archives. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.perma.cc/v1/public/archives/' \
      -H 'Authorization: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "meta": {
        "limit": 1,
        "next": "https://api.perma.cc/v1/public/archives/?limit=1&offset=1",
        "offset": 0,
        "previous": null
      },
      "objects": [
        {
          "guid": "AAAA-BBBB",
          "creation_timestamp": "2026-01-01T00:00:00Z",
          "url": "http://example.com",
          "title": "Example Domain",
          "captures": [
            {
              "role": "primary",
              "status": "success",
              "url": "http://example.com",
              "content_type": "text/html"
            }
          ]
        }
      ]
    }

Authentication

Send your API key in the Authorization header of every request.

Value is `ApiKey your-api-key`. The public archives endpoint needs no key.

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Not stated in the docs

Archives

List recent public archives

GET/public/archives/

  • Passive: the target is not contacted

Lists publicly available Perma Links, newest first. No API key needed. Access is limited to the most recently created links.

Query parameters

limitinteger

Page size

Example: 1Default: 300
offsetinteger

Page offset, counted from 0

Example: 0Default: 0
Response fields · 8Show

limitinteger

Page size

nextstring

URL of the next page (stop when objects is empty)

guidstring

Globally unique id of the archive

creation_timestampstring

When the archive was created

urlstring

The archived URL

titlestring

Page title

rolestring

primary or screenshot

statusstring

Capture status, for example success or pending

curl 'https://api.perma.cc/v1/public/archives/' \
  -H 'Authorization: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "meta": {
    "limit": 1,
    "next": "https://api.perma.cc/v1/public/archives/?limit=1&offset=1",
    "offset": 0,
    "previous": null
  },
  "objects": [
    {
      "guid": "AAAA-BBBB",
      "creation_timestamp": "2026-01-01T00:00:00Z",
      "url": "http://example.com",
      "title": "Example Domain",
      "captures": [
        {
          "role": "primary",
          "status": "success",
          "url": "http://example.com",
          "content_type": "text/html"
        }
      ]
    }
  ]
}

Creates a new archive. Details such as sizes and download URLs fill in after capture finishes; read them back with the archive details endpoint. Without a folder the archive goes to the Personal Links folder.

Request body (JSON) · 3Show

urlstringalways present

URL to archive

titlestring

Short title; taken from the page if omitted

folderinteger

Folder id to create the archive in

Response fields · 6Show

guidstring

Globally unique id of the archive

urlstring

The archived URL

titlestring

Title

statusstring

Capture status, pending right after creation

is_privateboolean

Whether the archive is private

archive_timestampstring

Archive timestamp

curl -X POST 'https://api.perma.cc/v1/archives/' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"url":"http://example.com","title":"This is an example site","folder":1}'
Replace YOUR_API_KEY with your key
Response
{
  "guid": "AAAA-BBBB",
  "creation_timestamp": "2026-01-01T00:00:00Z",
  "url": "http://example.com",
  "title": "This is an example site",
  "captures": [
    {
      "role": "primary",
      "status": "pending",
      "url": "http://example.com",
      "record_type": "response",
      "content_type": "text/html"
    }
  ],
  "is_private": false,
  "archive_timestamp": "2026-01-02T00:00:00Z"
}

Details of one archive

GET/archives/{guid}/

  • Passive: the target is not contacted

Returns details of an archive owned by you or one of your organizations, including WARC and WACZ download URLs. More detail than the public endpoint.

Path parameters

guidstringrequired

Archive GUID

Example: AAAA-BBBB
Response fields · 9Show

guidstring

Archive id

urlstring

The archived URL

warc_sizeinteger

WARC size in bytes

warc_download_urlstring

WARC download URL

wacz_download_urlstring

WACZ download URL

statusstring

Capture status

capture_timeinteger

Capture time

is_privateboolean

Whether the archive is private

user_deletedboolean

Whether the user deleted it

curl 'https://api.perma.cc/v1/archives/AAAA-BBBB/' \
  -H 'Authorization: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "guid": "AAAA-BBBB",
  "url": "http://example.com",
  "title": "This is an example site",
  "warc_size": 20924,
  "warc_download_url": "https://api.perma.cc/v1/archives/AAAA-BBBB/download",
  "wacz_download_url": "https://api.perma.cc/v1/archives/AAAA-BBBB/download?file_format=wacz",
  "captures": [
    {
      "role": "primary",
      "status": "success",
      "url": "http://example.com"
    }
  ],
  "capture_time": 3,
  "is_private": false,
  "user_deleted": false
}

List your archives

GET/archives/

  • Passive: the target is not contacted

Lists all archives you have access to, public and private, from all folders.

Query parameters

limitinteger

Page size

Example: 1Default: 300
offsetinteger

Page offset, counted from 0

Example: 0Default: 0
Response fields · 4Show

nextstring

URL of the next page

guidstring

Archive id

urlstring

The archived URL

is_privateboolean

Whether private

curl 'https://api.perma.cc/v1/archives/' \
  -H 'Authorization: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "meta": {
    "limit": 1,
    "next": "https://api.perma.cc/v1/archives/?limit=1&offset=1",
    "offset": 0,
    "previous": null
  },
  "objects": [
    {
      "guid": "AAAA-BBBB",
      "url": "http://example.com",
      "is_private": true
    }
  ]
}

Account

  • Passive: the target is not contacted

Returns your user id and the top-level folders you can access.

Response fields · 4Show

idinteger

User id

full_namestring

Full name

idinteger

Folder id

namestring

Folder name

curl 'https://api.perma.cc/v1/user/' \
  -H 'Authorization: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "id": 4,
  "full_name": "Jane Doe",
  "top_level_folders": [
    {
      "id": 25,
      "name": "Personal Links"
    }
  ]
}