All just-scrape commands support --json for machine-readable output. When set:
- The ASCII banner is hidden
- Spinners and progress indicators are suppressed
- Interactive prompts are disabled
- Only minified JSON is written to stdout
This makes just-scrape easy to use in shell scripts, CI pipelines, and AI agent workflows.
Usage
Examples
Save results to a file
Convert a page to markdown and save it
Chain commands in a shell script
Response shapes
Each command prints the SDK response as minified JSON. Common shapes:
scrape — returned data keyed by requested format:
extract — structured json payload plus token usage:
credits — balance and per-job quotas:
validate — health check:
--json is especially useful when calling just-scrape from AI coding agents — it eliminates decorative output and saves tokens.