Skip to content

ChemRxiv

The ChemRxiv client (bibliofabric.chemrxiv) reads the public JSON API of ChemRxiv, the preprint server built on Cambridge Open Engage. It searches and fetches preprints, resolves them by DOI, lists the taxonomy routes, and speaks OAI-PMH. An async client and a generated sync twin expose the same calls.

Status of the chemrxiv.org endpoint

ChemRxiv retired the public API on 2026-01-21 when it moved to Wiley Research Exchange Preprints. The chemrxiv.org host now answers 403 to plain HTTP clients behind a TLS fingerprint check, and the old Engage backend answers 404 for every resource. The client keeps the documented ChemRxiv behavior, including the final published specification (chemrxiv-openapi-spec 0.0.102). To read a live instance of the same platform, override the base URL, as the sibling Cambridge instance does:

from bibliofabric.chemrxiv import ChemRxivClient

client = ChemRxivClient(base_url="https://www.cambridge.org/engage/coe/public-api/v1")

Credentials

The API needs no credentials. The client paces itself to one request per second; tune it with CHEMRXIV_MAX_REQUESTS_PER_SECOND and CHEMRXIV_MAX_CONCURRENCY, as the settings guide describes.

License

Every item record carries its license in the license field, and the client.licenses route lists the five licenses ChemRxiv uses: CC0 1.0, CC BY 4.0, CC BY NC ND 4.0, CC BY NC SA 4.0, and All Rights Reserved.

Quick start

import asyncio

from bibliofabric.chemrxiv import ChemRxivClient

BASE_URL = "https://www.cambridge.org/engage/coe/public-api/v1"


async def main() -> None:
    async with ChemRxivClient(base_url=BASE_URL) as client:
        page = await client.items.search(query="electrocardiogram", page_size=5)
        print(page.total, "matches")
        item = page.results[0]
        print(item.title, item.license.name if item.license else None)

        item = await client.items.get(item.id)
        item = await client.items.by_doi(item.doi)

        async for item in client.items.iterate(query="preprint", limit=20):
            print(item.id, item.title)

        version = await client.api_version()
        print("api version:", version)


asyncio.run(main())

Resources

Resource Routes Notes
client.items /items, /items/{id}, /items/doi/{doi} term search, category and subject filters, date windows, license filter, sort tokens
client.categories /categories one unpaged list
client.subjects /subjects one unpaged list; implemented but absent from the published spec
client.licenses /licenses one unpaged list
client.oai /oai OAI-PMH 2.0 with the oai_dc metadata prefix

Routes that the specification does not define and the live Engage host answers 404 (/item-types, /items/{id}/versions, /versions/{id}, /versions/{id}/file) are not wrapped; see upstream quirks.