Discover/pubmed.ncbi.nlm.nih.gov API
live

pubmed.ncbi.nlm.nih.gov APIpubmed.ncbi.nlm.nih.gov

Search and retrieve biomedical literature from PubMed via 11 endpoints. Get abstracts, author affiliations, MeSH keywords, clinical filters, and citation matching.

Endpoints
11
Updated
10d ago
Try it
Page number for pagination
Sort order: relevance, date, pubdate, journal
Number of results per page
Search keyword or query string
api.parse.bot/scraper/7ddf510a-9bab-463f-8e03-f25423a326e3/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/7ddf510a-9bab-463f-8e03-f25423a326e3/search_articles?page=1&sort=relevance&limit=5&query=cancer' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 11 totalclick to expand

Search for articles on PubMed by keyword with pagination and sorting. Returns article summaries including PMID, title, authors, journal, publication date, DOI, and URL.

Input
ParamTypeDescription
pageintegerPage number for pagination
sortstringSort order: relevance, date, pubdate, journal
limitintegerNumber of results per page
queryrequiredstringSearch keyword or query string
Response
{
  "type": "object",
  "fields": {
    "page": "integer current page",
    "limit": "integer results per page",
    "total": "integer total number of matching results",
    "articles": "array of objects (pmid, title, authors, journal, date, doi, url)"
  },
  "sample": {
    "data": {
      "page": 1,
      "limit": 5,
      "total": 5605474,
      "articles": [
        {
          "doi": "10.1002/iid3.70451",
          "url": "https://pubmed.ncbi.nlm.nih.gov/42095322/",
          "date": "2026 May",
          "pmid": "42095322",
          "title": "LL-37: Biological Mechanisms and Emerging Therapeutic Applications in Intestinal Disease.",
          "authors": [
            "Liu Q",
            "Xu P",
            "Zhang C"
          ],
          "journal": "Immun Inflamm Dis"
        }
      ]
    },
    "status": "success"
  }
}

About the pubmed.ncbi.nlm.nih.gov API

This API provides 11 endpoints for searching and retrieving biomedical literature from PubMed and NCBI databases. The search_articles endpoint returns PMIDs, titles, authors, journal names, publication dates, DOIs, and article URLs for any keyword query. Additional endpoints cover advanced field-tag queries, clinical query filters, citation matching, publication type filtering, and direct access to NCBI E-utilities — all returning structured JSON.

Search and Article Retrieval

The search_articles endpoint accepts a query string and supports pagination via page and limit parameters, with sort options including relevance, date, pubdate, and journal. It returns a total count alongside an articles array of objects containing pmid, title, authors, journal, date, doi, and url. For full metadata, get_article_details accepts a pmid and returns the complete record: structured authors with individual affiliations, abstract text, keywords array, pmcid, copyright, and up to 10 similar_pmids.

Advanced Querying and Filtering

The advanced_search endpoint supports PubMed's native field-tag syntax — [Title], [Author], [MeSH Terms], [Journal], and date range expressions like 2023:2024[PDAT] — enabling precise boolean queries. search_by_journal targets a specific journal by its PubMed-indexed name (e.g., Nature, Lancet) with an optional keyword filter. clinical_queries_search appends PubMed Clinical Queries filters using category values (therapy, diagnosis, etiology, prognosis) and scope values (broad, narrow). search_by_article_type filters by [Publication Type] tags such as Clinical Trial, Review, or Meta-Analysis.

Date Filtering, Citation Matching, and Counts

search_with_date_filter accepts start_date and end_date in YYYY/MM/DD format and returns a pmids array with a total count — useful for volume analysis without fetching full records. get_search_results_count returns only query and total_count, making it efficient for quick coverage checks. single_citation_matcher resolves a citation to a PMID using journal name, year, volume, issue, first page, and author — it calls NCBI's ecitmatch utility and returns full article details including abstract and similar_pmids when a match is found.

Direct E-Utilities Access

The search_pubmed_ncbi_eutils POST endpoint is a direct wrapper for NCBI E-utilities. The utility parameter accepts esearch, esummary, efetch, elink, einfo, egquery, espell, or ecitmatch. The params input is a JSON string passed directly to the chosen utility. Responses include either a structured object (for JSON-mode utilities, exposing fields like esearchresult.idlist and esearchresult.count) or a raw content string for non-JSON formats.

