All endpoints are available via https and can be found at https://api.hub.jhu.edu. Using cURL, you can view the homepage of the API with the following command:
curl https://api.hub.jhu.edu
All requests to the API are required to authenticate using an API key. To request an API key, send us an email with your name, email address, affiliation with Johns Hopkins University, and what you plan to use the API for. Once you have an API key, you can authenticate your requests via the key
query string parameter:
curl https://api.hub.jhu.edu/articles?key=REPLACE_WITH_KEY
All requests to the API are required to provide a version number. The current API version is 1
. You can provide the version number via the v
query string parameter:
curl https://api.hub.jhu.edu/articles?v=1