Hanzo
OpenapiSeo

Every phrase a domain already places for, with its position

Reports every phrase a domain already places for.

POST /v1/seo/rankings

Addresshttps://api.hanzo.ai/v1/seo/rankings
MethodPOST
OperationseoRank
AuthAuthorization: Bearer $HANZO_API_KEY

Reports every phrase a domain already places for.

For each one it gives the phrase, the position on the results page, the page of the site that placed, that result's headline, the phrase's monthly searches and the visits the placement is estimated to earn. It is the single most direct question about a site's search visibility — yours or a competitor's, since it takes any domain.

Position is the ABSOLUTE rank, counting every element on the page — the ads, the answer boxes, the map — because that is what a person scrolling actually passes. An organic-only rank flatters a result that sits below half a screen of other things.

It is priced per row, so Limit decides what the call costs, and Total says how many more there were.

Request

4 fields, body application/json (required).

FieldInTypeRequiredDescription
domainbodystringDomain is the site, with or without a subdomain — "hanzo.ai", "docs.hanzo.ai".
languagebodystringLanguage is the ISO code.
limitbodyintegerLimit is how many placements to return, 1 to 1000.
locationbodyintegerLocation is the market, as the upstream's numeric code.

Response

StatusBodyMeaning
200seoRankOutok

200 body — 9 fields.

FieldInTypeAlwaysDescription
costbodystringCost is what this call cost, in USD, as an exact decimal string.
rankingsbodyseoRanking[]Rankings is one row per phrase the domain places for.
rankings[].keywordbodystringKeyword is the phrase searched.
rankings[].positionbodyintegerPosition is the absolute rank on the results page, counting every element — so it is what a person scrolling actually passes, not the organic-only rank.
rankings[].titlebodystringTitle is that result's headline.
rankings[].trafficbodynumberTraffic is the estimated monthly visits this placement earns.
rankings[].urlbodystringURL is the page of the target that placed.
rankings[].volumebodyintegerVolume is the phrase's average monthly searches.
totalbodyintegerTotal is how many placements the upstream holds for this domain.

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