API

/api/pubs

List publications, including data about each one.

Optional query parameters:

/api/pubs/{pmid}

Get data on a specific publication.

Code Examples

Get the data for a specific PMID by visiting /api/pubs/23456789:

Response
{
    "pmid": 23456789,
    "authors": "Arun Sharma, Stephen M Schwartz, Eduardo Méndez",
    "citation_count": 11,
    "citations_per_year": 4.665397,
    "expected_citations_per_year": 3.022486,
    "field_citation_rate": 5.335023,
    "is_research_article": true,
    "journal": "Cancer",
    "nih_percentile": 66.200000,
    "relative_citation_ratio": 1.543563,
    "title": "Hospital volume is associated with survival but not multimodality therapy in Medicare patients with advanced head and neck cancer.",
    "year": 2013
}
Python
import requests


response = requests.get(
    "/".join([
        "https://icite.od.nih.gov/api",
        "pubs",
        "23456789",
    ]),
)
pub = response.json()
print(pub)


        
JavaScript
var request = new XMLHttpRequest();
request.open(
    "GET",
    [
        "https://icite.od.nih.gov/api",
        "pubs",
        "23456789",
    ].join("/")
);
request.responseType = "json";
request.onload = function () {
    console.log(request.response);
};
request.send();
        

Content Type

By default, responses are JSON. CSV responses are supported as well and can be requested via Accept: text/csv.

Feedback

Please send any feedback to iCite@mail.nih.gov.