# medRxiv recent API

Get medRxiv Recent Preprints data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, and retrieve structured data including preprint DOI, preprint version, preprint title, source preprint date, and subject category for bibliographic linking, and literature discovery, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/market/apis/medrxiv/medrxiv-recent-api/?offering=59a67196-6e84-4914-91a8-9379d37933f6
API ID: 59a67196-6e84-4914-91a8-9379d37933f6
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/medrxiv/v1/recent
Page update time: 2026-12-03T02:45:22.588Z
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. Price update time: not supplied.
Contract update time: 2026-12-03T02:45:21.783Z. 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": []
  }
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "medRxiv recent 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": {
        "days": {
          "type": "integer",
          "description": "The last N days (default 7, max 366), when from/to are not given."
        },
        "from": {
          "type": "string",
          "description": "Start date (YYYY-MM-DD)."
        },
        "to": {
          "type": "string",
          "description": "End date (YYYY-MM-DD; default today)."
        },
        "category": {
          "type": "string",
          "description": "Subject category (see /medrxiv/v1/categories), e.g. infectious diseases."
        },
        "cursor": {
          "type": "string",
          "description": "Pass `next_cursor` back; null on the last page."
        },
        "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."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "attribution": {
      "type": "string"
    },
    "cached": {
      "type": "boolean"
    },
    "category": {
      "type": "null"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "cursor": {
      "type": "string"
    },
    "from": {
      "type": "string"
    },
    "items": {
      "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": "null"
              },
              "server": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "version": {
                "type": "integer"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "next_cursor": {
      "type": "string"
    },
    "to": {
      "type": "string"
    },
    "total": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/medrxiv/v1/recent?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
{
  "attribution": "Data: medRxiv (Cold Spring Harbor Laboratory, BMJ, Yale)",
  "cached": false,
  "category": null,
  "count": 30,
  "credits_used": 1,
  "cursor": "0",
  "from": "2026-10-31",
  "items": [
    {
      "abstract": "ImportanceDietary supplements are commonly used by adolescents and can carry risks including adverse effects, drug interactions, and contami…",
      "authors": [
        "Engel, E.",
        "Karsay, K.",
        "… 5 more"
      ],
      "category": "public and global health",
      "corresponding_author": "Elena Engel",
      "corresponding_institution": "University of Vienna",
      "date": "2026-10-31",
      "doi": "10.64898/2026.10.27.26366588",
      "jats_xml_url": "https://www.medrxiv.org/content/early/2026/10/31/2026.10.27.26366588.source.xml",
      "license": "cc_no",
      "published_doi": null,
      "server": "medRxiv",
      "title": "Risk Omission and Limited Disclosure in Dietary Supplement Promotion by Social Media Influencers",
      "type": "PUBLISHAHEADOFPRINT",
      "url": "https://www.medrxiv.org/content/10.64898/2026.10.27.26366588v2",
      "version": 2
    },
    {
      "abstract": "Biological aging clocks typically summarize complex biological profiles as a single age estimate, yet how uncertain these estimates are and …",
      "authors": [
        "Li, Y.",
        "Feng, G.",
        "… 13 more"
      ],
      "category": "epidemiology",
      "corresponding_author": "Qian Di",
      "corresponding_institution": "Tsinghua University",
      "date": "2026-10-31",
      "doi": "10.64898/2026.09.26.26364091",
      "jats_xml_url": "https://www.medrxiv.org/content/early/2026/10/31/2026.09.26.26364091.source.xml",
      "license": "cc_by_nc",
      "published_doi": null,
      "server": "medRxiv",
      "title": "Biological age uncertainty reveals discordant aging and predicts human healthspan",
      "type": "PUBLISHAHEADOFPRINT",
      "url": "https://www.medrxiv.org/content/10.64898/2026.09.26.26364091v2",
      "version": 2
    },
    "… 28 more"
  ],
  "next_cursor": "30",
  "to": "2026-11-06",
  "total": 367
}
```

## 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.

## Available implementations
- apish: https://openany.si/market/apis/medrxiv/medrxiv-recent-api/?offering=59a67196-6e84-4914-91a8-9379d37933f6

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