---
title: "Get Latest Domain Stats"
method: GET
path: "/v2/getLatestDomainStats"
tags: ["Domain Stats API"]
---

# Get Latest Domain Stats

`GET /v2/getLatestDomainStats`

Returns the most recent domain statistics available in SpyFu's database. This endpoint provides current SEO and PPC performance metrics to analyze the domain's latest competitive position and marketing activity.

[Visualize this API live on SpyFu](https://www.spyfu.com/domain-overview?query=example.com)

## Query parameters

- `domain` string, required
- `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'
- `pastNMonths` integer

## Response `200`

Successfully retrieved latest domain statistics. Returns the most recent SEO and PPC metrics including keyword counts, traffic estimates, and competitive positioning data.

- object — Response wrapper containing comprehensive domain performance statistics across multiple time periods with detailed SEO and PPC metrics.
  - `domain` string, nullable — Domain name for which the statistics were collected and analyzed.
  - `results` object[], nullable — Array of domain performance statistics organized by time period, including SEO metrics, PPC data, traffic estimates, and competitive strength indicators.
    - `searchMonth` integer — Month when these domain statistics were collected (1-12).
    - `searchYear` integer — Year when these domain statistics were collected.
    - `averageOrganicRank` number, double — Average organic search ranking position across all keywords for this domain during the specified month.
    - `monthlyPaidClicks` number, double — Estimated monthly clicks received from paid search advertising across all keywords, calculated based on average ad positions and click-through rates.
    - `averageAdRank` number, double — Average paid search ad position across all advertised keywords during the specified month.
    - `totalOrganicResults` integer — Total number of unique organic keywords where this domain appears in the top 100 search results during the specified month.
    - `monthlyBudget` number, double — Estimated monthly Google Ads spending based on keyword positions, click-through rates, and cost-per-click data across all paid campaigns.
    - `monthlyOrganicValue` number, double — Estimated value of organic search traffic based on keyword rankings and equivalent cost-per-click values, representing the advertising spend equivalent of organic visibility.
    - `totalAdsPurchased` integer — Total number of unique paid keywords where this domain's ads appeared on the first page of search results, measured over the last 14 data collection periods.
    - `monthlyOrganicClicks` number, double — Estimated monthly organic search traffic clicks received from all ranking keywords during the specified month.
    - `strength` integer — Domain authority score (0-100) indicating competitive strength and ranking consistency across high-value keywords, with higher scores representing stronger market position.
    - `totalInverseRank` integer — Cumulative ranking score where higher organic positions receive higher point values (position 1 = 100 points, position 2 = 99 points, etc.), summed across all ranking keywords.
    - `areStatsNormalized` boolean — Indicates whether the statistics have been normalized for consistent comparison across different time periods and data collection methods.
  - `resultCount` integer — Number of results returned

## Other responses

- `400` — Bad Request - Invalid parameters provided (e.g., invalid domain format or invalid country code)
- `401` — Unauthorized - Invalid API credentials or insufficient permissions to access domain statistics data
- `500` — Internal Server Error - A server-side error occurred while processing the request

---

[API](https://skmtc.net/spyfu/apis/domain-stats-api.md) · [All operations](https://skmtc.net/spyfu/apis/domain-stats-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spyfu/domain-stats-api/revisions/44f0aff08ed0/schema)
