# bioRxiv preprint API

Get bioRxiv Preprint data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as doi, output, and retrieve structured data including preprint DOI, preprint title, resolved preprint version, reported version count, and historical version identifier for bibliographic linking, and literature discovery, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/biorxiv/biorxiv-preprint-api/0e7781bb-c3a0-4cde-85e2-d60c4638274c/
API ID: 0e7781bb-c3a0-4cde-85e2-d60c4638274c
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/biorxiv/v1/preprint
Page update time: 2026-12-03T02:45:22.458Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:45:20.934Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## bioRxiv Preprint API

doi accepts a preprint DOI or biorxiv.org link. The response retains the resolved preprint version, version\_count, versions, first\_posted and source licence metadata. published\_doi and publication link any available journal record separately; a preprint DOI and its publication DOI identify different source records.

## What You Can Build

- **Bibliographic linking**: Retain source identities and version context when connecting research catalogue records.
- **Literature discovery**: Use returned titles and source links to select records for further literature review.

## Returned Data

| Field | Meaning |
| --- | --- |
| `doi` | Preprint DOI |
| `title` | Preprint title |
| `version` | Resolved preprint version |
| `version_count` | Reported version count |
| `versions[].version` | Historical version identifier |
| `published_doi` | Linked publication DOI when available |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "bioRxiv preprint API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "doi": {
          "type": "string",
          "description": "Preprint DOI or a biorxiv.org link."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      },
      "required": [
        "doi"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "abstract": {
      "type": "string"
    },
    "attribution": {
      "type": "string"
    },
    "authors": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "cached": {
      "type": "boolean"
    },
    "category": {
      "type": "string"
    },
    "corresponding_author": {
      "type": "string"
    },
    "corresponding_institution": {
      "type": "string"
    },
    "credits_used": {
      "type": "integer"
    },
    "date": {
      "type": "string"
    },
    "doi": {
      "type": "string"
    },
    "first_posted": {
      "type": "string"
    },
    "jats_xml_url": {
      "type": "string"
    },
    "license": {
      "type": "string"
    },
    "publication": {
      "type": "object",
      "properties": {
        "preprint_authors": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "preprint_category": {
          "type": "string"
        },
        "preprint_date": {
          "type": "string"
        },
        "preprint_doi": {
          "type": "string"
        },
        "preprint_title": {
          "type": "string"
        },
        "preprint_url": {
          "type": "string"
        },
        "published_citation_count": {
          "type": "null"
        },
        "published_date": {
          "type": "string"
        },
        "published_doi": {
          "type": "string"
        },
        "published_journal": {
          "type": "string"
        },
        "published_url": {
          "type": "string"
        }
      }
    },
    "published_doi": {
      "type": "string"
    },
    "server": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "version": {
      "type": "integer"
    },
    "version_count": {
      "type": "integer"
    },
    "versions": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "abstract": {
                "type": "string"
              },
              "authors": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "category": {
                "type": "string"
              },
              "corresponding_author": {
                "type": "string"
              },
              "corresponding_institution": {
                "type": "string"
              },
              "date": {
                "type": "string"
              },
              "doi": {
                "type": "string"
              },
              "jats_xml_url": {
                "type": "string"
              },
              "license": {
                "type": "string"
              },
              "published_doi": {
                "type": "string"
              },
              "server": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "version": {
                "type": "integer"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/biorxiv/v1/preprint?doi=10.1101%2F2020.03.22.002386&output=json' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "abstract": "An outbreak of the novel coronavirus SARS-CoV-2, the causative agent of COVID-19 respiratory disease, has infected over 290,000 people since…",
  "attribution": "Data: bioRxiv (Cold Spring Harbor Laboratory)",
  "authors": [
    "Gordon, D. E.",
    "Jang, G. M.",
    "… 43 more"
  ],
  "cached": false,
  "category": "systems biology",
  "corresponding_author": "Nevan J. Krogan",
  "corresponding_institution": "QBI COVID-19 Research Group (QCRG), San Francisco, CA, 94158, USA; University of California San Francisco, Quantitative Biosciences Institut…",
  "credits_used": 1,
  "date": "2020-03-27",
  "doi": "10.1101/2020.03.22.002386",
  "first_posted": "2020-03-22",
  "jats_xml_url": "https://www.biorxiv.org/content/early/2020/03/27/2020.03.22.002386.source.xml",
  "license": "cc_by",
  "publication": {
    "preprint_authors": [
      "Gordon, D. E.",
      "Jang, G. M.",
      "… 43 more"
    ],
    "preprint_category": "systems biology",
    "preprint_date": "2020-03-22",
    "preprint_doi": "10.1101/2020.03.22.002386",
    "preprint_title": "A SARS-CoV-2-Human Protein-Protein Interaction Map Reveals Drug Targets and Potential Drug-Repurposing",
    "preprint_url": "https://www.biorxiv.org/content/10.1101/2020.03.22.002386",
    "published_citation_count": null,
    "published_date": "2020-04-30",
    "published_doi": "10.1038/s41586-020-2286-9",
    "published_journal": "Nature",
    "published_url": "https://doi.org/10.1038/s41586-020-2286-9"
  },
  "published_doi": "10.1038/s41586-020-2286-9",
  "server": "bioRxiv",
  "title": "A SARS-CoV-2-Human Protein-Protein Interaction Map Reveals Drug Targets and Potential Drug-Repurposing",
  "type": "new results",
  "url": "https://www.biorxiv.org/content/10.1101/2020.03.22.002386v3",
  "version": 3,
  "version_count": 3,
  "versions": [
    {
      "abstract": "An outbreak of the novel coronavirus SARS-CoV-2, the causative agent of COVID-19 respiratory disease, has infected over 290,000 people since…",
      "authors": [
        "Gordon, D. E.",
        "Jang, G. M.",
        "… 43 more"
      ],
      "category": "systems biology",
      "corresponding_author": "Nevan J. Krogan",
      "corresponding_institution": "QBI COVID-19 Research Group (QCRG), San Francisco, CA, 94158, USA; University of California San Francisco, Quantitative Biosciences Institut…",
      "date": "2020-03-22",
      "doi": "10.1101/2020.03.22.002386",
      "jats_xml_url": "https://www.biorxiv.org/content/early/2020/03/22/2020.03.22.002386.source.xml",
      "license": "cc_by",
      "published_doi": "10.1038/s41586-020-2286-9",
      "server": "bioRxiv",
      "title": "A SARS-CoV-2-Human Protein-Protein Interaction Map Reveals Drug Targets and Potential Drug-Repurposing",
      "type": "new results",
      "url": "https://www.biorxiv.org/content/10.1101/2020.03.22.002386v1",
      "version": 1
    },
    {
      "abstract": "An outbreak of the novel coronavirus SARS-CoV-2, the causative agent of COVID-19 respiratory disease, has infected over 290,000 people since…",
      "authors": [
        "Gordon, D. E.",
        "Jang, G. M.",
        "… 43 more"
      ],
      "category": "systems biology",
      "corresponding_author": "Nevan J. Krogan",
      "corresponding_institution": "QBI COVID-19 Research Group (QCRG), San Francisco, CA, 94158, USA; University of California San Francisco, Quantitative Biosciences Institut…",
      "date": "2020-03-23",
      "doi": "10.1101/2020.03.22.002386",
      "jats_xml_url": "https://www.biorxiv.org/content/early/2020/03/23/2020.03.22.002386.source.xml",
      "license": "cc_by",
      "published_doi": "10.1038/s41586-020-2286-9",
      "server": "bioRxiv",
      "title": "A SARS-CoV-2-Human Protein-Protein Interaction Map Reveals Drug Targets and Potential Drug-Repurposing",
      "type": "new results",
      "url": "https://www.biorxiv.org/content/10.1101/2020.03.22.002386v2",
      "version": 2
    },
    "… 1 more"
  ]
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Can I use the journal DOI as the preprint DOI?
Use the preprint DOI or source preprint URL; retain the linked published_doi separately.

### How do I distinguish first posting from a version date?
Keep first_posted, date and version with their source meanings.

### Does every preprint have a journal link?
No. published_doi or publication can be missing.

### Does this download JATS XML?
It returns metadata and an available jats_xml_url, not the linked XML file bytes.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/biorxiv/biorxiv-preprint-api/0e7781bb-c3a0-4cde-85e2-d60c4638274c/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
