PubMed · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for NCBI Entrez E-utilities Search API

5 actions 5 updates phrasing extends openapi/pubmed-search-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for PubMed's API. It is a proposal applied on top of the contract, not a document PubMed publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 5

$.info
$.paths['/esearch.fcgi'].get
$.paths['/espell.fcgi'].get
$.paths['/egquery.fcgi'].get
$.paths['/ecitmatch.cgi'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for NCBI Entrez E-utilities Search API
  version: 1.0.0
extends: openapi/pubmed-search-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-22'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 4
- target: $.paths['/esearch.fcgi'].get
  update:
    x-apievangelist-phrasing:
      intent: Search a PubMed database and get UIDs
      effect: read
      questions:
      - How do I search PubMed for articles matching a keyword?
      - Can I limit a PubMed search to a date range or sort the results?
      instructions:
      - text: Search {db} for {term}.
        slots:
          db: query.db
          term: query.term
      - text: Find {retmax} {db} articles matching {term} published within {reldate} days.
        slots:
          retmax: query.retmax
          db: query.db
          term: query.term
          reldate: query.reldate
      method: generated
      generated: '2026-11-22'
- target: $.paths['/espell.fcgi'].get
  update:
    x-apievangelist-phrasing:
      intent: Get spelling suggestions for a search term
      effect: read
      questions:
      - Can Entrez suggest the correct spelling for a misspelled PubMed search term?
      - What spelling corrections are offered for a word in a database search?
      instructions:
      - text: Suggest spellings for {term} in {db}.
        slots:
          term: query.term
          db: query.db
      - text: Check the spelling of {term} against {db} and return suggestions.
        slots:
          term: query.term
          db: query.db
      method: generated
      generated: '2026-11-22'
- target: $.paths['/egquery.fcgi'].get
  update:
    x-apievangelist-phrasing:
      intent: Search all Entrez databases at once
      effect: read
      questions:
      - How many results would a search return across every Entrez database?
      - Can I run one query against all databases and see counts per database?
      instructions:
      - text: Run {term} across all Entrez databases and count results per database.
        slots:
          term: query.term
      - text: Count matches for {term} in each Entrez database.
        slots:
          term: query.term
      method: generated
      generated: '2026-11-22'
- target: $.paths['/ecitmatch.cgi'].get
  update:
    x-apievangelist-phrasing:
      intent: Match citation strings to PubMed IDs
      effect: read
      questions:
      - How do I find the PubMed ID for a citation when I have the journal, year and pages?
      - Can I match a formatted citation string to a PMID?
      instructions:
      - text: Match citation strings {bdata} to PMID in {db}.
        slots:
          bdata: query.bdata
          db: query.db
      - text: Look up the PubMed IDs for the citations {bdata} in {db}.
        slots:
          bdata: query.bdata
          db: query.db
      method: generated
      generated: '2026-11-22'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/pubmed-search-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.