Skip to content

PubMed API

23 endpointsSearch & KnowledgeGlobalsocial:read23 real examples

Returns PubMed article search results, summaries and abstracts, plus NCBI Entrez databases and document summaries.

View as Markdown
GET/pubmed/searchPubMed articles that match a query, most relevant first, with the page's nextCursor.
GET/pubmed/articleOne PubMed article's summary by its PMID.
GET/pubmed/abstractThe title and abstract of one PubMed article by its PMID.
GET/pubmed/databasesThe Entrez databases NCBI searches, such as pubmed, nuccore and gene.
GET/pubmed/databaseInfoOne Entrez database: its record count, build, searchable fields and links.
GET/pubmed/summaryDocument summaries of records in any Entrez database, by UID, in the order given.
GET/pubmed/fetchFull records from any Entrez database, as NCBI's text or XML format, verbatim.
GET/pubmed/citationExportOne PubMed citation in RIS or MEDLINE format, ready for a reference manager.
GET/pubmed/postStore a set of UIDs on NCBI's history server and return the webEnv and queryKey that name it.
GET/pubmed/spellNCBI's spelling suggestion for a search term, such as cancer for cancr.
GET/pubmed/citationMatchThe PMID of a citation, found from its journal, year, volume, first page and author.
GET/pubmed/linkRecords linked to a PubMed article, such as similar articles, with the links capped at maxLinks.
GET/pubmed/linkCheckWhich link types exist for a PubMed UID (acheck), or whether it has neighbours (ncheck) or outside links (lcheck), without the links themselves.
GET/pubmed/linkProviderOutside links to full text, data and other providers for a PubMed UID (LinkOut).
GET/pubmed/annotationsThe genes, diseases, chemicals and other entities PubTator3 finds in PubMed articles.
GET/pubmed/annotationSearchPubMed articles that match a text query with PubTator3's entity-aware ranking, a page at a time.
GET/pubmed/entityAutocompleteEntity names PubTator3 suggests for a query, with the concept ids the other PubTator3 endpoints take.
GET/pubmed/entityRelationsRelations PubTator3 has curated for an entity, such as the diseases a gene is associated with.
GET/pubmed/citationMetricsNIH iCite bibliometrics for PubMed articles: citation counts, relative citation ratio and percentile, optionally with the citing and cited PMIDs.
GET/pubmed/idConvertConvert PubMed, PMC, DOI or NIH manuscript ids of articles into each other.
GET/pubmed/geneReportOne NCBI gene record by its symbol and taxonomy id: id, description, chromosomes and synonyms.
GET/pubmed/trialsSearchClinicalTrials.gov studies that match a condition or term, a page at a time.
GET/pubmed/trialsDetailOne ClinicalTrials.gov study by its NCT id: title, status, sponsor, conditions, interventions and summary.

article

GET/v1/pubmed/article

One PubMed article's summary by its PMID.

scope social:read1 unitcached 24 h

Parameters

pmid
string
required
PubMed id, such as 31978945.
e.g. 31978945
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

