The REST API gives anyone free, programmatic access to the Unpaywall database.
If you're using the API, we recommend you subscribe to the mailing list in order to stay up-to-date when there are changes or new features.
The API response uses the same shared schema as the database snapshot and Data Feed.
Requests must include your email as a parameter at the end of the URL, like this:
api.unpaywall.org/my/request?email=YOUR_EMAIL
.
Please limit use to 100,000 calls per day. If you need faster access, you'll be better served by downloading the entire database snapshot for local access.
The current version of the API is Version 2, and this is the only version supported. Version updates are announced on the mailing list.
Depending on your use case, there are often easier ways to access the data than using the API. You can learn more about these in our brief Get Stated pages:
GET /v2/:doi
Description | Gets OA status and bibliographic info for an given DOI-assigned resource. |
Accepts | A valid DOI. |
Returns | DOI Object |
Example | https://api.unpaywall.org/v2/10.1038/nature12373?email=YOUR_EMAIL |
GET /v2/search?query=:your_query[&is_oa=boolean][&page=integer]
Usage notes and additional examples are available in the Unpaywall FAQ.
This endpoint can be accessed through our Article Search tool.
Description |
Provides the full GET /v2/:doi responses for articles whose
titles match your query. 50 results are returned per request and the page argument
requests pages after the first.
|
Accepts |
|
Returns |
An array of results sorted by the strength of the query match. Each result consists of:
|
Example | https://api.unpaywall.org/v2/search?query=cell%20thermometry&is_oa=true&email=YOUR_EMAIL |