Crawl and audit a whole site
site_auditCrawl a whole site from the server it runs on, link by link from the start page as a search engine would (max_pages, default 500, up to 5000), and keep what every page answered: status, redirects, title, description, h1, canonical, noindex, word count, links, images without alt text, structured data, response time, clicks from the start page, and whether the sitemap lists it. It then names the issues: links to missing pages, server errors, redirect chains and links to redirects, missing or repeated titles and descriptions, the same text on several addresses, thin pages, slow pages, sitemap entries that redirect, fail or are noindex, pages only the sitemap knows, pages missing from the sitemap, pages robots.txt blocks. Pages are fetched straight from the server's own web server, so a CDN or firewall in front of the site does not block it, and only this site is fetched. It runs in the background and returns a job_id: call job_output until status is finished (the last lines are the summary), then site_audit_report for the pages behind each issue. Give site (see list_sites) or url, the address to start from. Addresses with parameters are sampled (50) unless query_urls says all or none.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Address to start from, like https://www.example.com/. Default: the site's own address. | |
| via | No | auto (default): from the server's own web server when it serves the site, else over the internet. public: always as a visitor, through any CDN. | |
| site | No | Site root folder, like /var/www/shop, or one of the site's domains. Optional when the server has one site (see list_sites). | |
| server | No | Server name or id. Optional when the account has one server. | |
| max_pages | No | Pages to fetch, default 500, at most 5000. About 3 to 10 pages a second. | |
| query_urls | No | Addresses with ?parameters: fetch 50 as a sample (default), all, or none. | |
| concurrency | No | Pages fetched at the same time, 1 to 8, default 3. Lower it on a small or busy server. |