Proto is not affiliated with openRxiv. This toolkit is open source and builds on the implementation produced by this organization. Product names, logos, and trademarks are the property of their respective owners.
Background
bioRxiv opened in 2013 so that researchers could share manuscripts before peer review, and medRxiv followed in 2019 for clinical and health research. Preprints are screened but not peer reviewed. Authors can post revised versions, so one DOI may carry several versions, each with its own date and text, and a figure or value can change between them. When a preprint is later published, the servers link it to the journal article’s DOI. The bioRxiv API serves this metadata for both servers. It looks records up by DOI or lists them by posting date, but it has no keyword search.Learning Resources
- bioRxiv API (openRxiv) - endpoints and returned fields.
- About bioRxiv (openRxiv) - screening, versions, and licensing.
Tools
bioRxiv Details (biorxiv-details)
Looks up preprints by DOI and returns, for each, the latest version’s title, authors, corresponding author, category, license, and abstract, the published journal DOI if any, every version with its date and JATS XML link, and the API URL used (source_url).API Reference
Config: BiorxivDetailsConfig
Config: BiorxivDetailsConfig
auto tries bioRxiv, then medRxiv when bioRxiv has no posts for the DOI; biorxiv or medrxiv queries only that server. Both servers issue 10.1101 and 10.64898 DOIs, so the prefix does not identify the server.Available options: auto, biorxiv, medrxivTrue is coerced to 1 and False to 0.None waits indefinitely.Output: BiorxivDetailsOutput
Output: BiorxivDetailsOutput
Applications
Use details to cite the exact version of a preprint that reports a result, to check whether it has since been published, and to move from a preprint to its journal article.Usage Tips
- The bioRxiv API has no keyword search. To find preprints by topic, use
europepmc-searchwithSRC:PPRin the query, then pass the DOI of a hit here. - DOIs may be bare (
10.1101/2022.12.09.519842) or ahttps://doi.org/link. Newer bioRxiv and medRxiv DOIs use the10.64898prefix. - The default
server="auto"tries bioRxiv, then medRxiv. Both servers issue the same DOI prefixes, so the prefix does not identify the server. The result’sserverfield names the one that answered. Setserver="biorxiv"orserver="medrxiv"to query only that server. - A DOI that is not found, or that the API rejects, returns a record with
errorset and no metadata. The other DOIs in the call still return. - Take
published_doitoeuropepmc-search(DOI:"...") to find the published article and its PMCID. - Each version’s
jats_xml_urlis bioRxiv’s full text, including for preprints whose full text Europe PMC does not hold. bioRxiv serves these files behind Cloudflare rate limits, so space out bulk downloads and expect occasional HTTP 429 responses. paperclip-literature-*also indexes bioRxiv and medRxiv full text, with line-numbered reading, but needs aPAPERCLIP_API_KEY.
Toolkit Notes
- Requires network access. Every call is an HTTPS request to the bioRxiv API. No API key is needed.
- Runs in process on CPU. There is no environment to build and no worker to start. Runtime is dominated by remote retrieval.
