Navigate open access policies, repositories, and legal full-text retrieval me...
A skill for understanding open access publishing models, locating free full-text articles legally, and navigating self-archiving policies. Essential for researchers at institutions with limited journal subscriptions.
| Type | Description | Cost to Author | Reader Access |
|---|---|---|---|
| Gold OA | Published OA by journal (APC paid) | $1,000-$11,000 | Immediate, permanent |
| Green OA | Self-archived preprint/postprint | Free | After embargo (0-24 months) |
| Diamond/Platinum OA | Journal charges no APC | Free | Immediate, permanent |
| Bronze OA | Free to read on publisher site | Free | No reuse license, may be temporary |
| Hybrid OA | OA article in subscription journal | $2,000-$5,000 | Immediate for that article |
import requests
def check_oa_status(doi: str) -> dict:
"""
Check open access availability using the Unpaywall API.
Args:
doi: DOI of the paper (e.g., '10.1038/s41586-021-03819-2')
Returns:
OA status and best available link
"""
email = "[email protected]" # Required by Unpaywall API
url = f"https://api.unpaywall.org/v2/{doi}?email={email}"
response = requests.get(url)
if response.status_code != 200:
return {'error': f'API returned status {response.status_code}'}
data = response.json()
# Find best OA location
best_location = data.get('best_oa_location', {})
return {
'doi': doi,
'title': data.get('title', ''),
'is_oa': data.get('is_oa', False),
'oa_status': data.get('oa_status', 'closed'),
'journal_is_oa': data.get('journal_is_oa', False),
'best_oa_url': best_location.get('url', None) if best_location else None,
'version': best_location.get('version', None) if best_location else None,
'license': best_location.get('license', None) if best_location else None,
'all_locations': len(data.get('oa_locations', []))
}
# Example
result = check_oa_status('10.1038/s41586-021-03819-2')
if result['is_oa']:
print(f"OA available: {result['best_oa_url']}")