Search Preprints by Keyword
biorxiv_search_preprintsSearch preprints by keyword and/or author using EuropePMC for relevance ranking, then enrich matching DOIs with full bioRxiv/medRxiv metadata. Provide a keyword query, an author name, or both — author maps to an EuropePMC AUTH: field query and is ANDed with the keyword query. Covers both servers by default. EuropePMC indexes new preprints within 1–2 days of posting; for preprints posted within the last day, prefer biorxiv_list_recent. A EuropePMC rate limit (HTTP 429) fails the call with a retryable rate_limited error carrying the wait in seconds — a rate-limited metadata enrichment does not, and instead marks the affected record enrichment_error: "rate_limited".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results to return (1–100). Defaults to 25. | |
| query | No | Keyword search query. Optional when author is provided — supply at least one of query or author. | |
| author | No | Author name to filter by, mapped to an EuropePMC AUTH:"…" field query and ANDed with the keyword query. Optional when query is provided (e.g. "Jennifer Doudna"). | |
| server | No | Server scope for enrichment. "both" checks all matching DOIs on both servers. | both |
| date_to | No | Latest first-publication date filter (YYYY-MM-DD). | |
| date_from | No | Earliest first-publication date filter (YYYY-MM-DD). | |
| cursor_mark | No | Opaque page token for ranked EuropePMC results. Omit for the first page; pass the nextCursorMark returned by a prior call to fetch the next page. Pages through the same ranked list rather than raising limit. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. Absent on success. | |
| notice | No | Recovery hint when zero results are returned — echoes query and suggests how to broaden. | |
| preprints | No | Search results, ranked by EuropePMC relevance. | |
| queryEcho | No | Echo of the parameters used to produce this result set — lets callers verify what was sent. | |
| totalCount | No | Total preprints matching the query in EuropePMC (hitCount) — the true upstream grand total, not the number of results returned. | |
| nextCursorMark | No | Opaque token for the next page of ranked results. Present only when more results exist beyond this page; pass it back as cursor_mark. Absent on the last page. | |
| partial_results | No | True when one or more DOIs failed bioRxiv enrichment and fell back to EuropePMC metadata. |