Common use cases
  • Build a literature review tool that retrieves abstracts and author affiliations by keyword using get_article_details.
  • Track publication volume trends for a research topic using search_with_date_filter with date ranges and the returned total.
  • Filter clinical evidence by study type (e.g., Randomized Controlled Trial) using search_by_article_type for evidence-based medicine apps.
  • Resolve legacy citations to PMIDs programmatically using single_citation_matcher with journal, year, and volume inputs.
  • Aggregate all articles from a specific journal using search_by_journal with PubMed-indexed journal names.
  • Apply Clinical Queries filters for diagnosis or therapy categories using clinical_queries_search in clinical decision-support tools.
  • Run batch NCBI E-utilities queries (esearch, efetch, elink) through search_pubmed_ncbi_eutils for custom database workflows.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does PubMed have an official developer API?+
Yes. NCBI provides E-utilities, a free REST API for programmatic access to PubMed and other NCBI databases. Documentation is at https://www.ncbi.nlm.nih.gov/books/NBK25501/. This Parse API wraps E-utilities and adds structured endpoints on top of them.
What does `get_article_details` return beyond a basic search result?+
It returns the full structured record for a single PMID: abstract text, keywords array, per-author affiliations, pmcid (when available), copyright, and a similar_pmids array of up to 10 related article IDs. The search_articles endpoint returns only summary-level fields like title, journal, date, doi, and url.
Does `get_similar_articles` always return 10 results?+
Not always. The endpoint depends on PubMed's similarity index, and very recently published articles may return fewer than 10 similar PMIDs because the index has not yet processed them. The similar array in the response contains whatever the index has available at query time.
Does the API return full-text article content?+
No. The API returns abstracts, metadata, and structured bibliographic fields. Full-text retrieval is not currently exposed. For PMIDs that have a pmcid, full text may be accessible via PubMed Central. You can fork this API on Parse and revise it to add an endpoint targeting PMC full-text records using the efetch utility with the pmc database.
Can I retrieve citation or reference lists for a specific article?+
Not currently. The API covers article metadata, abstracts, similar articles, and citation matching to resolve a citation to a PMID, but it does not expose the outbound reference list or inbound citing-article list for a given PMID. You can fork this API on Parse and revise it to add that endpoint using the elink utility with cmd=neighbor_score or llinkslib against the pubmed database.
Page content last updated . Spec covers 11 endpoints from pubmed.ncbi.nlm.nih.gov.
Related APIs in HealthcareSee all →
ulta.com API
Search and browse Ulta Beauty's complete product catalog with real-time pricing and inventory information, then dive into detailed product specs including ingredients, usage instructions, and customer reviews. Find exactly what you're looking for across all beauty categories with comprehensive product data at your fingertips.
cvs.com API
Find nearby CVS Pharmacy locations and check their hours, then search for products and verify real-time availability at specific stores. Quickly locate what you need and confirm it's in stock before making a trip.
accessdata.fda.gov API
Search and retrieve comprehensive FDA premarket approval information for medical devices, including approval status, supplements, applicant details, and advisory committee data. Get instant access to specific PMA records with all relevant approval information in one place.
zocdoc.com API
Search for doctors and medical practices on Zocdoc by specialty and location. Retrieve provider profiles, accepted insurance, office locations, patient reviews, and appointment availability.
pmc.ncbi.nlm.nih.gov API
Search millions of full-text biomedical research articles and access their metadata, citations, and related papers from PubMed Central. Find articles by topic, discover similar research, explore journal collections, and retrieve detailed citation information to support your literature review and research.
open.fda.gov API
Search FDA food recall and enforcement actions to find safety information about specific products or manufacturers, and look up adverse events reported to the CFSAN Adverse Event Reporting System (CAERS). Filter, sort, and aggregate data by various fields to analyze food safety trends and monitor enforcement activity.
azbar.org API
Search for Arizona lawyers by name, location, specialty, or company to find the right legal professional for your needs. View detailed lawyer profiles including their specializations, licensed jurisdictions, law school, admission history, and any disciplinary records.
leafly.com API
Browse and search Leafly's cannabis catalog. Look up strains by effect, flavor, terpene, or medical use. Find dispensaries near any location, explore their menus and product details, and search across strains, brands, dispensaries, and articles.
PubMed NCBI API – Biomedical Literature Search · Parse