Request
https://api.zapi.ink/v1/research:pubmed/summarySend your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 5 minutes.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| id | string | query | Yes | Comma-separated UIDs, max 200 per call Example: 33301246,32109013 |
| db | enum: pubmed | protein | nuccore | ipg | nucleotide | structure | genome | grasp | annotinfo | assembly | bioproject | biosample | blastdbinfo | books | cdd | clinvar | dbvar | gene | gds | geoprofiles | medgen | mesh | nlmcatalog | omim | orgtrack | pmc | proteinclusters | pcassay | protfam | pccompound | pcsubstance | seqannot | snp | sra | taxonomy | biocollections | gtr | query | No | Entrez database. Default pubmed Example: pubmed |
| version | enum: 1.0 | 2.0 | query | No | Summary schema version. Default 2.0 Example: 2.0 |
Code examples
curl -X GET "https://api.zapi.ink/v1/research:pubmed/summary?id=33301246%2C32109013&db=pubmed&version=2.0" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/research:pubmed/summary?id=33301246%2C32109013&db=pubmed&version=2.0", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/research:pubmed/summary", params={"id":"33301246,32109013","db":"pubmed","version":"2.0"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "research:pubmed", "data": { "db": "pubmed", "count": 2, "items": [ { "uid": "33301246", "essn": "1533-4406", "issn": "0028-4793", "issue": "27", "pages": "2603-2615", "title": "Safety and Efficacy of the BNT162b2 mRNA Covid-19 Vaccine.", "medium": "", "source": "N Engl J Med", "volume": "383", "authors": [ { "name": "Polack FP", "authType": "Author", "clusterId": "" }, { "name": "Thomas SJ", "authType": "Author", "clusterId": "" }, { "name": "Kitchin N", "authType": "Author", "clusterId": "" } ], "chapter": "", "docDate": "", "docType": "citation", "edition": "", "history": [ { "date": "2020/12/11 06:00", "pubStatus": "pubmed" }, { "date": "2021/01/13 06:00", "pubStatus": "medline" }, { "date": "2020/12/10 12:20", "pubStatus": "entrez" } ], "pubDate": "2020 Dec 31", "srcDate": "", "bookName": "", "ePubDate": "2020 Dec 10", "pubTypes": [ "Clinical Trial, Phase II", "Clinical Trial, Phase III", "Journal Article" ], "bookTitle": "", "languages": [ "eng" ], "pubStatus": "256", "sortTitle": "safety and efficacy of the bnt162b2 mrna covid 19 vaccine", "articleIds": [ { "value": "33301246", "idType": "pubmed", "idTypeNum": 1 }, { "value": "PMC7745181", "idType": "pmc", "idTypeNum": 8 }, { "value": "pmc-id: PMC7745181;", "idType": "pmcid", "idTypeNum": 5 } ], "attributes": [ "Has Abstract" ], "lastAuthor": "Gruber WC", "references": [ { "note": "", "pmid": 33301245, "refType": "Comment in", "refSource": "N Engl J Med. 2020 Dec 31;383(27):2677-2678. doi: 10.1056/NEJMe2034717." }, { "note": "", "pmid": 33311629, "refType": "Comment in", "refSource": "Nature. 2020 Dec;588(7838):377-378. doi: 10.1038/d41586-020-03542-4." }, { "note": "", "pmid": 33478841, "refType": "Comment in", "refSource": "Semergen. 2021 Jan-Feb;47(1):1-3. doi: 10.1016/j.semerg.2020.12.005." } ], "eLocationId": "doi: 10.1056/NEJMoa2034577", "nlmUniqueId": "0255562", "pmcRefCount": 13, "sortPubDate": "2020/12/31 00:00", "recordStatus": "PubMed - indexed for MEDLINE", "reportNumber": "", "locationLabel": "", "publisherName": "", "fullJournalName": "The New England journal of medicine", "sortFirstAuthor": "Polack FP", "vernacularTitle": "", "availableFromUrl": "", "publisherLocation": "" }, { "uid": "32109013", "essn": "1533-4406", "issn": "0028-4793", "issue": "18", "pages": "1708-1720", "title": "Clinical Characteristics of Coronavirus Disease 2019 in China.", "medium": "", "source": "N Engl J Med", "volume": "382", "authors": [ { "name": "Guan WJ", "authType": "Author", "clusterId": "" }, { "name": "Ni ZY", "authType": "Author", "clusterId": "" }, { "name": "Hu Y", "authType": "Author", "clusterId": "" } ], "chapter": "", "docDate": "", "docType": "citation", "edition": "", "history": [ { "date": "2020/02/29 06:00", "pubStatus": "pubmed" }, { "date": "2020/05/06 06:00", "pubStatus": "medline" }, { "date": "2020/02/29 06:00", "pubStatus": "entrez" } ], "pubDate": "2020 Apr 30", "srcDate": "", "bookName": "", "ePubDate": "2020 Feb 28", "pubTypes": [ "Journal Article", "Research Support, Non-U.S. Gov't" ], "bookTitle": "", "languages": [ "eng" ], "pubStatus": "256", "sortTitle": "clinical characteristics of coronavirus disease 2019 in china", "articleIds": [ { "value": "32109013", "idType": "pubmed", "idTypeNum": 1 }, { "value": "PMC7092819", "idType": "pmc", "idTypeNum": 8 }, { "value": "pmc-id: PMC7092819;", "idType": "pmcid", "idTypeNum": 5 } ], "attributes": [ "Has Abstract" ], "lastAuthor": "Zhong NS", "references": [ { "note": "", "pmid": 32220202, "refType": "Comment in", "refSource": "N Engl J Med. 2020 May 7;382(19):1859. doi: 10.1056/NEJMc2005203." }, { "note": "", "pmid": 32220203, "refType": "Comment in", "refSource": "N Engl J Med. 2020 May 7;382(19):1860. doi: 10.1056/NEJMc2005203." }, { "note": "", "pmid": 32220204, "refType": "Comment in", "refSource": "N Engl J Med. 2020 May 7;382(19):1860. doi: 10.1056/NEJMc2005203." } ], "eLocationId": "doi: 10.1056/NEJMoa2002032", "nlmUniqueId": "0255562", "pmcRefCount": 24, "sortPubDate": "2020/04/30 00:00", "recordStatus": "PubMed - indexed for MEDLINE", "reportNumber": "", "locationLabel": "", "publisherName": "", "fullJournalName": "The New England journal of medicine", "sortFirstAuthor": "Guan WJ", "vernacularTitle": "", "availableFromUrl": "", "publisherLocation": "" } ], "provider": "pubmed" }, "timestamp": "2026-08-30T00:49:24Z" }
Frequently asked questions
How do I call the PubMed Summary API?
Send a GET request to https://api.zapi.ink/v1/research:pubmed/summary?id=33301246%2C32109013 with your Zapi key in the x-api-key header. Parameters — required: id; optional: db, version. The response is JSON in the { project, data, timestamp } envelope.
What does the PubMed Summary API return?
esummary: document summaries by UID. The example response has the fields db, count, items, provider. Each item in items has fields such as uid, essn, issn, issue, pages, title, medium, source.
Is the PubMed Summary API free?
Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.
Can an AI assistant call the PubMed Summary API?
Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "pubmed" and endpoint "summary".
What other PubMed API endpoints are there?
It has 4 endpoints. Besides Summary: Abstract, Databases, Search.
