Skip to content
Skip to Content
DevelopersAPI referenceCleanup

List dead links

GET
/v1/cleanup/dead-links

Link items whose page is gone, oldest id first. Dead links the user chose to keep are left out.

A link counts as dead only after 3 answers in a row that the page does not exist (a 404, a 410 or a domain that no longer exists), spread over at least 24 hours. A site that is briefly down is never reported. Until then the link is counted as suspect in the summary.

Each entry is a short summary. Get GET /v1/items/{id} for the whole item. To archive or delete a dead link, use the normal item routes.

Authorization

bearer
headerAuthorizationBearer <token>

A personal API key (ga_…), sent as Authorization: Bearer ga_…. A key gets 403 on a resource it has no access to, and on anything that changes data without write access.

Query Parameters

cursor?string

Send the next_cursor from the previous page to get the next one

limit?integer

How many entries to return. Anything above 200 is treated as 200.

Range1 <= value
Default50

Response Body

A page of dead links

application/json
  1. response
items*array<>
next_cursor?string

Only there while more dead links remain

Example Request
curl -X GET 'https://example.com/v1/cleanup/dead-links'
Example Response
{  "items": [    {      "id": "string",      "title": "string",      "url": "string",      "domain": "string",      "tags": [        "string"      ],      "is_favourite": true,      "has_note": true,      "list_count": 0,      "archived_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z",      "http_status": 0,      "failing_since": "2019-08-24T14:15:22Z",      "checked_at": "2019-08-24T14:15:22Z"    }  ],  "next_cursor": "string"}