DOAB-Check Data

Link checking data is available from an api, on a per-link basis, and in bulk via download.

API

The api is pretty self-explanatory. requests are of the form:
https://doab-check.ebookfoundation.org/api/doab/[the doab id]
DOAB ids look like this:
oai:doab-books:20.500.12854/NNNNN
(you can omit the 'oai:doab-books:'). The response (JSON) looks like this:
{
    "doab": "oai:doab-books:20.500.12854/35337",
    "status": "found",
    "links": [
        {"url": "http://library.oapen.org/handle/20.500.12657/32815",
         "checked": "2023-10-01T04:05:08.816Z",
         "return_code": 200,
         "content_type": "html"},
        {"url": "https://library.oapen.org/bitstream/20.500.12657/37516/1/604614.pdf",
         "checked": "2023-10-01T04:05:09.900Z",
         "return_code": 200,
         "content_type": "pdf"},
    ]
}

Bulk download

A zipped CSV file of all the active urls and the results of our most recent check is available at:
https://doab-check.ebookfoundation.org/static/doab_checks.csv.gz.
This file is updated roughly once a day.