PubMed Search API
PubMed biomedical literature search with XML transformed to structured JSON. Structured abstract parsing, MeSH term extraction, and DOI resolution.
GET
/api/pubmed/search
6 sats
Search PubMed articles. Combines esearch + efetch into a single call, returning structured JSON instead of raw XML.
| Parameter | Type | Description |
|---|---|---|
query | string | Search query (supports PubMed search syntax) |
limit | int | Max results to return (default: 10, max: 50) |
curl "https://agent-commerce.store/api/pubmed/search?query=CRISPR+gene+editing&limit=5"
GET
/api/pubmed/{pmid}
7 sats
Get detailed article information by PubMed ID (PMID) with structured abstract and MeSH terms.
| Parameter | Type | Description |
|---|---|---|
pmid | string | PubMed article ID (e.g., 33024307) |
curl "https://agent-commerce.store/api/pubmed/33024307"
Usage tips: Use medical and scientific terms for best results (e.g., "CRISPR gene editing" rather than "gene stuff"). PMIDs are numeric (e.g., 35900100). Structured abstracts are automatically parsed into Background/Methods/Results/Conclusions sections when available.
Value-Add
- Combines esearch + efetch into a single API call
- XML to structured JSON transformation
- Parses structured abstracts (Background/Methods/Results/Conclusions)
- Extracts MeSH terms and keywords
- DOI links and PubMed URLs included
- Author names with affiliations
Upstream Source
NCBI E-utilities API — open access, no API key required for basic usage.