Work in progress. The CLI currently focuses on work metadata and content downloads. More features (CSV export, other entity types) are coming. Follow development on GitHub.
Quick examples
Download metadata for works on a topic:Output format
Metadata is saved as JSON files alongside any content you requested:Why use the CLI?
Building a robust bulk downloader is harder than it looks. The CLI handles:- Metadata by default — Every work gets a complete JSON file
- Parallel downloads — Up to 200 concurrent connections
- Automatic checkpointing — Resume interrupted downloads without re-downloading
- Adaptive rate limiting — Adjusts to API conditions automatically
- DOI resolution — Auto-detects DOIs and converts them to OpenAlex IDs
- Progress tracking — Real-time stats in your terminal
Pricing
| Download type | Cost |
|---|---|
| Metadata | Free |
| PDFs | $0.01 each |
| TEI XML | $0.01 each |