[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73FVYYN3XB63J372H18M0KP":3,"skill-same:01M73FVYYN3XB63J372H18M0KP":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M73FVYYN3XB63J372H18M0KP","biorxiv-database",null,"Query bioRxiv\u002FmedRxiv preprints via REST API. Search by DOI, category, or date range; retrieve metadata (title, abstract, authors, category, DOI, version history) and PDFs. No auth. For peer-reviewed biomedical use pubmed-database; broader scholarly search use openalex-database.","bg-szy\u002FTOP-SKILLS","bg-szy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F106576190?v=4","01M73A4E8KPV67SFXRY8XZGNBX","ShuZhiyong","01M73A4E96MQ294MHM74TZBVQD",6,"CC0-1.0","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fawesome-skills\u002Fbiorxiv-database\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: \"biorxiv-database\"\ndescription: \"Query bioRxiv\u002FmedRxiv preprints via REST API. Search by DOI, category, or date range; retrieve metadata (title, abstract, authors, category, DOI, version history) and PDFs. No auth. For peer-reviewed biomedical use pubmed-database; broader scholarly search use openalex-database.\"\nlicense: \"CC0-1.0\"\n---\n\n# bioRxiv \u002F medRxiv Preprint Database\n\n## Overview\n\nbioRxiv (biology) and medRxiv (health sciences) are free preprint servers hosting 200,000+ and 50,000+ manuscripts, respectively, before or alongside peer review. The unified REST API provides programmatic access to preprint metadata (title, abstract, authors, category, DOI, version history) without authentication. Preprints are available as PDF and can be retrieved by DOI, date range, or category.\n\n## When to Use\n\n- Finding the most current research in fast-moving fields before peer review (e.g., infectious disease during outbreaks)\n- Monitoring weekly preprint submissions in a specific discipline category (e.g., bioinformatics, genomics, neuroscience)\n- Retrieving metadata and abstracts for a set of bioRxiv DOIs for literature screening\n- Building a corpus of preprints to track the preprint-to-publication pipeline\n- Checking whether a specific preprint has been updated or published in a peer-reviewed journal\n- For peer-reviewed biomedical literature use `pubmed-database`; for all disciplines use `openalex-database`\n\n## Prerequisites\n\n- **Python packages**: `requests`, `pandas`\n- **Data requirements**: bioRxiv\u002FmedRxiv DOIs, date ranges, or category names\n- **Environment**: internet connection; no API key or authentication required\n- **Rate limits**: no stated hard limit; use reasonable delays for bulk queries\n\n```bash\npip install requests pandas\n```\n\n## Quick Start\n\n```python\nimport requests\n\nBASE = \"https:\u002F\u002Fapi.biorxiv.org\"\n\n# Retrieve recent bioinformatics preprints\nr = requests.get(f\"{BASE}\u002Fdetails\u002Fbiorxiv\u002F2024-01-01\u002F2024-01-07\u002F0\",\n                 params={\"category\": \"bioinformatics\"})\nr.raise_for_status()\ndata = r.json()\nprint(f\"Total preprints: {int(data['messages'][0]['total'])}\")  # API returns total as a string\nfor article in data[\"collection\"][:3]:\n    print(f\"\\n{article['title'][:80]}\")\n    print(f\"  Authors : {article['authors'][:60]}\")\n    print(f\"  DOI     : {article['doi']}\")\n    print(f\"  Category: {article['category']}\")\n```\n\n## Core API\n\n### Query 1: Date-Range Preprint Listing\n\nRetrieve all preprints posted within a date range, optionally filtered by category.\n\n```python\nimport requests, pandas as pd\n\nBASE = \"https:\u002F\u002Fapi.biorxiv.org\"\n\ndef get_preprints(server, date_from, date_to, cursor=0, category=None):\n    \"\"\"\n    server: 'biorxiv' or 'medrxiv'\n    date_from, date_to: 'YYYY-MM-DD' strings\n    cursor: page offset (increments of 100)\n    \"\"\"\n    url = f\"{BASE}\u002Fdetails\u002F{server}\u002F{date_from}\u002F{date_to}\u002F{cursor}\"\n    r = requests.get(url)\n    r.raise_for_status()\n    return r.json()\n\ndata = get_preprints(\"biorxiv\", \"2024-01-01\", \"2024-01-03\")\ntotal = int(data[\"messages\"][0][\"total\"])  # API returns total as a string — cast for arithmetic\nprint(f\"bioRxiv preprints Jan 1-3, 2024: {total}\")\n\nrows = []\nfor article in data[\"collection\"][:10]:\n    rows.append({\n        \"doi\": article[\"doi\"],\n        \"title\": article[\"title\"],\n        \"authors\": article[\"authors\"][:80],\n        \"category\": article[\"category\"],\n        \"date\": article[\"date\"],\n        \"version\": article[\"version\"],\n    })\ndf = pd.DataFrame(rows)\nprint(df[[\"title\", \"category\", \"date\"]].head())\n```\n\n```python\n# Paginate through all results for a date range\ndef get_all_preprints(server, date_from, date_to, max_results=500):\n    all_articles = []\n    cursor = 0\n    while len(all_articles) \u003C max_results:\n        data = get_preprints(server, date_from, date_to, cursor)\n        collection = data[\"collection\"]\n        if not collection:\n            break\n        all_articles.extend(collection)\n        total = int(data[\"messages\"][0][\"total\"])  # cast: API returns total as string\n        cursor += 100\n        if cursor >= total:\n            break\n    return all_articles[:max_results]\n\narticles = get_all_preprints(\"biorxiv\", \"2024-01-01\", \"2024-01-07\")\nprint(f\"Retrieved {len(articles)} preprints from first week of 2024\")\n```\n\n### Query 2: Preprint Detail by DOI\n\nRetrieve full metadata and version history for a specific preprint by DOI.\n\n```python\nimport requests\n\nBASE = \"https:\u002F\u002Fapi.biorxiv.org\"\n\n# Retrieve specific preprint by DOI\ndoi = \"10.1101\u002F2024.01.01.000001\"  # Replace with real DOI\n\ndef get_by_doi(server, doi):\n    r = requests.get(f\"{BASE}\u002Fdetails\u002F{server}\u002F{doi}\")\n    r.raise_for_status()\n    return r.json()\n\n# Generic example using bioRxiv DOI pattern\nr = requests.get(f\"{BASE}\u002Fdetails\u002Fbiorxiv\u002F10.1101\u002F2024.05.28.596311\")\nif r.ok:\n    data = r.json()\n    articles = data.get(\"collection\", [])\n    if articles:\n        art = articles[-1]  # Latest version\n        print(f\"Title   : {art['title']}\")\n        print(f\"Authors : {art['authors'][:100]}\")\n        print(f\"Category: {art['category']}\")\n        print(f\"Date    : {art['date']}\")\n        print(f\"Version : {art['version']}\")\n        print(f\"DOI     : {art['doi']}\")\n        print(f\"Abstract (first 300): {art['abstract'][:300]}\")\n```\n\n### Query 3: Published Preprint Lookup\n\nCheck if a preprint has been published in a peer-reviewed journal.\n\n```python\nimport requests\n\nBASE = \"https:\u002F\u002Fapi.biorxiv.org\"\n\ndef check_published(server, doi):\n    \"\"\"Check if a preprint DOI has a corresponding published article.\"\"\"\n    r = requests.get(f\"{BASE}\u002Fpublisher\u002F{server}\u002F{doi}\")\n    r.raise_for_status()\n    data = r.json()\n    return data.get(\"collection\", [])\n\n# Check one known preprint\ndoi = \"10.1101\u002F2024.05.28.596311\"\npublished = check_published(\"biorxiv\", doi)\nif published:\n    pub = published[0]\n    print(f\"Published in: {pub.get('published_journal')}\")\n    print(f\"Published DOI: {pub.get('published_doi')}\")\nelse:\n    print(f\"Preprint {doi} has not been published yet (or not tracked)\")\n```\n\n### Query 4: Category-Based Monitoring\n\nMonitor preprints by specific research category.\n\n```python\nimport requests, pandas as pd\nfrom datetime import date, timedelta\n\nBASE = \"https:\u002F\u002Fapi.biorxiv.org\"\n\n# bioRxiv categories include: bioinformatics, genomics, neuroscience,\n# immunology, cell-biology, biochemistry, microbiology, etc.\n\ndef weekly_category_digest(category, days_back=7):\n    \"\"\"Get preprints from last N days for a specific category.\"\"\"\n    today = date.today()\n    date_from = (today - timedelta(days=days_back)).strftime(\"%Y-%m-%d\")\n    date_to = today.strftime(\"%Y-%m-%d\")\n\n    all_articles = []\n    cursor = 0\n    while True:\n        r = requests.get(f\"{BASE}\u002Fdetails\u002Fbiorxiv\u002F{date_from}\u002F{date_to}\u002F{cursor}\")\n        data = r.json()\n        batch = [a for a in data[\"collection\"] if category.lower() in a[\"category\"].lower()]\n        all_articles.extend(batch)\n        if len(data[\"collection\"]) \u003C 100:\n            break\n        cursor += 100\n\n    return pd.DataFrame(all_articles)[[\"doi\", \"title\", \"authors\", \"date\"]] if all_articles else pd.DataFrame()\n\ndf = weekly_category_digest(\"genomics\", days_back=3)\nprint(f\"Recent genomics preprints: {len(df)}\")\nprint(df[[\"title\", \"date\"]].head())\n```\n\n### Query 5: medRxiv Clinical\u002FHealth Research\n\nQuery medRxiv for health and clinical science preprints.\n\n```python\nimport requests, pandas as pd\n\nBASE = \"https:\u002F\u002Fapi.biorxiv.org\"\n\n# medRxiv categories: infectious diseases, epidemiology, oncology,\n# cardiology, neurology, psychiatry, public and global health, etc.\n\nr = requests.get(f\"{BASE}\u002Fdetails\u002Fmedrxiv\u002F2024-01-01\u002F2024-01-07\u002F0\")\nr.raise_for_status()\ndata = r.json()\ntotal = int(data[\"messages\"][0][\"total\"])  # cast: API returns total as string\nprint(f\"medRxiv preprints Jan 1-7, 2024: {total}\")\n\n# Group by category\nfrom collections import Counter\ncategory_counts = Counter(a[\"category\"] for a in data[\"collection\"])\nprint(\"\\nTop categories:\")\nfor cat, count in category_counts.most_common(5):\n    print(f\"  {cat}: {count}\")\n```\n\n### Query 6: Bulk DOI Resolution and Abstract Extraction\n\nRetrieve abstracts for a list of bioRxiv DOIs.\n\n```python\nimport requests, time, pandas as pd\n\nBASE = \"https:\u002F\u002Fapi.biorxiv.org\"\n\ndois = [\n    \"10.1101\u002F2024.05.28.596311\",\n    \"10.1101\u002F2023.11.28.569048\",\n    \"10.1101\u002F2023.03.07.531523\",\n]\n\nrows = []\nfor doi in dois:\n    r = requests.get(f\"{BASE}\u002Fdetails\u002Fbiorxiv\u002F{doi}\")\n    if r.ok:\n        collection = r.json().get(\"collection\", [])\n        if collection:\n            art = collection[-1]  # Latest version\n            rows.append({\n                \"doi\": doi,\n                \"title\": art.get(\"title\"),\n                \"category\": art.get(\"category\"),\n                \"date\": art.get(\"date\"),\n                \"abstract\": art.get(\"abstract\", \"\")[:300],\n            })\n    time.sleep(0.2)\n\ndf = pd.DataFrame(rows)\nif not df.empty:\n    df.to_csv(\"preprint_abstracts.csv\", index=False)\n    print(df[[\"doi\", \"title\", \"category\"]].to_string(index=False))\nelse:\n    print(\"No valid preprints found for provided DOIs\")\n```\n\n## Key Concepts\n\n### API Endpoint Structure\n\nThe bioRxiv API follows the pattern: `https:\u002F\u002Fapi.biorxiv.org\u002Fdetails\u002F{server}\u002F{interval}\u002F{cursor}`\n- `server`: `biorxiv` or `medrxiv`\n- `interval`: either a DOI (for single record) or `date_from\u002Fdate_to` (for date range)\n- `cursor`: pagination offset (0, 100, 200…)\n\n### Version Tracking\n\nPreprints can be updated; each update creates a new version (v1, v2, v3…). The API returns all versions chronologically; the last item in `collection` is always the most recent.\n\n## Common Workflows\n\n### Workflow 1: Weekly Preprint Digest Pipeline\n\n**Goal**: Automatically collect last week's preprints in target categories and export for review.\n\n```python\nimport requests, time, pandas as pd\nfrom datetime import date, timedelta\n\nBASE = \"https:\u002F\u002Fapi.biorxiv.org\"\n\nTARGET_CATEGORIES = [\"bioinformatics\", \"genomics\", \"systems biology\"]\nDAYS_BACK = 7\n\ntoday = date.today()\ndate_from = (today - timedelta(days=DAYS_BACK)).strftime(\"%Y-%m-%d\")\ndate_to = today.strftime(\"%Y-%m-%d\")\n\nprint(f\"Fetching bioRxiv preprints from {date_from} to {date_to}\")\n\nall_articles = []\ncursor = 0\nwhile True:\n    r = requests.get(f\"{BASE}\u002Fdetails\u002Fbiorxiv\u002F{date_from}\u002F{date_to}\u002F{cursor}\")\n    r.raise_for_status()\n    data = r.json()\n    batch = data[\"collection\"]\n    if not batch:\n        break\n    all_articles.extend(batch)\n    total = int(data[\"messages\"][0][\"total\"])  # cast: API returns total as string\n    cursor += 100\n    if cursor >= total:\n        break\n    time.sleep(0.1)\n\n# Filter by target categories\nfiltered = [a for a in all_articles\n            if any(cat in a.get(\"category\", \"\").lower() for cat in TARGET_CATEGORIES)]\n\ndf = pd.DataFrame(filtered)[[\"doi\", \"title\", \"authors\", \"category\", \"date\"]]\ndf = df.drop_duplicates(subset=\"doi\")  # Remove duplicate versions\n\noutput_file = f\"biorxiv_digest_{date_to}.csv\"\ndf.to_csv(output_file, index=False)\nprint(f\"\\nSaved {len(df)} preprints across {len(TARGET_CATEGORIES)} categories → {output_file}\")\nprint(df[[\"title\", \"category\", \"date\"]].head(5).to_string(index=False))\n```\n\n### Workflow 2: Preprint-to-Publication Tracker\n\n**Goal**: For a list of preprint DOIs, check which have been published and retrieve publication details.\n\n```python\nimport requests, time, pandas as pd\n\nBASE = \"https:\u002F\u002Fapi.biorxiv.org\"\n\npreprint_dois = [\n    \"10.1101\u002F2024.05.28.596311\",\n    \"10.1101\u002F2023.11.28.569048\",\n]\n\nresults = []\nfor doi in preprint_dois:\n    # Get preprint metadata\n    r_meta = requests.get(f\"{BASE}\u002Fdetails\u002Fbiorxiv\u002F{doi}\")\n    meta = {}\n    if r_meta.ok and r_meta.json().get(\"collection\"):\n        art = r_meta.json()[\"collection\"][-1]\n        meta = {\"title\": art[\"title\"], \"category\": art[\"category\"],\n                \"preprint_date\": art[\"date\"]}\n\n    # Check publication status\n    r_pub = requests.get(f\"{BASE}\u002Fpublisher\u002Fbiorxiv\u002F{doi}\")\n    published = {}\n    if r_pub.ok and r_pub.json().get(\"collection\"):\n        pub = r_pub.json()[\"collection\"][0]\n        published = {\"journal\": pub.get(\"published_journal\"),\n                     \"pub_doi\": pub.get(\"published_doi\")}\n\n    results.append({\"preprint_doi\": doi, **meta, **published})\n    time.sleep(0.25)\n\ndf = pd.DataFrame(results)\nprint(df.to_string(index=False))\ndf.to_csv(\"preprint_publication_status.csv\", index=False)\n```\n\n## Key Parameters\n\n| Parameter | Module | Default | Range \u002F Options | Effect |\n|-----------|--------|---------|-----------------|--------|\n| `server` | URL path | required | `\"biorxiv\"`, `\"medrxiv\"` | Select preprint server |\n| `date_from` | URL path | required | `\"YYYY-MM-DD\"` | Start of date range |\n| `date_to` | URL path | required | `\"YYYY-MM-DD\"` | End of date range |\n| `cursor` | URL path | `0` | `0`, `100`, `200`… | Pagination offset (100 per page) |\n| `category` | Filter | — | e.g., `\"bioinformatics\"` | Category name substring match (post-filter) |\n| `version` | — | all versions | — | API returns all versions; use `[-1]` for latest |\n\n## Best Practices\n\n1. **Always take the last element for latest version**: The `collection` array is sorted oldest-to-newest version. Use `collection[-1]` to get the most current version of a preprint.\n\n2. **Post-filter by category**: The API does not natively filter by category; retrieve all preprints for a date range and filter client-side using `if category in article[\"category\"].lower()`.\n\n3. **Respect server resources**: Add `time.sleep(0.2)` between individual DOI lookups; avoid bulk hammering the API.\n\n4. **Cross-check with PubMed**: The `publisher` endpoint reveals when a preprint is published; use `pubmed-database` to retrieve the full peer-reviewed article metadata.\n\n5. **Handle missing abstracts**: Some preprints have empty `abstract` fields. Always guard with `art.get(\"abstract\", \"\") or \"No abstract available\"`.\n\n## Common Recipes\n\n### Recipe: Download Preprint PDF (Cloudflare-aware)\n\nWhen to use: Retrieve full-text PDF for a bioRxiv preprint. **Caveat**: as of 2026, `www.biorxiv.org` is fronted by Cloudflare's anti-bot challenge — direct `requests.get(..., headers={\"User-Agent\": \"Mozilla\u002F5.0\"})` consistently returns HTTP 403 (\"Just a moment...\") even with a `Session` and a landing-page warmup. The pattern below attempts a best-effort download with realistic browser headers, then falls back to EuropePMC for metadata if blocked.\n\n```python\nimport requests\n\ndef download_biorxiv_pdf(doi, out_path=None):\n    \"\"\"Best-effort PDF download. If Cloudflare blocks, return False so the caller\n    can fall back to EuropePMC metadata or open the landing page in a browser.\"\"\"\n    pdf_url = f\"https:\u002F\u002Fwww.biorxiv.org\u002Fcontent\u002F{doi}.full.pdf\"\n    s = requests.Session()\n    s.headers.update({\n        \"User-Agent\": (\"Mozilla\u002F5.0 (X11; Linux x86_64) AppleWebKit\u002F537.36 \"\n                       \"(KHTML, like Gecko) Chrome\u002F124.0.0.0 Safari\u002F537.36\"),\n        \"Accept\": \"text\u002Fhtml,application\u002Fxhtml+xml,application\u002Fxml;q=0.9,application\u002Fpdf,*\u002F*;q=0.8\",\n        \"Accept-Language\": \"en-US,en;q=0.5\",\n    })\n    # Warm up the landing page first (sometimes lets Cloudflare's \"trust\" cookie set)\n    s.get(f\"https:\u002F\u002Fwww.biorxiv.org\u002Fcontent\u002F{doi}v1\", timeout=30)\n    r = s.get(pdf_url, timeout=60)\n    if r.ok and r.content.startswith(b\"%PDF\"):\n        out = out_path or f\"{doi.replace('\u002F', '_')}.pdf\"\n        with open(out, \"wb\") as f:\n            f.write(r.content)\n        print(f\"Downloaded {out} ({len(r.content)\u002F\u002F1024} KB)\")\n        return True\n    print(f\"PDF blocked (HTTP {r.status_code}); falling back to metadata-only via EuropePMC\")\n    return False\n\ndef europepmc_metadata(doi):\n    \"\"\"Fetch preprint metadata via EuropePMC when bioRxiv PDF is blocked.\n    EuropePMC indexes bioRxiv as source 'PPR' and exposes a stable landing URL.\"\"\"\n    r = requests.get(\"https:\u002F\u002Fwww.ebi.ac.uk\u002Feuropepmc\u002Fwebservices\u002Frest\u002Fsearch\",\n                     params={\"query\": f\"DOI:{doi}\", \"format\": \"json\"}, timeout=30)\n    r.raise_for_status()\n    hits = r.json().get(\"resultList\", {}).get(\"result\", [])\n    if not hits:\n        return None\n    h = hits[0]\n    return {\n        \"source\": h.get(\"source\"),                      # 'PPR' for preprints\n        \"epmc_id\": h.get(\"id\"),                         # e.g. 'PPR860608'\n        \"title\": h.get(\"title\"),\n        \"landing_url\": f\"https:\u002F\u002Feuropepmc.org\u002Farticle\u002F{h.get('source')}\u002F{h.get('id')}\",\n    }\n\ndoi = \"10.1101\u002F2024.05.28.596311\"\nif not download_biorxiv_pdf(doi):\n    meta = europepmc_metadata(doi)\n    print(f\"  EuropePMC landing: {meta['landing_url']}\")\n    print(f\"  Title: {meta['title'][:80]}\")\n```\n\n### Recipe: Count Preprints by Category\n\nWhen to use: Analyze the distribution of preprints across bioRxiv categories in a time window.\n\n```python\nimport requests, pandas as pd\nfrom collections import Counter\n\nr = requests.get(\"https:\u002F\u002Fapi.biorxiv.org\u002Fdetails\u002Fbiorxiv\u002F2024-01-01\u002F2024-01-07\u002F0\")\ndata = r.json()\ntotal = int(data[\"messages\"][0][\"total\"])  # cast: API returns total as a string\n\n# Fetch all pages\nall_articles = data[\"collection\"]\nfor cursor in range(100, min(total, 1000), 100):\n    r2 = requests.get(f\"https:\u002F\u002Fapi.biorxiv.org\u002Fdetails\u002Fbiorxiv\u002F2024-01-01\u002F2024-01-07\u002F{cursor}\")\n    all_articles.extend(r2.json()[\"collection\"])\n\ncounts = Counter(a[\"category\"] for a in all_articles)\ndf = pd.DataFrame(counts.most_common(), columns=[\"category\", \"count\"])\nprint(df.head(10).to_string(index=False))\n```\n\n### Recipe: Check if Preprint Has Been Published\n\nWhen to use: Quick single-preprint publication check.\n\n```python\nimport requests\n\ndoi = \"10.1101\u002F2024.05.28.596311\"\nr = requests.get(f\"https:\u002F\u002Fapi.biorxiv.org\u002Fpublisher\u002Fbiorxiv\u002F{doi}\")\ncollection = r.json().get(\"collection\", [])\nif collection:\n    print(f\"Published: {collection[0]['published_journal']} | DOI: {collection[0]['published_doi']}\")\nelse:\n    print(\"Not published or not tracked\")\n```\n\n## Troubleshooting\n\n| Problem | Cause | Solution |\n|---------|-------|----------|\n| `collection` is empty | DOI not found or date range has no results | Verify DOI format (starts with `10.1101\u002F`); check date range |\n| Duplicate preprints in results | Multiple versions returned | Deduplicate by DOI: `df.drop_duplicates(subset='doi', keep='last')` |\n| Missing abstract field | Some preprints don't have structured abstracts | Guard with `art.get(\"abstract\", \"\") or \"N\u002FA\"` |\n| `total` count vs retrieved mismatch | New preprints added during pagination | Accept approximate totals; preprints are added continuously |\n| PDF download blocked (HTTP 403 \"Just a moment...\") | Cloudflare anti-bot on `www.biorxiv.org\u002F...\u002F*.full.pdf` (cannot be bypassed by a `Mozilla\u002F5.0` UA alone, nor by a Session + landing-page warmup) | Try the Session + warmup recipe; if still blocked, fall back to EuropePMC (`source=PPR`) for metadata, or fetch the PDF interactively from the bioRxiv landing page in a browser |\n| `cursor >= total` never triggers; loop runs forever | `data['messages'][0]['total']` is returned as a **string** (e.g. `'1119'`); `int_cursor >= str_total` raises `TypeError` or compares lexically | Cast explicitly: `int(data[\"messages\"][0][\"total\"])` in every pagination loop |\n| `collection` empty for a specific DOI | The DOI never resolved to a real preprint (e.g. fake placeholder like `2023.01.01.000001`, or a stale\u002Fwithdrawn DOI) | Verify the DOI on `https:\u002F\u002Fwww.biorxiv.org\u002Fcontent\u002F{doi}v1` first; recent DOIs from a date-range listing are the safest examples |\n| Slow pagination for large date ranges | Large number of preprints | Use narrower date windows (3-7 days) for busy periods |\n\n## Related Skills\n\n- `pubmed-database` — Peer-reviewed biomedical literature for verifying published versions of preprints\n- `openalex-database` — Broader scholarly index including bioRxiv content after indexing lag\n- `literature-review` — Guide for incorporating preprints into systematic reviews\n- `scientific-brainstorming` — Using preprint alerts as input for hypothesis generation\n\n## References\n\n- [bioRxiv API documentation](https:\u002F\u002Fapi.biorxiv.org\u002F) — Official API endpoint and response format\n- [bioRxiv about page](https:\u002F\u002Fwww.biorxiv.org\u002Fabout\u002Fhome) — Server overview, submission guidelines\n- [medRxiv about page](https:\u002F\u002Fwww.medrxiv.org\u002Fabout\u002Fhome) — Health science preprint server details\n- [Preprint guidelines review (Fraser et al. 2021)](https:\u002F\u002Fdoi.org\u002F10.1371\u002Fjournal.pbio.3001285) — Best practices for citing and using preprints in research\n","# bioRxiv \u002F medRxiv Preprint Database\n\n## Overview\n\nbioRxiv (biology) and medRxiv (health sciences) are free preprint servers hosting 200,000+ and 50,000+ manuscripts, respectively, before or alongside peer review. The unified REST API provides programmatic access to preprint metadata (title, abstract, authors, category, DOI, version history) without authentication. Preprints are available as PDF and can be retrieved by DOI, date range, or category.\n\n## When to Use\n\n- Finding the most current research in fast-moving fields before peer review (e.g., infectious disease during outbreaks)\n- Monitoring weekly preprint submissions in a specific discipline category (e.g., bioinformatics, genomics, neuroscience)\n- Retrieving metadata and abstracts for a set of bioRxiv DOIs for literature screening\n- Building a corpus of preprints to track the preprint-to-publication pipeline\n- Checking whether a specific preprint has been updated or published in a peer-reviewed journal\n- For peer-reviewed biomedical literature use `pubmed-database`; for all disciplines use `openalex-database`\n\n## Prerequisites\n\n- **Python packages**: `requests`, `pandas`\n- **Data requirements**: bioRxiv\u002FmedRxiv DOIs, date ranges, or category names\n- **Environment**: internet connection; no API key or authentication required\n- **Rate limits**: no stated hard limit; use reasonable delays for bulk queries\n\n```bash\npip install requests pandas\n```\n\n## Quick Start\n\n```python\nimport requests\n\nBASE = \"https:\u002F\u002Fapi.biorxiv.org\"\n\n# Retrieve recent bioinformatics preprints\nr = requests.get(f\"{BASE}\u002Fdetails\u002Fbiorxiv\u002F2024-01-01\u002F2024-01-07\u002F0\",\n                 params={\"category\": \"bioinformatics\"})\nr.raise_for_status()\ndata = r.json()\nprint(f\"Total preprints: {int(data['messages'][0]['total'])}\")  # API returns total as a string\nfor article in data[\"collection\"][:3]:\n    print(f\"\\n{article['title'][:80]}\")\n    print(f\"  Authors : {article['authors'][:60]}\")\n    print(f\"  DOI     : {article['doi']}\")\n    print(f\"  Category: {article['category']}\")\n```\n\n## Core API\n\n### Query 1: Date-Range Preprint Listing\n\nRetrieve all preprints posted within a date range, optionally filtered by category.\n\n```python\nimport requests, pandas as pd\n\nBASE = \"https:\u002F\u002Fapi.biorxiv.org\"\n\ndef get_preprints(server, date_from, date_to, cursor=0, category=None):\n    \"\"\"\n    server: 'biorxiv' or 'medrxiv'\n    date_from, date_to: 'YYYY-MM-DD' strings\n    cursor: page offset (increments of 100)\n    \"\"\"\n    url = f\"{BASE}\u002Fdetails\u002F{server}\u002F{date_from}\u002F{date_to}\u002F{cursor}\"\n    r = requests.get(url)\n    r.raise_for_status()\n    return r.json()\n\ndata = get_preprints(\"biorxiv\", \"2024-01-01\", \"2024-01-03\")\ntotal = int(data[\"messages\"][0][\"total\"])  # API returns total as a string — cast for arithmetic\nprint(f\"bioRxiv preprints Jan 1-3, 2024: {total}\")\n\nrows = []\nfor article in data[\"collection\"][:10]:\n    rows.append({\n        \"doi\": article[\"doi\"],\n        \"title\": article[\"title\"],\n        \"authors\": article[\"authors\"][:80],\n        \"category\": article[\"category\"],\n        \"date\": article[\"date\"],\n        \"version\": article[\"version\"],\n    })\ndf = pd.DataFrame(rows)\nprint(df[[\"title\", \"category\", \"date\"]].head())\n```\n\n```python\n# Paginate through all results for a date range\ndef get_all_preprints(server, date_from, date_to, max_results=500):\n    all_articles = []\n    cursor = 0\n    while len(all_articles) \u003C max_results:\n        data = get_preprints(server, date_from, date_to, cursor)\n        collection = data[\"collection\"]\n        if not collection:\n            break\n        all_articles.extend(collection)\n        total = int(data[\"messages\"][0][\"total\"])  # cast: API returns total as string\n        cursor += 100\n        if cursor >= total:\n            break\n    return all_articles[:max_results]\n\narticles = get_all_preprints(\"biorxiv\", \"2024-01-01\", \"2024-01-07\")\nprint(f\"Retrieved {len(articles)} preprints from first week of 2024\")\n```\n\n### Query 2: Preprint Detail by DOI\n\nRetrieve full metadata and version history for a specific preprint by DOI.\n\n```python\nimport requests\n\nBASE = \"https:\u002F\u002Fapi.biorxiv.org\"\n\n# Retrieve specific preprint by DOI\ndoi = \"10.1101\u002F2024.01.01.000001\"  # Replace with real DOI\n\ndef get_by_doi(server, doi):\n    r = requests.get(f\"{BASE}\u002Fdetails\u002F{server}\u002F{doi}\")\n    r.raise_for_status()\n    return r.json()\n\n# Generic example using bioRxiv DOI pattern\nr = requests.get(f\"{BASE}\u002Fdetails\u002Fbiorxiv\u002F10.1101\u002F2024.05.28.596311\")\nif r.ok:\n    data = r.json()\n    articles = data.get(\"collection\", [])\n    if articles:\n        art = articles[-1]  # Latest version\n        print(f\"Title   : {art['title']}\")\n        print(f\"Authors : {art['authors'][:100]}\")\n        print(f\"Category: {art['category']}\")\n        print(f\"Date    : {art['date']}\")\n        print(f\"Version : {art['version']}\")\n        print(f\"DOI     : {art['doi']}\")\n        print(f\"Abstract (first 300): {art['abstract'][:300]}\")\n```\n\n### Query 3: Published Preprint Lookup\n\nCheck if a preprint has been published in a peer-reviewed journal.\n\n```python\nimport requests\n\nBASE = \"https:\u002F\u002Fapi.biorxiv.org\"\n\ndef check_published(server, doi):\n    \"\"\"Check if a preprint DOI has a corresponding published article.\"\"\"\n    r = requests.get(f\"{BASE}\u002Fpublisher\u002F{server}\u002F{doi}\")\n    r.raise_for_status()\n    data = r.json()\n    return data.get(\"collection\", [])\n\n# Check one known preprint\ndoi = \"10.1101\u002F2024.05.28.596311\"\npublished = check_published(\"biorxiv\", doi)\nif published:\n    pub = published[0]\n    print(f\"Published in: {pub.get('published_journal')}\")\n    print(f\"Published DOI: {pub.get('published_doi')}\")\nelse:\n    print(f\"Preprint {doi} has not been published yet (or not tracked)\")\n```\n\n### Query 4: Category-Based Monitoring\n\nMonitor preprints by specific research category.\n\n```python\nimport requests, pandas as pd\nfrom datetime import date, timedelta\n\nBASE = \"https:\u002F\u002Fapi.biorxiv.org\"\n\n# bioRxiv categories include: bioinformatics, genomics, neuroscience,\n# immunology, cell-biology, biochemistry, microbiology, etc.\n\ndef weekly_category_digest(category, days_back=7):\n    \"\"\"Get preprints from last N days for a specific category.\"\"\"\n    today = date.today()\n    date_from = (today - timedelta(days=days_back)).strftime(\"%Y-%m-%d\")\n    date_to = today.strftime(\"%Y-%m-%d\")\n\n    all_articles = []\n    cursor = 0\n    while True:\n        r = requests.get(f\"{BASE}\u002Fdetails\u002Fbiorxiv\u002F{date_from}\u002F{date_to}\u002F{cursor}\")\n        data = r.json()\n        batch = [a for a in data[\"collection\"] if category.lower() in a[\"category\"].lower()]\n        all_articles.extend(batch)\n        if len(data[\"collection\"]) \u003C 100:\n            break\n        cursor += 100\n\n    return pd.DataFrame(all_articles)[[\"doi\", \"title\", \"authors\", \"date\"]] if all_articles else pd.DataFrame()\n\ndf = weekly_category_digest(\"genomics\", days_back=3)\nprint(f\"Recent genomics preprints: {len(df)}\")\nprint(df[[\"title\", \"date\"]].head())\n```\n\n### Query 5: medRxiv Clinical\u002FHealth Research\n\nQuery medRxiv for health and clinical science preprints.\n\n```python\nimport requests, pandas as pd\n\nBASE = \"https:\u002F\u002Fapi.biorxiv.org\"\n\n# medRxiv categories: infectious diseases, epidemiology, oncology,\n# cardiology, neurology, psychiatry, public and global health, etc.\n\nr = requests.get(f\"{BASE}\u002Fdetails\u002Fmedrxiv\u002F2024-01-01\u002F2024-01-07\u002F0\")\nr.raise_for_status()\ndata = r.json()\ntotal = int(data[\"messages\"][0][\"total\"])  # cast: API returns total as string\nprint(f\"medRxiv preprints Jan 1-7, 2024: {total}\")\n\n# Group by category\nfrom collections import Counter\ncategory_counts = Counter(a[\"category\"] for a in data[\"collection\"])\nprint(\"\\nTop categories:\")\nfor cat, count in category_counts.most_common(5):\n    print(f\"  {cat}: {count}\")\n```\n\n### Query 6: Bulk DOI Resolution and Abstract Extraction\n\nRetrieve abstracts for a list of bioRxiv DOIs.\n\n```python\nimport requests, time, pandas as pd\n\nBASE = \"https:\u002F\u002Fapi.biorxiv.org\"\n\ndois = [\n    \"10.1101\u002F2024.05.28.596311\",\n    \"10.1101\u002F2023.11.28.569048\",\n    \"10.1101\u002F2023.03.07.531523\",\n]\n\nrows = []\nfor doi in dois:\n    r = requests.get(f\"{BASE}\u002Fdetails\u002Fbiorxiv\u002F{doi}\")\n    if r.ok:\n        collection = r.json().get(\"collection\", [])\n        if collection:\n            art = collection[-1]  # Latest version\n            rows.append({\n                \"doi\": doi,\n                \"title\": art.get(\"title\"),\n                \"category\": art.get(\"category\"),\n                \"date\": art.get(\"date\"),\n                \"abstract\": art.get(\"abstract\", \"\")[:300],\n            })\n    time.sleep(0.2)\n\ndf = pd.DataFrame(rows)\nif not df.empty:\n    df.to_csv(\"preprint_abstracts.csv\", index=False)\n    print(df[[\"doi\", \"title\", \"category\"]].to_string(index=False))\nelse:\n    print(\"No valid preprints found for provided DOIs\")\n```\n\n## Key Concepts\n\n### API Endpoint Structure\n\nThe bioRxiv API follows the pattern: `https:\u002F\u002Fapi.biorxiv.org\u002Fdetails\u002F{server}\u002F{interval}\u002F{cursor}`\n- `server`: `biorxiv` or `medrxiv`\n- `interval`: either a DOI (for single record) or `date_from\u002Fdate_to` (for date range)\n- `cursor`: pagination offset (0, 100, 200…)\n\n### Version Tracking\n\nPreprints can be updated; each update creates a new version (v1, v2, v3…). The API returns all versions chronologically; the last item in `collection` is always the most recent.\n\n## Common Workflows\n\n### Workflow 1: Weekly Preprint Digest Pipeline\n\n**Goal**: Automatically collect last week's preprints in target categories and export for review.\n\n```python\nimport requests, time, pandas as pd\nfrom datetime import date, timedelta\n\nBASE = \"https:\u002F\u002Fapi.biorxiv.org\"\n\nTARGET_CATEGORIES = [\"bioinformatics\", \"genomics\", \"systems biology\"]\nDAYS_BACK = 7\n\ntoday = date.today()\ndate_from = (today - timedelta(days=DAYS_BACK)).strftime(\"%Y-%m-%d\")\ndate_to = today.strftime(\"%Y-%m-%d\")\n\nprint(f\"Fetching bioRxiv preprints from {date_from} to {date_to}\")\n\nall_articles = []\ncursor = 0\nwhile True:\n    r = requests.get(f\"{BASE}\u002Fdetails\u002Fbiorxiv\u002F{date_from}\u002F{date_to}\u002F{cursor}\")\n    r.raise_for_status()\n    data = r.json()\n    batch = data[\"collection\"]\n    if not batch:\n        break\n    all_articles.extend(batch)\n    total = int(data[\"messages\"][0][\"total\"])  # cast: API returns total as string\n    cursor += 100\n    if cursor >= total:\n        break\n    time.sleep(0.1)\n\n# Filter by target categories\nfiltered = [a for a in all_articles\n            if any(cat in a.get(\"category\", \"\").lower() for cat in TARGET_CATEGORIES)]\n\ndf = pd.DataFrame(filtered)[[\"doi\", \"title\", \"authors\", \"category\", \"date\"]]\ndf = df.drop_duplicates(subset=\"doi\")  # Remove duplicate versions\n\noutput_file = f\"biorxiv_digest_{date_to}.csv\"\ndf.to_csv(output_file, index=False)\nprint(f\"\\nSaved {len(df)} preprints across {len(TARGET_CATEGORIES)} categories → {output_file}\")\nprint(df[[\"title\", \"category\", \"date\"]].head(5).to_string(index=False))\n```\n\n### Workflow 2: Preprint-to-Publication Tracker\n\n**Goal**: For a list of preprint DOIs, check which have been published and retrieve publication details.\n\n```python\nimport requests, time, pandas as pd\n\nBASE = \"https:\u002F\u002Fapi.biorxiv.org\"\n\npreprint_dois = [\n    \"10.1101\u002F2024.05.28.596311\",\n    \"10.1101\u002F2023.11.28.569048\",\n]\n\nresults = []\nfor doi in preprint_dois:\n    # Get preprint metadata\n    r_meta = requests.get(f\"{BASE}\u002Fdetails\u002Fbiorxiv\u002F{doi}\")\n    meta = {}\n    if r_meta.ok and r_meta.json().get(\"collection\"):\n        art = r_meta.json()[\"collection\"][-1]\n        meta = {\"title\": art[\"title\"], \"category\": art[\"category\"],\n                \"preprint_date\": art[\"date\"]}\n\n    # Check publication status\n    r_pub = requests.get(f\"{BASE}\u002Fpublisher\u002Fbiorxiv\u002F{doi}\")\n    published = {}\n    if r_pub.ok and r_pub.json().get(\"collection\"):\n        pub = r_pub.json()[\"collection\"][0]\n        published = {\"journal\": pub.get(\"published_journal\"),\n                     \"pub_doi\": pub.get(\"published_doi\")}\n\n    results.append({\"preprint_doi\": doi, **meta, **published})\n    time.sleep(0.25)\n\ndf = pd.DataFrame(results)\nprint(df.to_string(index=False))\ndf.to_csv(\"preprint_publication_status.csv\", index=False)\n```\n\n## Key Parameters\n\n| Parameter | Module | Default | Range \u002F Options | Effect |\n|-----------|--------|---------|-----------------|--------|\n| `server` | URL path | required | `\"biorxiv\"`, `\"medrxiv\"` | Select preprint server |\n| `date_from` | URL path | required | `\"YYYY-MM-DD\"` | Start of date range |\n| `date_to` | URL path | required | `\"YYYY-MM-DD\"` | End of date range |\n| `cursor` | URL path | `0` | `0`, `100`, `200`… | Pagination offset (100 per page) |\n| `category` | Filter | — | e.g., `\"bioinformatics\"` | Category name substring match (post-filter) |\n| `version` | — | all versions | — | API returns all versions; use `[-1]` for latest |\n\n## Best Practices\n\n1. **Always take the last element for latest version**: The `collection` array is sorted oldest-to-newest version. Use `collection[-1]` to get the most current version of a preprint.\n\n2. **Post-filter by category**: The API does not natively filter by category; retrieve all preprints for a date range and filter client-side using `if category in article[\"category\"].lower()`.\n\n3. **Respect server resources**: Add `time.sleep(0.2)` between individual DOI lookups; avoid bulk hammering the API.\n\n4. **Cross-check with PubMed**: The `publisher` endpoint reveals when a preprint is published; use `pubmed-database` to retrieve the full peer-reviewed article metadata.\n\n5. **Handle missing abstracts**: Some preprints have empty `abstract` fields. Always guard with `art.get(\"abstract\", \"\") or \"No abstract available\"`.\n\n## Common Recipes\n\n### Recipe: Download Preprint PDF (Cloudflare-aware)\n\nWhen to use: Retrieve full-text PDF for a bioRxiv preprint. **Caveat**: as of 2026, `www.biorxiv.org` is fronted by Cloudflare's anti-bot challenge — direct `requests.get(..., headers={\"User-Agent\": \"Mozilla\u002F5.0\"})` consistently returns HTTP 403 (\"Just a moment...\") even with a `Session` and a landing-page warmup. The pattern below attempts a best-effort download with realistic browser headers, then falls back to EuropePMC for metadata if blocked.\n\n```python\nimport requests\n\ndef download_biorxiv_pdf(doi, out_path=None):\n    \"\"\"Best-effort PDF download. If Cloudflare blocks, return False so the caller\n    can fall back to EuropePMC metadata or open the landing page in a browser.\"\"\"\n    pdf_url = f\"https:\u002F\u002Fwww.biorxiv.org\u002Fcontent\u002F{doi}.full.pdf\"\n    s = requests.Session()\n    s.headers.update({\n        \"User-Agent\": (\"Mozilla\u002F5.0 (X11; Linux x86_64) AppleWebKit\u002F537.36 \"\n                       \"(KHTML, like Gecko) Chrome\u002F124.0.0.0 Safari\u002F537.36\"),\n        \"Accept\": \"text\u002Fhtml,application\u002Fxhtml+xml,application\u002Fxml;q=0.9,application\u002Fpdf,*\u002F*;q=0.8\",\n        \"Accept-Language\": \"en-US,en;q=0.5\",\n    })\n    # Warm up the landing page first (sometimes lets Cloudflare's \"trust\" cookie set)\n    s.get(f\"https:\u002F\u002Fwww.biorxiv.org\u002Fcontent\u002F{doi}v1\", timeout=30)\n    r = s.get(pdf_url, timeout=60)\n    if r.ok and r.content.startswith(b\"%PDF\"):\n        out = out_path or f\"{doi.replace('\u002F', '_')}.pdf\"\n        with open(out, \"wb\") as f:\n            f.write(r.content)\n        print(f\"Downloaded {out} ({len(r.content)\u002F\u002F1024} KB)\")\n        return True\n    print(f\"PDF blocked (HTTP {r.status_code}); falling back to metadata-only via EuropePMC\")\n    return False\n\ndef europepmc_metadata(doi):\n    \"\"\"Fetch preprint metadata via EuropePMC when bioRxiv PDF is blocked.\n    EuropePMC indexes bioRxiv as source 'PPR' and exposes a stable landing URL.\"\"\"\n    r = requests.get(\"https:\u002F\u002Fwww.ebi.ac.uk\u002Feuropepmc\u002Fwebservices\u002Frest\u002Fsearch\",\n                     params={\"query\": f\"DOI:{doi}\", \"format\": \"json\"}, timeout=30)\n    r.raise_for_status()\n    hits = r.json().get(\"resultList\", {}).get(\"result\", [])\n    if not hits:\n        return None\n    h = hits[0]\n    return {\n        \"source\": h.get(\"source\"),                      # 'PPR' for preprints\n        \"epmc_id\": h.get(\"id\"),                         # e.g. 'PPR860608'\n        \"title\": h.get(\"title\"),\n        \"landing_url\": f\"https:\u002F\u002Feuropepmc.org\u002Farticle\u002F{h.get('source')}\u002F{h.get('id')}\",\n    }\n\ndoi = \"10.1101\u002F2024.05.28.596311\"\nif not download_biorxiv_pdf(doi):\n    meta = europepmc_metadata(doi)\n    print(f\"  EuropePMC landing: {meta['landing_url']}\")\n    print(f\"  Title: {meta['title'][:80]}\")\n```\n\n### Recipe: Count Preprints by Category\n\nWhen to use: Analyze the distribution of preprints across bioRxiv categories in a time window.\n\n```python\nimport requests, pandas as pd\nfrom collections import Counter\n\nr = requests.get(\"https:\u002F\u002Fapi.biorxiv.org\u002Fdetails\u002Fbiorxiv\u002F2024-01-01\u002F2024-01-07\u002F0\")\ndata = r.json()\ntotal = int(data[\"messages\"][0][\"total\"])  # cast: API returns total as a string\n\n# Fetch all pages\nall_articles = data[\"collection\"]\nfor cursor in range(100, min(total, 1000), 100):\n    r2 = requests.get(f\"https:\u002F\u002Fapi.biorxiv.org\u002Fdetails\u002Fbiorxiv\u002F2024-01-01\u002F2024-01-07\u002F{cursor}\")\n    all_articles.extend(r2.json()[\"collection\"])\n\ncounts = Counter(a[\"category\"] for a in all_articles)\ndf = pd.DataFrame(counts.most_common(), columns=[\"category\", \"count\"])\nprint(df.head(10).to_string(index=False))\n```\n\n### Recipe: Check if Preprint Has Been Published\n\nWhen to use: Quick single-preprint publication check.\n\n```python\nimport requests\n\ndoi = \"10.1101\u002F2024.05.28.596311\"\nr = requests.get(f\"https:\u002F\u002Fapi.biorxiv.org\u002Fpublisher\u002Fbiorxiv\u002F{doi}\")\ncollection = r.json().get(\"collection\", [])\nif collection:\n    print(f\"Published: {collection[0]['published_journal']} | DOI: {collection[0]['published_doi']}\")\nelse:\n    print(\"Not published or not tracked\")\n```\n\n## Troubleshooting\n\n| Problem | Cause | Solution |\n|---------|-------|----------|\n| `collection` is empty | DOI not found or date range has no results | Verify DOI format (starts with `10.1101\u002F`); check date range |\n| Duplicate preprints in results | Multiple versions returned | Deduplicate by DOI: `df.drop_duplicates(subset='doi', keep='last')` |\n| Missing abstract field | Some preprints don't have structured abstracts | Guard with `art.get(\"abstract\", \"\") or \"N\u002FA\"` |\n| `total` count vs retrieved mismatch | New preprints added during pagination | Accept approximate totals; preprints are added continuously |\n| PDF download blocked (HTTP 403 \"Just a moment...\") | Cloudflare anti-bot on `www.biorxiv.org\u002F...\u002F*.full.pdf` (cannot be bypassed by a `Mozilla\u002F5.0` UA alone, nor by a Session + landing-page warmup) | Try the Session + warmup recipe; if still blocked, fall back to EuropePMC (`source=PPR`) for metadata, or fetch the PDF interactively from the bioRxiv landing page in a browser |\n| `cursor >= total` never triggers; loop runs forever | `data['messages'][0]['total']` is returned as a **string** (e.g. `'1119'`); `int_cursor >= str_total` raises `TypeError` or compares lexically | Cast explicitly: `int(data[\"messages\"][0][\"total\"])` in every pagination loop |\n| `collection` empty for a specific DOI | The DOI never resolved to a real preprint (e.g. fake placeholder like `2023.01.01.000001`, or a stale\u002Fwithdrawn DOI) | Verify the DOI on `https:\u002F\u002Fwww.biorxiv.org\u002Fcontent\u002F{doi}v1` first; recent DOIs from a date-range listing are the safest examples |\n| Slow pagination for large date ranges | Large number of preprints | Use narrower date windows (3-7 days) for busy periods |\n\n## Related Skills\n\n- `pubmed-database` — Peer-reviewed biomedical literature for verifying published versions of preprints\n- `openalex-database` — Broader scholarly index including bioRxiv content after indexing lag\n- `literature-review` — Guide for incorporating preprints into systematic reviews\n- `scientific-brainstorming` — Using preprint alerts as input for hypothesis generation\n\n## References\n\n- [bioRxiv API documentation](https:\u002F\u002Fapi.biorxiv.org\u002F) — Official API endpoint and response format\n- [bioRxiv about page](https:\u002F\u002Fwww.biorxiv.org\u002Fabout\u002Fhome) — Server overview, submission guidelines\n- [medRxiv about page](https:\u002F\u002Fwww.medrxiv.org\u002Fabout\u002Fhome) — Health science preprint server details\n- [Preprint guidelines review (Fraser et al. 2021)](https:\u002F\u002Fdoi.org\u002F10.1371\u002Fjournal.pbio.3001285) — Best practices for citing and using preprints in research\n",{"name":5,"license":15,"description":7},"master","63f17866001c5ca854bf2fa0b678ce277133de5b","skills\u002Fawesome-skills\u002Fbiorxiv-database",0,"https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS","https:\u002F\u002Fbg-szy.github.io\u002FTOP-SKILLS\u002F","https:\u002F\u002Fgithub.com\u002Fbg-szy","https:\u002F\u002Fwww.ecust.edu.cn\u002F","a student of East China University of Science and Technology","2026-11-15 03:38:02",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add bg-szy\u002FTOP-SKILLS --skill biorxiv-database",{"tool":40,"command":41},"bunx","bunx skills add bg-szy\u002FTOP-SKILLS --skill biorxiv-database",{"tool":43,"command":44},"pnpm","pnpm dlx skills add bg-szy\u002FTOP-SKILLS --skill biorxiv-database","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fawesome-skills\u002Fbiorxiv-database\u002FSKILL.md",true,[],[49,58,65,72,79,86],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":53,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":57},"01M7DXW9N826PKXK174PVW3038","serpmaven","Scrape Google search results (SERP) to JSON with SERP Maven (serpmaven) - a real Chrome browser on a residential proxy with sticky sessions. Run it as a CLI, a Python library, a local HTTP search API (`serve`), an MCP server or a Docker image; set the proxy login, workers, pages and cost tracking. Use when the user wants Google results, rank tracking, a self-hosted SERP API, or live Google search for an AI agent.","MIT","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fserpmaven\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":53,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":57},"01M7DXVHSTWDV65475QEQ915M7","revnu-landing-page-audit","Find out why a landing page isn't turning visitors into signups, demos or sales. Audits one page against what the ad, post or search that sends people there promised, then checks the first screen, proof, call to action, friction and mobile. Returns at most 7 prioritized fixes, plus what is fine and what could not be checked; rewrites specific lines and fixes the page in the repo when asked. Never promises a conversion lift. Works without a Revnu account. Use when the user says or asks: \"audit my landing page\", \"why isn't this page converting\", \"review my homepage\", \"my ads get clicks but no signups\", \"people bounce from the pricing page\", \"CRO review\", \"improve conversion rate\", \"is my hero section clear\", \"roast my landing page\", \"rewrite my headline\", \"what's wrong with this page\", \"landing page feedback\", \"make the signup page convert better\". Not for SEO or AI-search audits, page speed engineering on its own, or building a new page from scratch.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-landing-page-audit\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":53,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":57},"01M7DXV8X2D7B3VTD4HHYYHTGR","revnu-growth-context","Write down once who buys, what they're stuck on, what it costs, what proof you have and what you've already tried, so every growth task starts from facts instead of a questionnaire. Creates or updates .agents\u002Frevnu-growth.md from the repo, the live site and the user, and imports an existing product-marketing.md. Use when the user says \"set up our marketing context\", \"who is our ideal customer\", \"write our ICP\", \"describe the product for marketing\", \"positioning doc\", \"what's our brand voice\", \"remember this about our customers\", \"log what we tried\", \"what have we learned from marketing\", \"we changed pricing, update the context\", \"update our growth notes\", \"summarize the business for the agent\", \"import my product-marketing.md\", \"start a growth doc\", or before a first marketing, SEO, outreach or launch task when no context file exists. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-growth-context\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":53,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":57},"01M7DXV0DGJ1G0A60PAHC6J3C5","revnu-get-listed","Get onto the third-party pages AI answers and search cite when buyers ask for the best tool in your category: \"best X\" roundups, directories, review sites, GitHub awesome lists, community threads and comparison pages. Finds which ones are cited, ranks them by fit and effort, and drafts each submission, PR or pitch by the target's own rules. Use when the user says \"get us listed\", \"which directories should we submit to\", \"how do we get into best-of lists\", \"why does ChatGPT recommend competitors and not us\", \"get mentioned in AI answers\", \"submit to awesome lists\", \"get on G2\", \"where are our competitors listed\", \"pitch listicle authors\", \"find backlink opportunities\", \"launch directories\", \"get into roundups\", \"Product Hunt alternatives\", \"where should we be listed\", \"get cited by Perplexity\". Never submits, pays or posts without a yes. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-get-listed\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":53,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":57},"01M7DXTSPMGT9D6DSS0HP9BSTA","revnu-ai-readiness-audit","Audit whether your website gives ChatGPT, Perplexity, Claude, Gemini and Google's AI Overviews something worth quoting, and fix the pages that don't. Use when the user says or asks \"is my site ready for AI search\", \"audit my site for AI answers\", \"AEO audit\", \"GEO audit\", \"why doesn't ChatGPT quote our pricing\", \"make our pages citable by AI\", \"do I need llms.txt\", \"does schema help with ChatGPT\", \"check our structured data\", \"is our content visible without JavaScript\", \"AI SEO audit\", \"optimize our homepage for AI answers\", \"LLM SEO check\", \"why does AI get our product wrong\", \"fix our site for AI Overviews\". Checks fetchability and indexability, answers in the raw HTML, entity facts, schema (including JS-injected markup), headings, dates and llms.txt, then gives at most 10 prioritised fixes and edits the repo when asked. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-ai-readiness-audit\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":53,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":57},"01M7DXSZHCVTRS620GC3S97JZV","proxy-troubleshooting","Diagnose residential proxy failures, with NodeMaven's gateway as the reference - 407 with correct credentials, 406, 410, 500, a connection that hangs, ERR_TUNNEL_CONNECTION_FAILED in a browser, Playwright or Puppeteer ignoring proxy credentials, a sticky session that changes IP, geo-targeting that is silently ignored, passwords with special characters, and unexpected traffic from headless Chrome. Use when a proxy connection fails, returns the wrong location, or costs more traffic than expected.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fproxy-troubleshooting\u002FSKILL.md",[],[]]