SEO: Competitors
SEO: Keywords

Keyword gap between two domains

Compares two domains' organic rankings keyword by keyword. Each row carries keyword_data plus first_domain_serp_element (target1's ranking) and second_domain_serp_element (target2's) with rank_absolute, rank_group and the ranked URL. The classic gap query is: competitor ranks well, you don't β€” filters: [["first_domain_serp_element.rank_absolute",">",20],"and",["second_domain_serp_element.rank_absolute","<=",10]] with target1 = you, target2 = the competitor (a missing element means that domain does not rank at all). Cost scales with rows; the default 100 is enough for most gap analyses.

post/v1/data/seo/keyword-gap

Request

  • Base URL: https://api.superagnt.com
  • URL: https://api.superagnt.com/v1/data/seo/keyword-gap
  • Auth: API key in header Authorization

Request body

target1string required

First domain (e.g. your domain), no protocol.

target2string required

Second domain (e.g. a competitor), no protocol.

location_codeinteger

Geo target as a location code. Default 2840 (United States).

language_codestring

Two-letter language code. Default 'en'.

limitinteger

Max intersecting keywords to return. Default 100.

offsetinteger

Pagination offset.

order_bystring[]

Sort rules.

Response

Keywords both domains rank for, with each domain's position, in result[0].items.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.