Skip to content

Funders

client.funders reads the funder route and returns Preprint models, 100 records per page, each with its funder declarations filled in. The funder is a ROR id, and the route covers posts from 2025-04-10 on, when the bioRxiv submission system began to record funders. It accepts date ranges only; a 30d interval answers the upstream date-format error. Later blocks reuse the client from the first block.

from bibliofabric.rxiv import RxivClient

client = RxivClient()

List preprints of one funder

search() returns one page of the preprint versions that declare the funder, within a date range. iterate() and collect() walk the whole range, and category narrows by subject category.

page = await client.funders.search("01cwqze88", "2025-05-01", "2025-06-30")
print(page.total, "|", page.results[0].doi)
1257 | 10.1101/2025.04.22.650073

ROR 01cwqze88 is the National Institutes of Health. Each result's funder field holds FunderDeclaration objects with name, id, id_type, and award:

first = page.results[0]
print([(f.name, f.award) for f in first.funder][:2])
[('National Institutes of Health', None), ('Purdue University West Lafayette', None)]

An unknown ROR id arrives with HTTP 200 and the message funder value not found, which the client raises as APIError with the request and response attached; see upstream quirks.

Walk a long window

iterate() yields every version and pages behind the scenes; collect() gathers it into a list bounded by limit. A year of NIH-funded posts is several hundred pages of 100, so bound collects you run interactively:

preprints = await client.funders.collect(
    "01cwqze88", "2025-05-01", "2025-06-30", limit=200
)
print(len(preprints))