6 fields
authorsstring[]
doistring
journalstring
pmidstring
pubDatestring
titlestring
curl "https://api.hoshime.com/v1/pubmed/article?pmid=31978945" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "authors": [
      "Zhu N",
      "Zhang D"
    ],
    "doi": "10.1056/NEJMoa2001017",
    "journal": "The New England journal of medicine",
    "pmid": "31978945",
    "pubDate": "2020-02-20",
    "title": "A Novel Coronavirus from Patients with Pneumonia in China, 2019."
  },
  "meta": {
    "cached": false,
    "endpoint": "article",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "pubmed",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

abstract

GET/v1/pubmed/abstract

The title and abstract of one PubMed article by its PMID.

scope social:read1 unitcached 24 h

Parameters

pmid
string
required
PubMed id, such as 31978945.
e.g. 31978945
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

5 fields
pmidstring
sectionsSection[]
labelstring
textstring
titlestring
curl "https://api.hoshime.com/v1/pubmed/abstract?pmid=31978945" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "pmid": "31978945",
    "sections": [
      {
        "label": "",
        "text": "In December 2019, a cluster of patients with pneumonia of unknown cause was linked to a seafood wholesale market in Wuhan, China. A previous…"
      }
    ],
    "title": "A Novel Coronavirus from Patients with Pneumonia in China, 2019."
  },
  "meta": {
    "cached": false,
    "endpoint": "abstract",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "pubmed",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

databases

GET/v1/pubmed/databases

The Entrez databases NCBI searches, such as pubmed, nuccore and gene.

scope social:read1 unitcached 24 hpaginated

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

1 fields
namestring
curl "https://api.hoshime.com/v1/pubmed/databases" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "name": "pubmed"
    },
    {
      "name": "protein"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "databases",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "pubmed",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

databaseInfo

GET/v1/pubmed/databaseInfo

One Entrez database: its record count, build, searchable fields and links.

scope social:read1 unitcached 24 h

Parameters

db
string
Entrez database, such as pubmed, nuccore or gene. Empty means pubmed.
default pubmede.g. pubmed
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

15 fields
buildstring
countinteger (int64)
descriptionstring
fieldsField[]
descriptionstring
fullNamestring
namestring
lastUpdatestring
linksDBLink[]
dbTostring
descriptionstring
menuNamestring
namestring
menuNamestring
namestring
curl "https://api.hoshime.com/v1/pubmed/databaseInfo?db=pubmed" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "build": "Build-2026.11.06.12.21",
    "count": 41403169,
    "description": "PubMed bibliographic record",
    "fields": [
      {
        "description": "All terms from all searchable fields",
        "fullName": "All Fields",
        "name": "ALL"
      },
      {
        "description": "Unique number assigned to publication",
        "fullName": "UID",
        "name": "UID"
      }
    ],
    "lastUpdate": "2026/11/06 12:21",
    "links": [
      {
        "dbTo": "assembly",
        "description": "Assembly",
        "menuName": "Assembly",
        "name": "pubmed_assembly"
      },
      {
        "dbTo": "bioproject",
        "description": "Related Projects",
        "menuName": "Project Links",
        "name": "pubmed_bioproject"
      }
    ],
    "menuName": "PubMed",
    "name": "pubmed"
  },
  "meta": {
    "cached": false,
    "endpoint": "databaseInfo",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "pubmed",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

summary

GET/v1/pubmed/summary

Document summaries of records in any Entrez database, by UID, in the order given.

scope social:read1 unitcached 24 hpaginated

Parameters

db
string
Entrez database, such as pubmed, nuccore or gene. Empty means pubmed.
default pubmede.g. pubmed
id
string
required
Comma-separated UIDs, such as 31978945. Up to 200.
e.g. 31978945
version
string
2.0 returns the version 2 summary, where the database has one.
2.0
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

2 fields
fieldsmap
uidstring
curl "https://api.hoshime.com/v1/pubmed/summary?db=pubmed&id=31978945" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "fields": {
        "articleids": "[{\"idtype\":\"pubmed\",\"idtypen\":1,\"value\":\"31978945\"},{\"idtype\":\"pmc\",\"idtypen\":8,\"value\":\"PMC7092803\"},{\"idtype\":\"pmcid\",\"idtypen\":5,\"value\":…",
        "attributes": "[\"Has Abstract\"]",
        "authors": "[{\"name\":\"Zhu N\",\"authtype\":\"Author\",\"clusterid\":\"\"},{\"name\":\"Zhang D\",\"authtype\":\"Author\",\"clusterid\":\"\"},{\"name\":\"Wang W\",\"authtype\":\"Auth…",
        "availablefromurl": "",
        "bookname": "",
        "booktitle": "",
        "chapter": "",
        "doccontriblist": "[]",
        "docdate": "",
        "doctype": "citation",
        "edition": "",
        "elocationid": "doi: 10.1056/NEJMoa2001017",
        "epubdate": "2020 Jan 24",
        "essn": "1533-4406",
        "fulljournalname": "The New England journal of medicine",
        "history": "[{\"pubstatus\":\"pubmed\",\"date\":\"2020/01/25 06:00\"},{\"pubstatus\":\"medline\",\"date\":\"2020/03/07 06:00\"},{\"pubstatus\":\"entrez\",\"date\":\"2020/01/25…",
        "issn": "0028-4793",
        "issue": "8",
        "lang": "[\"eng\"]",
        "lastauthor": "Tan W",
        "locationlabel": "",
        "medium": "",
        "nlmuniqueid": "0255562",
        "pages": "727-733",
        "pmcrefcount": "17",
        "pubdate": "2020 Feb 20",
        "publisherlocation": "",
        "publishername": "",
        "pubstatus": "256",
        "pubtype": "[\"Journal Article\"]",
        "recordstatus": "PubMed - indexed for MEDLINE",
        "references": "[{\"refsource\":\"N Engl J Med. 2020 Feb 20;382(8):760-762. doi: 10.1056/NEJMe2001126.\",\"reftype\":\"Comment in\",\"pmid\":31978944,\"note\":\"\"},{\"ref…",
        "reportnumber": "",
        "sortfirstauthor": "Zhu N",
        "sortpubdate": "2020/02/20 00:00",
        "sorttitle": "novel coronavirus from patients with pneumonia in china 2019",
        "source": "N Engl J Med",
        "srccontriblist": "[]",
        "srcdate": "",
        "title": "A Novel Coronavirus from Patients with Pneumonia in China, 2019.",
        "vernaculartitle": "",
        "volume": "382"
      },
      "uid": "31978945"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "summary",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "pubmed",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

fetch

GET/v1/pubmed/fetch

Full records from any Entrez database, as NCBI's text or XML format, verbatim.

scope social:read1 unitcached 24 h

Parameters

db
string
Entrez database, such as pubmed, nuccore or gene. Empty means pubmed.
default pubmede.g. pubmed
id
string
required
Comma-separated UIDs, such as 31978945. Up to 200.
e.g. 31978945
rettype
string
Record format: abstract, medline, ris, xml, uilist for PubMed; fasta, gb or gp for sequence databases.
abstractmedlinerisxmluilistfastagbgp
default abstracte.g. abstract
retmode
string
text or xml.
textxml
default texte.g. text
retstart
integer
Index of the first record to return.
default 0
retmax
integer
Records to return, from 1 to 100.
default 10
strand
string
Nucleotide strand for sequence databases: 1 plus, 2 minus.
12
seqStart
integer
First sequence position to return, for sequence databases.
seqStop
integer
Last sequence position to return, for sequence databases.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

2 fields
contentstring
formatstring
curl "https://api.hoshime.com/v1/pubmed/fetch?db=pubmed&id=31978945&rettype=abstract&retmode=text" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "content": "1. N Engl J Med. 2020 Feb 20;382(8):727-733. doi: 10.1056/NEJMoa2001017. Epub\n2020  Jan 24.\n\nA Novel Coronavirus from Patients with Pneumoni…",
    "format": "abstract"
  },
  "meta": {
    "cached": false,
    "endpoint": "fetch",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "pubmed",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

citationExport

GET/v1/pubmed/citationExport

One PubMed citation in RIS or MEDLINE format, ready for a reference manager.

scope social:read1 unitcached 24 h

Parameters

db
string
Entrez database, such as pubmed, nuccore or gene. Empty means pubmed.
default pubmede.g. pubmed
id
string
required
PubMed id, such as 31978945.
e.g. 31978945
format
string
ris or medline.
rismedline
default rise.g. ris
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

2 fields
contentstring
formatstring
curl "https://api.hoshime.com/v1/pubmed/citationExport?db=pubmed&id=31978945&format=ris" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "content": "TY  - JOUR\nDB  - PubMed\nAU  - Zhu, Na\nAU  - Zhang, Dingyu\nAU  - Wang, Wenling\nAU  - Li, Xingwang\nAU  - Yang, Bo\nAU  - Song, Jingdong\nAU  - Z…",
    "format": "ris"
  },
  "meta": {
    "cached": false,
    "endpoint": "citationExport",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "pubmed",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

post

GET/v1/pubmed/post

Store a set of UIDs on NCBI's history server and return the webEnv and queryKey that name it.

scope social:read1 unitcached 1 h

Parameters

db
string
Entrez database, such as pubmed, nuccore or gene. Empty means pubmed.
default pubmede.g. pubmed
id
string
required
Comma-separated UIDs, such as 31978945,32007145. Up to 200.
e.g. 31978945,32007145
webEnv
string
webEnv of an existing history set to add the UIDs to. Empty starts a new one.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

2 fields
queryKeystring
webEnvstring
curl "https://api.hoshime.com/v1/pubmed/post?db=pubmed&id=31978945%2C32007145" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "queryKey": "1",
    "webEnv": "MCID_6aee1617d9a8a9032a00488d"
  },
  "meta": {
    "cached": false,
    "endpoint": "post",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "pubmed",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

spell

GET/v1/pubmed/spell

NCBI's spelling suggestion for a search term, such as cancer for cancr.

scope social:read1 unitcached 24 h

Parameters

db
string
Entrez database, such as pubmed, nuccore or gene. Empty means pubmed.
default pubmede.g. pubmed
query
string
required
Search term to check, such as cancr.
e.g. cancr
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

2 fields
correctedstring
querystring
curl "https://api.hoshime.com/v1/pubmed/spell?db=pubmed&query=cancr" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "corrected": "cancer",
    "query": "cancr"
  },
  "meta": {
    "cached": false,
    "endpoint": "spell",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "pubmed",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

citationMatch

GET/v1/pubmed/citationMatch

The PMID of a citation, found from its journal, year, volume, first page and author.

scope social:read1 unitcached 24 h

Parameters

journal
string
required
Journal title as NLM abbreviates it, such as science.
e.g. nature
year
string
required
Publication year, such as 1997.
e.g. 1953
volume
string
Volume, such as 278.
e.g. 171
firstPage
string
First page, such as 1634.
e.g. 737
author
string
First author's last name, such as fictional.
e.g. watson jd
key
string
Your own label for the citation, echoed back with the PMID.
default 1e.g. key1
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

2 fields
keystring
pmidstring
curl "https://api.hoshime.com/v1/pubmed/citationMatch?journal=nature&year=1953&volume=171&firstPage=737&author=watson+jd&key=key1" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "key": "key1",
    "pmid": "13054692"
  },
  "meta": {
    "cached": false,
    "endpoint": "citationMatch",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "pubmed",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

linkCheck

GET/v1/pubmed/linkCheck

Which link types exist for a PubMed UID (acheck), or whether it has neighbours (ncheck) or outside links (lcheck), without the links themselves.

scope social:read1 unitcached 24 hpaginated

Parameters

cmd
string
acheck, ncheck or lcheck.
achecknchecklcheck
default achecke.g. acheck
id
string
required
Comma-separated UIDs, such as 31978945. Up to 200.
e.g. 31978945
dbfrom
string
Database the UIDs are in.
default pubmed
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

5 fields
dbTostring
hasboolean | null
idstring
linkNamestring
menustring
curl "https://api.hoshime.com/v1/pubmed/linkCheck?cmd=acheck&id=31978945" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "dbTo": "books",
      "has": null,
      "id": "31978945",
      "linkName": "pubmed_books_refs",
      "menu": "Cited in Books"
    },
    {
      "dbTo": "pmc",
      "has": null,
      "id": "31978945",
      "linkName": "pubmed_pmc",
      "menu": "PMC Links"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "linkCheck",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "pubmed",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

linkProvider

GET/v1/pubmed/linkProvider

Outside links to full text, data and other providers for a PubMed UID (LinkOut).

scope social:read1 unitcached 24 hpaginated

Parameters

cmd
string
prlinks lists the providers' links; llinks lists the library links.
prlinksllinks
default prlinkse.g. prlinks
id
string
required
Comma-separated UIDs, such as 31978945. Up to 200.
e.g. 31978945
dbfrom
string
Database the UIDs are in.
default pubmed
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

5 fields
categorystring
iconUrlstring
idstring
providerstring
urlstring
curl "https://api.hoshime.com/v1/pubmed/linkProvider?cmd=prlinks&id=31978945" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "category": "Full Text Sources",
      "iconUrl": "https://www.ncbi.nlm.nih.gov/corehtml/query/egifs/https:--www.nejm.org-pb-assets-images-editorial-icons-nejm-free-full-text.gif",
      "id": "31978945",
      "provider": "Atypon",
      "url": "https://www.nejm.org/doi/10.1056/NEJMoa2001017?url_ver=Z39.88-2003&rfr_id=ori:rid:crossref.org&rfr_dat=cr_pub  0www.ncbi.nlm.nih.gov"
    },
    {
      "category": "Full Text Sources",
      "iconUrl": "https://www.ncbi.nlm.nih.gov/corehtml/query/egifs/https:--cdn.ncbi.nlm.nih.gov-pmc-cms-images-pmc_linkout.png",
      "id": "31978945",
      "provider": "PubMed Central",
      "url": "https://pmc.ncbi.nlm.nih.gov/articles/pmid/31978945/"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "linkProvider",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "pubmed",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

annotations

GET/v1/pubmed/annotations

The genes, diseases, chemicals and other entities PubTator3 finds in PubMed articles.

scope social:read1 unitcached 24 hpaginated

Parameters

pmids
string
required
Comma-separated PubMed ids, such as 31978945. Up to 200.
e.g. 31978945
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

8 fields
entitiesEntity[]
databasestring
identifierstring
namestring
textstring
typestring
pmidstring
titlestring
curl "https://api.hoshime.com/v1/pubmed/annotations?pmids=31978945" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "entities": [
        {
          "database": "ncbi_mesh",
          "identifier": "MESH:D000086382",
          "name": "COVID-19",
          "text": "Novel Coronavirus",
          "type": "Disease"
        },
        {
          "database": "ncbi_taxonomy",
          "identifier": "9606",
          "name": "9606",
          "text": "Patients",
          "type": "Species"
        }
      ],
      "pmid": "31978945",
      "title": "A Novel Coronavirus from Patients with Pneumonia in China, 2019."
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "annotations",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "pubmed",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

annotationSearch

GET/v1/pubmed/annotationSearch

PubMed articles that match a text query with PubTator3's entity-aware ranking, a page at a time.

scope social:read1 unitcached 1 hpaginated

Parameters

text
string
required
Text to search for, such as BRCA1 breast cancer or @GENE_BRCA1.
e.g. covid
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

6 fields
authorsstring[]
datestring
journalstring
pmidstring
scorenumber (double)
titlestring
curl "https://api.hoshime.com/v1/pubmed/annotationSearch?text=covid" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "authors": [
        "Makin S"
      ],
      "date": "2023-03-01",
      "journal": "Sci Am",
      "pmid": "39017122",
      "score": 233.02792,
      "title": "Cutting Out COVID: Tackling COVID (and more) with synthetic biology."
    },
    {
      "authors": [
        "Ingoglia C"
      ],
      "date": "2024-06-05",
      "journal": "J Behav Health Serv Res",
      "pmid": "38837121",
      "score": 233.02792,
      "title": "COVID-19 Is Not Done With Us ... We Are Not Done With COVID-19."
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "annotationSearch",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "pubmed",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

entityAutocomplete

GET/v1/pubmed/entityAutocomplete

Entity names PubTator3 suggests for a query, with the concept ids the other PubTator3 endpoints take.

scope social:read1 unitcached 24 hpaginated

Parameters

query
string
required
Name to look up, such as BRCA1.
e.g. BRCA1
concept
string
Type of entity to restrict to, such as gene, disease or chemical. Empty means any.
e.g. gene
limit
integer
Suggestions to return, from 1 to 50.
default 10
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

6 fields
conceptIdstring
databasestring
databaseIdstring
descriptionstring
namestring
typestring
curl "https://api.hoshime.com/v1/pubmed/entityAutocomplete?query=BRCA1&concept=gene" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "conceptId": "@GENE_BRCA1",
      "database": "ncbi_gene",
      "databaseId": "672",
      "description": "All Species",
      "name": "BRCA1",
      "type": "gene"
    },
    {
      "conceptId": "@GENE_BRCA1.L",
      "database": "ncbi_gene",
      "databaseId": "399391",
      "description": "All Species",
      "name": "brca1.L",
      "type": "gene"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "entityAutocomplete",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "pubmed",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

entityRelations

GET/v1/pubmed/entityRelations

Relations PubTator3 has curated for an entity, such as the diseases a gene is associated with.

scope social:read1 unitcached 24 hpaginated

Parameters

e1
string
required
Concept id of one entity from entityAutocomplete, such as @GENE_BRCA1.
e.g. @GENE_BRCA1
type
string
Relation type, such as associate. Empty means any.
e2
string
Concept id of the other entity. Empty means any.
limit
integer
Relations to return, from 1 to 100.
default 20e.g. 10
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

4 fields
publicationsinteger (int64)
sourcestring
targetstring
typestring
curl "https://api.hoshime.com/v1/pubmed/entityRelations?e1=%40GENE_BRCA1&limit=10" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "publications": 6912,
      "source": "@DISEASE_Breast_Neoplasms",
      "target": "@GENE_BRCA1",
      "type": "associate"
    },
    {
      "publications": 4096,
      "source": "@DISEASE_Neoplasms",
      "target": "@GENE_BRCA1",
      "type": "associate"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "entityRelations",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "pubmed",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

citationMetrics

GET/v1/pubmed/citationMetrics

NIH iCite bibliometrics for PubMed articles: citation counts, relative citation ratio and percentile, optionally with the citing and cited PMIDs.

scope social:read1 unitcached 24 hpaginated

Parameters

pmids
string
required
Comma-separated PubMed ids, such as 31978945. Up to 200.
e.g. 31978945
includeCitationLists
boolean
true adds the PMIDs of the citing and cited articles. The lists can be very long.
default false
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

11 fields
citedBystring[]
citedByCountinteger (int64)
doistring
journalstring
nihPercentilenumber (double)
pmidstring
referenceCountinteger (int64)
referencesstring[]
relativeCitationRationumber (double)
titlestring
yearinteger (int64)
curl "https://api.hoshime.com/v1/pubmed/citationMetrics?pmids=31978945" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "citedBy": [],
      "citedByCount": 17549,
      "doi": "10.1056/NEJMoa2001017",
      "journal": "N Engl J Med",
      "nihPercentile": 100,
      "pmid": "31978945",
      "referenceCount": 14,
      "references": [],
      "relativeCitationRatio": 1057.6116879530878,
      "title": "A Novel Coronavirus from Patients with Pneumonia in China, 2019.",
      "year": 2020
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "citationMetrics",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "pubmed",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

idConvert

GET/v1/pubmed/idConvert

Convert PubMed, PMC, DOI or NIH manuscript ids of articles into each other.

scope social:read1 unitcached 24 hpaginated

Parameters

idtype
string
Type of the ids given: pmid, pmcid, doi or mid (NIH manuscript).
pmidpmciddoimid
default pmide.g. pmid
ids
string
required
Comma-separated ids of the declared type, such as 31978945. Up to 200.
e.g. 31978945
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

4 fields
doistring
pmcidstring
pmidstring
requestedstring
curl "https://api.hoshime.com/v1/pubmed/idConvert?idtype=pmid&ids=31978945" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "doi": "10.1056/NEJMoa2001017",
      "pmcid": "PMC7092803",
      "pmid": "31978945",
      "requested": "31978945"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "idConvert",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "pubmed",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

geneReport

GET/v1/pubmed/geneReport

One NCBI gene record by its symbol and taxonomy id: id, description, chromosomes and synonyms.

scope social:read1 unitcached 24 h

Parameters

symbol
string
required
Gene symbol, such as BRCA1.
e.g. BRCA1
taxon
string
NCBI taxonomy id of the species. 9606 is human.
default 9606e.g. 9606
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

8 fields
chromosomesstring[]
descriptionstring
geneIdstring
symbolstring
synonymsstring[]
taxIdstring
taxNamestring
typestring
curl "https://api.hoshime.com/v1/pubmed/geneReport?symbol=BRCA1&taxon=9606" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "chromosomes": [
      "17"
    ],
    "description": "BRCA1 DNA repair associated",
    "geneId": "672",
    "symbol": "BRCA1",
    "synonyms": [
      "IRIS",
      "PSCP"
    ],
    "taxId": "9606",
    "taxName": "Homo sapiens",
    "type": "PROTEIN_CODING"
  },
  "meta": {
    "cached": false,
    "endpoint": "geneReport",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "pubmed",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

trialsSearch

GET/v1/pubmed/trialsSearch

ClinicalTrials.gov studies that match a condition or term, a page at a time.

scope social:read1 unitcached 1 hpaginated

Parameters

condition
string
Condition to search for, such as diabetes.
e.g. diabetes
query
string
Other search text, such as an intervention.
status
string
Overall status to keep, such as RECRUITING or COMPLETED.
limit
integer
Studies per page, from 1 to 100.
default 10
cursor
string
meta.pagination.nextCursor of the previous page. Omit it for the first page.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

7 fields
conditionsstring[]
nctIdstring
phasesstring[]
startDatestring
statusstring
studyTypestring
titlestring
curl "https://api.hoshime.com/v1/pubmed/trialsSearch?condition=diabetes" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "conditions": [
        "Diabetes Mellitus, Type 1",
        "Hypertension"
      ],
      "nctId": "NCT02644590",
      "phases": [
        "EARLY_PHASE1"
      ],
      "startDate": "2016-02",
      "status": "UNKNOWN",
      "studyType": "INTERVENTIONAL",
      "title": "The Effect of Melatonin on Early Signs of Hypertension in Teenagers With Diabetes Mellitus Type 1"
    },
    {
      "conditions": [
        "Insulin-Dependent Diabetes Mellitus"
      ],
      "nctId": "NCT00006160",
      "phases": [
        "NA"
      ],
      "startDate": "",
      "status": "COMPLETED",
      "studyType": "INTERVENTIONAL",
      "title": "African-American Diabetes Intervention Project"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "trialsSearch",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "pubmed",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

trialsDetail

GET/v1/pubmed/trialsDetail

One ClinicalTrials.gov study by its NCT id: title, status, sponsor, conditions, interventions and summary.

scope social:read1 unitcached 1 h

Parameters

nctId
string
required
ClinicalTrials.gov study id, such as NCT04368728.
e.g. NCT04368728
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

12 fields
completionDatestring
conditionsstring[]
interventionsstring[]
leadSponsorstring
nctIdstring
officialTitlestring
phasesstring[]
startDatestring
statusstring
studyTypestring
summarystring
titlestring
curl "https://api.hoshime.com/v1/pubmed/trialsDetail?nctId=NCT04368728" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "completionDate": "2023-02-10",
    "conditions": [
      "SARS-CoV-2 Infection",
      "COVID-19"
    ],
    "interventions": [
      "BNT162b1",
      "BNT162b2"
    ],
    "leadSponsor": "BioNTech SE",
    "nctId": "NCT04368728",
    "officialTitle": "A PHASE 1/2/3, PLACEBO-CONTROLLED, RANDOMIZED, OBSERVER-BLIND, DOSE-FINDING STUDY TO EVALUATE THE SAFETY, TOLERABILITY, IMMUNOGENICITY, AND …",
    "phases": [
      "PHASE2",
      "PHASE3"
    ],
    "startDate": "2020-04-29",
    "status": "COMPLETED",
    "studyType": "INTERVENTIONAL",
    "summary": "This is a Phase 1/2/3, randomized, placebo-controlled, observer-blind, dose-finding, vaccine candidate-selection, and efficacy study in heal…",
    "title": "Study to Describe the Safety, Tolerability, Immunogenicity, and Efficacy of RNA Vaccine Candidates Against COVID-19 in Healthy Individuals"
  },
  "meta": {
    "cached": false,
    "endpoint": "trialsDetail",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "pubmed",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open