Hanzo
OpenapiSeo

Fetch one page and report what it gets wrong

Fetches one page and reports what it gets wrong.

POST /v1/seo/audit

Addresshttps://api.hanzo.ai/v1/seo/audit
MethodPOST
OperationseoAudit
AuthAuthorization: Bearer $HANZO_API_KEY

Fetches one page and reports what it gets wrong.

It returns the page's on-page score, its title and description, how much readable text it carries, and the full set of named checks — is it https, does it have one h1, is the title duplicated, is it slow, is it a redirect, is anything on it broken. It is the technical half of search visibility, and it is the half a developer can act on this afternoon.

ONE PAGE, LIVE, IN THIS REQUEST. It is deliberately not a site crawl: a crawl is a job with a lifecycle, and this answers the same questions about the page somebody is actually looking at, now, with no task id to poll. Point it at the pages that matter one at a time.

It is priced per page fetched, which is one.

Request

1 field, body application/json (required).

FieldInTypeRequiredDescription
urlbodystringURL is the page, absolute and http or https.

Response

StatusBodyMeaning
200seoAuditOutok

200 body — 9 fields.

FieldInTypeAlwaysDescription
checksbodyobjectChecks is every named finding, each a yes or no — "is_https", "no_h1_tag", "high_loading_time", around fifty of them.
checks.*bodyboolean
costbodystringCost is what this call cost, in USD, as an exact decimal string.
descriptionbodystringDescription is its meta description.
scorebodynumberScore is the upstream's on-page score, 0 to 100.
statusbodyintegerStatus is the HTTP status the page answered with.
titlebodystringTitle is the page's title.
urlbodystringURL is the address actually read, after redirects.
wordsbodyintegerWords is how many words of readable text the page carries.

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


SEO API · All Hanzo APIs · Interactive reference

How is this guide?

On this page