Unpaywall
Researchapi.unpaywall.org
Unpaywall, by OurResearch, resolves a DOI to its open-access status and legal full-text links: whether any OA copy exists, its oa_status (gold, hybrid, bronze, green or closed), the best OA location with PDF and landing-page URLs, every known OA location with host type and licence, journal and publisher metadata.
The crw MCP on your computer calls Unpaywall directly. Calls cost no credits and the data does not pass through fastCRW. Install it once for Claude Code, Cursor, Codex, Windsurf, Gemini CLI or OpenCode, with your fastCRW API key in place of the placeholder:
Capabilities (1)
unpaywall/doiFree, runs locallyReturns one DOI's open-access verdict: is_oa, oa_status, the best OA location with PDF and landing URLs, every OA location with host type, version, licence and repository, plus title, year, journal, publisher and the DOI's canonical URL.
Response example
The shape of data from unpaywall/doi (Open-access status for a DOI). A sample, not live data.
Example truncated, full shape in JSON from the API.
{
"best_oa_location": {
"endpoint_id": null,
"evidence": "deprecated",
"host_type": "publisher",
"is_best": true,
"license": null,
"oa_date": "2013-07-30",
"pmh_id": null,
"repository_institution": null,
"updated": "deprecated",
"url": "https://www.nature.com/articles/nature12373.pdf",
"url_for_landing_page": "https://doi.org/10.1038/nature12373",
"url_for_pdf": "https://www.nature.com/articles/nature12373.pdf",
"version": "publishedVersion"
},
"data_standard": 2,
"doi": "10.1038/nature12373",
"doi_url": "https://doi.org/10.1038/nature12373",
"first_oa_location": {
"endpoint_id": null,
"evidence": "deprecated",
"host_type": "publisher",
"is_best": true,
"license": null,
"oa_date": "2013-07-30",
"pmh_id": null,
"repository_institution": null,
"updated": "deprecated",
"url": "https://www.nature.com/articles/nature12373.pdf",
"url_for_landing_page": "https://doi.org/10.1038/nature12373",
"url_for_pdf": "https://www.nature.com/articles/nature12373.pdf",
"version": "publishedVersion"
},
"genre": "journal-article",
"has_repository_copy": true,
"is_oa": true,
"is_paratext": false,
"journal_is_in_doaj": false,
"journal_is_oa": false,
"journal_issn_l": "0028-0836",
"journal_issns": "0028-0836,1476-4687",
"journal_name": "Nature",
"oa_locations": [
{
"endpoint_id": null,
"evidence": "deprecated",
"host_type": "publisher",
"is_best": true,
"license": null,
"oa_date": "2013-07-30",
"pmh_id": null,
"repository_institution": null,
"updated": "deprecated",
"url": "https://www.nature.com/articles/nature12373.pdf",
"url_for_landing_page": "https://doi.org/10.1038/nature12373",
"url_for_pdf": "https://www.nature.com/articles/nature12373.pdf",
"version": "publishedVersion"
},
{
"endpoint_id": "7d83c2b9fa41ed05341",
"evidence": "deprecated",
"host_type": "repository",
"is_best": false,
"license": null,
"oa_date": "2013-07-30",
"pmh_id": "oai:arXiv.org:1304.1068",
"repository_institution": "Cornell University",
"updated": "deprecated",
"url": "https://arxiv.org/pdf/1304.1068",
"url_for_landing_page": "http://arxiv.org/abs/1304.1068",
"url_for_pdf": "https://arxiv.org/pdf/1304.1068",
"version": "submittedVersion"
},
{
"endpoint_id": "ac9de7698155b820de7",
"evidence": "deprecated",
"host_type": "repository",
"is_best": false,
"license": null,
"oa_date": "2013-07-30",
"pmh_id": "oai:pubmedcentral.nih.gov:4221854",
"repository_institution": "National Institutes of Health",
"updated": "deprecated",
"url": "https://www.ncbi.nlm.nih.gov/pmc/articles/4221854",
"url_for_landing_page": "https://www.ncbi.nlm.nih.gov/pmc/articles/4221854",
"url_for_pdf": null,
"version": "submittedVersion"
},
{
"endpoint_id": "8c9d8ba370a84253deb",
"evidence": "deprecated",
"host_type": "repository",
"is_best": false,
"license": "cc-by",
"oa_date": "2013-07-30",
"pmh_id": "oai:dash.harvard.edu:1/12285462",
"repository_institution": "Harvard University",
"updated": "deprecated",
"url": "http://nrs.harvard.edu/urn-3:HUL.InstRepos:12285462",
"url_for_landing_page": "http://nrs.harvard.edu/urn-3:HUL.InstRepos:12285462",
"url_for_pdf": null,
"version": "submittedVersion"
},
{
"endpoint_id": null,
"evidence": "deprecated",
"host_type": "repository",
"is_best": false,
"license": null,
"oa_date": "2013-07-30",
"pmh_id": null,
"repository_institution": "Cornell University",
"updated": "deprecated",
"url": "https://doi.org/10.48550/arxiv.1304.1068",
"url_for_landing_page": "https://doi.org/10.48550/arxiv.1304.1068",
"url_for_pdf": null,
Ask with this source
A prompt for your agent that names this source and how to call it through the crw MCP.
Open-access status for a DOI
Use Unpaywall (unpaywall) from fastCRW Pergamon, capability "Open-access status for a DOI" (doi). You hold a DOI and need to know whether a legal free full-text copy exists and where it is. Example options: doi=10.1038/nature12373, email=unpaywall_01@example.com. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "unpaywall" and capability "doi". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Licence
Any unauthorized use, reproduction, modification, distribution or republication of the Data or Database without Impactstory's prior written consent is strictly prohibited.
https://unpaywall.org/legal/terms-of-serviceAttribution
Display this wherever you show the data. It arrives on every response as provenance.attributionText.
Open-access data from Unpaywall (unpaywall.org), a service of OurResearch. Not affiliated with or endorsed by OurResearch.
