v1

latestOpenAPI 3.1.02026-07-24490622.0 KB
Competitors API

Get Top SEO Competitors

Returns the top organic search (SEO) competitors for a domain based on shared keyword ranking overlap. This endpoint identifies domains that compete for the same organic keywords to reveal direct SEO competition and content opportunities.

Visualize this API live on SpyFu

get/v2/seo/getTopCompetitors

Query parameters

domainstring required
Example:example.com

Domain to analyze for organic search competitors.

countryCode'AR' | 'AT' | 'AU' | 'BE' | 'BR' | 'CA' | 'CH' | 'DE' | 'DK' | 'ES' | 'FR' | 'IE' | 'IN' | 'IT' | 'JP' | 'MX' | 'NL' | 'NO' | 'NZ' | 'PL' | 'PT' | 'SE' | 'SG' | 'TR' | 'UA' | 'UK' | 'US' | 'ZA'
Example:US

Country market to search. Specifically, this maps to the Google domain version to query against (e.g., google.com for US, google.de for Germany, etc.). <a href='https://developer.spyfu.com/reference/adhistoryapi_getdomainadhistory_get#/'>All Countries</a>

sortBy'Domain' | 'CommonTerms' | 'Rank'
Example:Rank

Column to sort by.

sortOrder'Ascending' | 'Descending'
Example:Descending

Order to sort results.

pageSizeinteger
Example:5

The maximum number of rows returned.

startingRowinteger
Example:1

Row number to start the results with.

Response

Successfully retrieved SEO competitor data. Returns a paginated list of domains competing for shared organic keywords with overlap metrics and ranking strength indicators.

resultCountinteger

Number of results returned

totalMatchingResultsinteger

Total number of competitor domains available that match the query criteria, including results not included in the current page.

Example response

{
  "resultCount": 50,
  "totalMatchingResults": 2500,
  "results": [
    {
      "domain": "example.com",
      "commonTerms": 1432
    }
  ]
}