Skill Tracer
Skills › Scientific Agent Skills › paper-lookup › medrxiv.md

medrxiv.md

132 lines · skills/paper-lookup/references/medrxiv.md at 5f2bc03

Open on GitHub

Most marks come from matching words in the file, so treat them as pointers.

1# medRxiv API
2
3medRxiv is a preprint server for health sciences. The API is identical to bioRxiv's API -- same endpoints, same response format -- just use `medrxiv` as the server parameter.
4
5**Important:** Like bioRxiv, there is **no keyword search**. Use Europe PMC (`SRC:"PPR" AND PUBLISHER:"medRxiv"`), Semantic Scholar, or OpenAlex for keyword searches of medRxiv content. PubMed coverage of preprints is selective.
6

medRxiv API

medRxiv is a preprint server for health sciences. The API is identical to bioRxiv's API -- same endpoints, same response format -- just use medrxiv as the server parameter.

Important: Like bioRxiv, there is no keyword search. Use Europe PMC (SRC:"PPR" AND PUBLISHER:"medRxiv"), Semantic Scholar, or OpenAlex for keyword searches of medRxiv content. PubMed coverage of preprints is selective.

Raw lines 1 to 6
7## Base URL
8
9```
10https://api.biorxiv.org
11```
13(Same base URL as bioRxiv -- the server is specified in the path.)
15**Use `api.biorxiv.org`, not `api.medrxiv.org`.** The `api.medrxiv.org` host answers some paths but
16is not equivalent, and its failures are not graceful (verified 2026-07-27):
18| Request | Result |
19|---|---|
20| `api.medrxiv.org/details/medrxiv/10d` | **HTTP 500**, empty body |
21| `api.medrxiv.org/details/medrxiv/2024-01-01/2024-01-03/0` | 200, but `count: 60` -- returns the whole interval, ignoring the documented page size, and omits `category` from `messages` |
22| `api.biorxiv.org/details/medrxiv/2024-01-01/2024-01-03/0` | 200, `count: 30`, full `messages` block |
24Every example below uses `api.biorxiv.org`.

Base URL

https://api.biorxiv.org

(Same base URL as bioRxiv -- the server is specified in the path.)

**Use api.biorxiv.org, not api.medrxiv.org.** The api.medrxiv.org host answers some paths but is not equivalent, and its failures are not graceful (verified 2026-07-27):

RequestResult
api.medrxiv.org/details/medrxiv/10dHTTP 500, empty body
api.medrxiv.org/details/medrxiv/2024-01-01/2024-01-03/0200, but count: 60 -- returns the whole interval, ignoring the documented page size, and omits category from messages
api.biorxiv.org/details/medrxiv/2024-01-01/2024-01-03/0200, count: 30, full messages block

Every example below uses api.biorxiv.org.

Raw lines 7 to 25
26## Authentication
28None required. Fully public API.

Authentication

None required. Fully public API.

Raw lines 26 to 29
30## Key Endpoints

Key Endpoints

Raw lines 30 to 31
32### 1. Content Detail -- Browse by date range
34```
35GET /details/medrxiv/{interval}/{cursor}/{format}
36```
38| Parameter | Values | Description |
39|-----------|--------|-------------|
40| `interval` | `YYYY-MM-DD/YYYY-MM-DD` | Date range (inclusive) |
41| | `N` (integer) | N most recent preprints |
42| | `Nd` (integer + "d") | Last N days |
43| `cursor` | Integer (default `0`) | Absolute record offset. **`/details/` returns 30 per page, so step by 30** -- see Pagination. |
44| `format` | `json` (default), `xml` | Response format |
46Optional: `?category=cardiovascular%20medicine` (use URL-encoding for spaces)
48**Examples:**
49```
50https://api.biorxiv.org/details/medrxiv/2024-01-01/2024-01-31/0
51https://api.biorxiv.org/details/medrxiv/5
52https://api.biorxiv.org/details/medrxiv/10d
53```

