Home · APIs · Science and health · PubMed search

PubMed search API

One request, one key: POST /v1/science/pubmed/search. The sample below is a real response captured 20 November 2026, shortened for display (long text cut, lists cut to three items); it is not invented.

Price

5 credits a call. One call is about $0.049 and 1,000 calls are about $49 at the smallest paid plan's rate.Formula A call that comes back empty is not charged.

Try it free

Runs one real call with the sample input below. No key and no sign-up; a few runs a day per visitor.

{
  "query": "CRISPR gene therapy cancer"
}

What it returns

FieldTypeValue in the sample
querystringCRISPR gene therapy cancer
total_resultsnumber5192
returnednumber10
paperslist[{"pmid":"30684591","title":"CRISPR-Cas9 for cancer therapy: Opportunities and challenges","authors":["Chen...
pubmed_search_urlstringhttps://pubmed.ncbi.nlm.nih.gov/?term=CRISPR%20gene%20therapy%20cancer

Sample response (20 November 2026)

{
  "query": "CRISPR gene therapy cancer",
  "total_results": 5192,
  "returned": 10,
  "papers": [
    {
      "pmid": "30684591",
      "title": "CRISPR-Cas9 for cancer therapy: Opportunities and challenges",
      "authors": [
        "Chen M",
        "Mao A",
        "Xu M"
      ],
      "author_count": 6,
      "journal": "Cancer letters",
      "pub_date": "2019 Apr 10",
      "epub_date": "2019 Jan 23",
      "article_type": [
        "Journal Article",
        "Research Support, Non-U.S. Gov't",
        "Review"
      ],
      "doi": "10.1016/j.canlet.2019.01.017",
      "pmc_id": null,
      "pubmed_url": "https://pubmed.ncbi.nlm.nih.gov/30684591/",
      "abstract_available": true
    },
    {
      "pmid": "32959897",
      "title": "CRISPR/Cas gene therapy",
      "authors": [
        "Zhang B"
      ],
      "author_count": 1,
      "journal": "Journal of cellular physiology",
      "pub_date": "2021 Apr",
      "epub_date": "2020 Sep 22",
      "article_type": [
        "Journal Article",
        "Review"
      ],
      "doi": "10.1002/jcp.30064",
      "pmc_id": null,
      "pubmed_url": "https://pubmed.ncbi.nlm.nih.gov/32959897/",
      "abstract_available": true
    },
    {
      "pmid": "36495467",
      "title": "CRISPR-Cas9-mediated gene therapy in lung cancer",
      "authors": [
        "Kazemizadeh H",
        "Kashefizadeh A"
      ],
      "author_count": 2,
      "journal": "Clinical & translational oncology : official publication of the Federation of Spanish Oncology Societies and of the National Cancer Institute of Mexico",
      "pub_date": "2023 May",
      "epub_date": "2022 Dec 10",
      "article_type": [
        "Journal Article",
        "Review"
      ],
      "doi": "10.1007/s12094-022-03039-8",
      "pmc_id": null,
      "pubmed_url": "https://pubmed.ncbi.nlm.nih.gov/36495467/",
      "abstract_available": true
    }
  ],
  "pubmed_search_url": "https://pubmed.ncbi.nlm.nih.gov/?term=CRISPR%20gene%20therapy%20cancer"
}

Measured on that call: 1121 ms.

Code

curl -X POST https://api.foxapis.com/v1/science/pubmed/search \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"CRISPR gene therapy cancer"}'
import requests

r = requests.post(
    "https://api.foxapis.com/v1/science/pubmed/search",
    headers={"Authorization": "Bearer YOUR_KEY"},
    json={"query":"CRISPR gene therapy cancer"},
)
print(r.json())
const r = await fetch("https://api.foxapis.com/v1/science/pubmed/search", {
  method: "POST",
  headers: { "Authorization": "Bearer YOUR_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({"query":"CRISPR gene therapy cancer"}),
});
console.log(await r.json());

n8n (HTTP Request node: paste it into a workflow)

{
  "nodes": [
    {
      "name": "PubMed search",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "position": [
        0,
        0
      ],
      "parameters": {
        "method": "POST",
        "url": "https://api.foxapis.com/v1/science/pubmed/search",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer YOUR_KEY"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{\"query\":\"CRISPR gene therapy cancer\"}"
      }
    }
  ],
  "connections": {}
}

Assistants (Claude, ChatGPT, Cursor)

Connect the FoxAPIs server once; the tools it offers are listed on the MCP page.

claude mcp add --transport http foxapis https://foxapis.com/mcp \
  --header "Authorization: Bearer YOUR_KEY"

Errors and limits

Free to start: 100 credits, no card. Then from $10. Credits you buy never expire.

Get my free key

Same category: Science and health · all APIs

How we calculate

Data: scripts/data/endpoint-credits.json and plans.json, 2026-11-20. Every other figure on this page is copied from the record, not calculated by us.