---
title: "Get Active Dates For Domain"
method: GET
path: "/v2/getActiveDatesForDomain"
tags: ["Domain Stats API"]
---

# Get Active Dates For Domain

`GET /v2/getActiveDatesForDomain`

Returns a chronological list of dates for which SpyFu has collected domain statistics data. This endpoint helps identify data coverage periods and historical tracking availability for domain analysis and competitive research.

[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'

## Response `200`

Successfully retrieved list of active data collection dates for the domain. Returns chronological dates showing when SpyFu collected statistics data for historical analysis.

- object — Response wrapper containing a list of available search dates for which domain statistics data is available, used for historical analysis and date-specific queries.
  - `resultCount` integer — Number of results returned
  - `results` object[], nullable — Array of available search dates for which domain performance statistics have been collected and can be queried.
    - `dateString` string, nullable
    - `month` integer
    - `year` integer

## 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)