1. Content Detail -- Browse by date range

GET /details/medrxiv/{interval}/{cursor}/{format}
ParameterValuesDescription
intervalYYYY-MM-DD/YYYY-MM-DDDate range (inclusive)
N (integer)N most recent preprints
Nd (integer + "d")Last N days
cursorInteger (default 0)Absolute record offset. **/details/ returns 30 per page, so step by 30** -- see Pagination.
formatjson (default), xmlResponse format

Optional: ?category=cardiovascular%20medicine (use URL-encoding for spaces)

Examples:

https://api.biorxiv.org/details/medrxiv/2024-01-01/2024-01-31/0
https://api.biorxiv.org/details/medrxiv/5
https://api.biorxiv.org/details/medrxiv/10d
Raw lines 32 to 54
55### 2. Content Detail -- DOI lookup
57```
58GET /details/medrxiv/{doi}/na/{format}
59```
61**Example:**
62```
63https://api.biorxiv.org/details/medrxiv/10.1101/2021.04.29.21256344/na/json
64```

2. Content Detail -- DOI lookup

GET /details/medrxiv/{doi}/na/{format}

Example:

https://api.biorxiv.org/details/medrxiv/10.1101/2021.04.29.21256344/na/json
Raw lines 55 to 65
66### 3. Published Article Links
68```
69GET /pubs/medrxiv/{interval}/{cursor}
70GET /pubs/medrxiv/{doi}/na
71```
73Links preprints to their published journal versions. Accepts both preprint DOI and published DOI.

3. Published Article Links

GET /pubs/medrxiv/{interval}/{cursor}
GET /pubs/medrxiv/{doi}/na

Links preprints to their published journal versions. Accepts both preprint DOI and published DOI.

Raw lines 66 to 74
75## Response Format
77Same as bioRxiv:
79```json
81 "messages": [{
82 "status": "ok",
83 "category": "all",
84 "interval": "2024-01-01:2024-01-03",
85 "funder": "all",
86 "cursor": 0,
87 "count": 30,
88 "count_new_papers": "46",
89 "total": "60"
90 }],
91 "collection": [{
92 "title": "Paper title...",
93 "authors": "Surname, A.; Surname, B.",
94 "author_corresponding": "Full Name",
95 "author_corresponding_institution": "Institution",
96 "doi": "10.1101/2021.04.29.21256344",
97 "date": "2021-05-03",
98 "version": "1",
99 "type": "PUBLISHAHEADOFPRINT",
100 "license": "cc_by_nc_nd",
101 "category": "cardiovascular medicine",
102 "abstract": "Full abstract text...",
103 "published": "10.1371/journal.pone.0256482",
104 "server": "medRxiv"
105 }]
107```

Response Format

Same as bioRxiv:

{
  "messages": [{
    "status": "ok",
    "category": "all",
    "interval": "2024-01-01:2024-01-03",
    "funder": "all",
    "cursor": 0,
    "count": 30,
    "count_new_papers": "46",
    "total": "60"
  }],
  "collection": [{
    "title": "Paper title...",
    "authors": "Surname, A.; Surname, B.",
    "author_corresponding": "Full Name",
    "author_corresponding_institution": "Institution",
    "doi": "10.1101/2021.04.29.21256344",
    "date": "2021-05-03",
    "version": "1",
    "type": "PUBLISHAHEADOFPRINT",
    "license": "cc_by_nc_nd",
    "category": "cardiovascular medicine",
    "abstract": "Full abstract text...",
    "published": "10.1371/journal.pone.0256482",
    "server": "medRxiv"
  }]
}
Raw lines 75 to 108
109## Pagination
111**30 results per page on `/details/`, 100 on `/pubs/`** -- same as bioRxiv, and the same silent
112hazard: `cursor` is an absolute record offset, out-of-step values return HTTP 200, and stepping a
113`/details/` walk by 100 skips records 30-99 of every hundred while looking successful. Step by the
114`count` the response reported. See the Pagination and `messages` sections of
115`references/biorxiv.md` for the full behavior, including why `total` and `count_new_papers` differ
116and which endpoints expose no counts at all.
118`scripts/paginate.py --api medrxiv` implements the walk with the correct step.

