Monocle

Medline searches for the modern web

About

Monocle simplifies queries to the National Center for Biotechnology Information (NCBI) eUtils services by providing shortcuts for the most common queries.

Monocle is RESTful API wrapper around node-ncbi, and returns data in JSON format.

In addition, there is a tiny app running on top of this API, which you can try out using the form above.

Queries

All queries are made to http://www.ncbi.site/api/. Right now, the only available queries are to PubMed (the literature database.)

Search PubMed

Example Request Example Response
GET /pubmed/mcclintock+b/
{
  count: (Number),
  papers: [
    raw: (Pubmed Summary object),
    pubDate: (String),
    title: (String),
    authors: (String),
    pmid: (Integer),
    pmc: (Integer if available),
    doi: (String if available)
  ]
}
GET /pubmed/mcclintock+b/?page=1 Gets the second page of results (results are 0-indexed).

Get information about a paper

Various types of information about a particular paper can be retrieved by its PubMed ID number (PMID)

Example Request Example Response
GET /pubmed/summary/1023138/ Object (PubMed summary)
GET /pubmed/abstract/1023138/ String (the abstract)
GET /pubmed/cites/1023138/ Array of PubMed summaries
GET /pubmed/citedby/1023138/ Array of PubMed summaries
GET /pubmed/similar/1023138 Array of PubMed summaries