Install
Authentication
- For humans
- For AI agents / CI
Run once to save your API key:The key is saved to
~/.reader/config.json and used for all future commands.Scrape a page
Formats
JSON output
Get the full API response with metadata:Options
Crawl a site
Discover and scrape all pages on a website:---. Save to individual files:
URL discovery only
List all discovered URLs without scraping content:Options
Check status
Verify your setup and see your credit balance:Check credits
Configuration
~/.reader/config.json. Environment variables always take precedence:
| Setting | Env var | Config key |
|---|---|---|
| API key | READER_API_KEY | apiKey |
| API URL | READER_API_URL | apiUrl |
For AI agents
The CLI is designed to work seamlessly with AI coding agents:- Markdown to stdout - agents read the content directly
- Errors to stderr - never pollutes piped output
- Exit codes - 0 on success, 1 on error
- No interactive prompts - everything via flags and env vars
--jsonflag - structured output for programmatic use