Pagination

**30 results per page on /details/, 100 on /pubs/** -- same as bioRxiv, and the same silent hazard: cursor is an absolute record offset, out-of-step values return HTTP 200, and stepping a /details/ walk by 100 skips records 30-99 of every hundred while looking successful. Step by the count the response reported. See the Pagination and messages sections of references/biorxiv.md for the full behavior, including why total and count_new_papers differ and which endpoints expose no counts at all.

scripts/paginate.py --api medrxiv implements the walk with the correct step.

Raw lines 109 to 119
Runs code scripts/paginate.py :118
120## Rate Limits
122No documented rate limits. No authentication required.

Rate Limits

No documented rate limits. No authentication required.

Raw lines 120 to 123
124## Categories
126These are website slugs; use spaces (URL-encoded) or underscores in API category values, e.g. `cardiovascular_medicine`.
128`addiction-medicine`, `allergy-and-immunology`, `anesthesia`, `cardiovascular-medicine`, `dentistry-and-oral-medicine`, `dermatology`, `emergency-medicine`, `endocrinology`, `epidemiology`, `forensic-medicine`, `gastroenterology`, `genetic-and-genomic-medicine`, `geriatric-medicine`, `health-economics`, `health-informatics`, `health-policy`, `health-systems-and-quality-improvement`, `hematology`, `hiv-aids`, `infectious-diseases`, `intensive-care-and-critical-care-medicine`, `medical-education`, `medical-ethics`, `nephrology`, `neurology`, `nursing`, `nutrition`, `obstetrics-and-gynecology`, `occupational-and-environmental-health`, `oncology`, `ophthalmology`, `orthopedics`, `otolaryngology`, `pain-medicine`, `palliative-medicine`, `pathology`, `pediatrics`, `pharmacology-and-therapeutics`, `primary-care-research`, `psychiatry-and-clinical-psychology`, `public-and-global-health`, `radiology-and-imaging`, `rehabilitation-medicine-and-physical-therapy`, `respiratory-medicine`, `rheumatology`, `sexual-and-reproductive-health`, `sports-medicine`, `surgery`, `toxicology`, `transplantation`, `urology`

Categories

These are website slugs; use spaces (URL-encoded) or underscores in API category values, e.g. cardiovascular_medicine.

addiction-medicine, allergy-and-immunology, anesthesia, cardiovascular-medicine, dentistry-and-oral-medicine, dermatology, emergency-medicine, endocrinology, epidemiology, forensic-medicine, gastroenterology, genetic-and-genomic-medicine, geriatric-medicine, health-economics, health-informatics, health-policy, health-systems-and-quality-improvement, hematology, hiv-aids, infectious-diseases, intensive-care-and-critical-care-medicine, medical-education, medical-ethics, nephrology, neurology, nursing, nutrition, obstetrics-and-gynecology, occupational-and-environmental-health, oncology, ophthalmology, orthopedics, otolaryngology, pain-medicine, palliative-medicine, pathology, pediatrics, pharmacology-and-therapeutics, primary-care-research, psychiatry-and-clinical-psychology, public-and-global-health, radiology-and-imaging, rehabilitation-medicine-and-physical-therapy, respiratory-medicine, rheumatology, sexual-and-reproductive-health, sports-medicine, surgery, toxicology, transplantation, urology

Raw lines 124 to 129
130## Official sources reviewed 2026-09-30
132- https://api.biorxiv.org/

Official sources reviewed 2026-09-30

  • https://api.biorxiv.org/
Raw lines 130 to 132