Project Health Scores
API + MCPRequests to this endpoint are free and do not consume any API units.
Query parameters
Filters projects by target URL (ignores protocol and trailing slash).
Filters projects by name.
A timestamp in YYYY-MM-DDThh:mm:ss format specifying the crawl date to retrieve metrics from. Defaults to the most recent available crawl if omitted. For scheduled crawls, we return data from the latest crawl finished before the specified timestamp. For Always-on audit crawls, we return data as of the provided date and time. If the time component is omitted, it defaults to 00:00:00. The timestamp is interpreted in UTC.
The unique identifier of the project. You can find it in the URL of your Site Audit project in Ahrefs: https://app.ahrefs.com/site-audit/#project_id#
The output format.
Responses
The finish date and time of the last finished crawl, in GMT time zone.
Reflects the proportion of internal URLs on your site that do not have errors, based on the last finished crawl. Excludes crawls that are starting, in progress, finalizing, or were skipped.
The unique identifier of the project.
The project name.
The status of the most recent finished crawl. Possible values: Completed, Stopped, Error, In_progress.
The scope of the target. Possible values: exact, prefix, domain, subdomains.
The protocol of the target. Possible values: both, http, https.
The URL of the project's target.
Number of total crawled internal URLs
Number of internal URLs with errors
Number of internal URLs with notices
Number of internal URLs with warnings