v1

latestOpenAPI 3.1.02026-07-24490622.0 KB
Domain Stats API

Get All Domain Stats

Returns comprehensive domain statistics for all available historical periods. This endpoint provides time-series data showing SEO and PPC performance trends to analyze domain growth, competitive positioning, and marketing effectiveness over time.

Visualize this API live on SpyFu

get/v2/getAllDomainStats

Query parameters

domainstring required
Example:example.com

Domain to retrieve comprehensive statistics for.

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>

Response

Successfully retrieved comprehensive domain statistics across all time periods. Returns historical data showing SEO/PPC trends, keyword counts, traffic estimates, and competitive metrics.

domainstring nullable

Domain name for which the statistics were collected and analyzed.

resultCountinteger

Number of results returned

Example response

{
  "domain": "example.com",
  "results": [
    {
      "searchMonth": 5,
      "searchYear": 2021,
      "averageOrganicRank": 41.08,
      "monthlyPaidClicks": 61181.88,
      "averageAdRank": 1.03,
      "totalOrganicResults": 302731,
      "monthlyBudget": 6721.39,
      "monthlyOrganicValue": 384233.16,
      "totalAdsPurchased": 599,
      "monthlyOrganicClicks": 290145,
      "strength": 75,
      "totalInverseRank": 4971564,
      "areStatsNormalized": true
    }
  ],
  "resultCount": 1
}
All 49 operations