API · v1
CLI
Install the CLI, authenticate with a key, list datasets, query rows and export CSV — with meaningful exit codes for cron jobs.
Install#
npm i -g @scrapefall/cliCommands#
- scrapefall login --key <key> — stores the key in the OS keychain
- scrapefall datasets — list slugs and last verified
- scrapefall query <slug> [filters] --limit --format — prints CSV or JSON
- scrapefall export <slug> --out file.csv — bulk export with progress
Scripting#
Exit codes are meaningful: 0 success, 2 auth, 3 rate-limited, 4 bad filter. Use them in cron jobs instead of parsing text.
Status#
The CLI ships when the API ships. Until then, `curl` in /docs/quickstart is the supported path.
Missing something? Ask for API access and we answer in writing within 24 hours.