Skip to content

aeorank scan

Scan a website URL and generate an AEO score with dimension breakdown and all 8 output files.

Terminal window
aeorank scan <url> [options]
ArgumentDescription
<url>The website URL to scan (required)
FlagDefaultDescription
--format <type>textOutput format: text (colored terminal) or json (machine-readable)
--output <dir>./aeo-outputDirectory to write generated files
--config <path>./aeorank.config.jsPath to configuration file
--max-pages <n>50Maximum pages to crawl
--timeout <ms>30000Request timeout in milliseconds
--concurrency <n>3Concurrent requests
Terminal window
npx aeorank-cli scan https://example.com
Terminal window
npx aeorank-cli scan https://example.com --format json

The JSON output can be piped to other tools:

Terminal window
npx aeorank-cli scan https://example.com --format json | jq '.score'
Terminal window
npx aeorank-cli scan https://example.com --output ./my-aeo-files
Terminal window
npx aeorank-cli scan https://example.com --max-pages 10
Terminal window
npx aeorank-cli scan https://example.com --config ./aeorank.config.js

The text format displays a colored score table with:

  • Overall AEO score (0-100) and letter grade
  • 12-dimension breakdown with score, weight, and status
  • Pass/warn/fail indicators
  • Actionable next-step recommendations ranked by priority

The JSON format outputs a clean JSON object to stdout containing:

  • url — scanned URL
  • score — overall score (0-100)
  • grade — letter grade (A+ through F)
  • dimensions — array of dimension scores
  • files — array of generated file objects
  • pagesScanned — number of pages crawled
  • duration — scan duration in milliseconds

Every error includes a specific next action:

  • Invalid URL — “Check the URL format. Include https:// prefix.”
  • Network error — “Verify the site is accessible. Check your internet connection.”
  • Timeout — “Site took too long to respond. Try --timeout 60000 for a longer timeout.”
  • Permission denied — “The site’s robots.txt blocks crawling. Check the site’s access rules.”