Skip to main content
You are viewing the v1 (legacy) documentation. See the v2 JSON mode documentation.

JSON Output

Use the --json flag to get structured JSON output from CLI commands:
sgai smartscraper --url "https://example.com" --prompt "Extract data" --json