Hanzo
OpenapiSeo

The domains that place for the same phrases

Names the domains that place for the same phrases.

POST /v1/seo/competitors

Addresshttps://api.hanzo.ai/v1/seo/competitors
MethodPOST
OperationseoCompetitor
AuthAuthorization: Bearer $HANZO_API_KEY

Names the domains that place for the same phrases.

Given a set of phrases it returns the sites that appear across them, with each one's average position, how many of the phrases it places for, its share of the available attention and the visits that earns. It answers "who am I actually up against here", which is a different question from "who do I think my competitors are" and frequently a different answer.

Pair it with seoRank: this says who is in the race, seoRank says where any one of them finishes. It is priced per row, so Limit decides the cost.

Request

4 fields, body application/json (required).

FieldInTypeRequiredDescription
keywordsbodystring[]Keywords are the phrases.
languagebodystringLanguage is the ISO code.
limitbodyintegerLimit is how many domains to return, 1 to 1000.
locationbodyintegerLocation is the market, as the upstream's numeric code.

Response

StatusBodyMeaning
200seoCompetitorOutok

200 body — 8 fields.

FieldInTypeAlwaysDescription
competitorsbodyseoDomain[]Competitors is one row per domain, strongest first.
competitors[].domainbodystringDomain is the competitor.
competitors[].keywordsbodyintegerKeywords is how many of the phrases it places for.
competitors[].positionbodynumberPosition is its average rank across the phrases.
competitors[].trafficbodynumberTraffic is the estimated monthly visits those placements earn.
competitors[].visibilitybodynumberVisibility is its share of the possible attention across those phrases.
costbodystringCost is what this call cost, in USD, as an exact decimal string.
totalbodyintegerTotal is how many domains the upstream holds for these phrases.

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