Get Website Stats Time Range
marketing_miner_get_website_stats_rangeRetrieve historical website traffic time series (daily/weekly/monthly) for any domain, subdomain, prefix, or exact URL. Compare up to 10 competitors for trend analysis and year-over-year charts.
Instructions
Historical traffic time series (daily/weekly/monthly) for a target, with optional competitor comparison.
Args:
lang: Market code.
type: 'domain' | 'subdomain' | 'prefix' | 'exact'.
target: 3-253 chars.
scheme (optional): 'https' | 'http'.
period (optional): 'daily' | 'weekly' | 'monthly'.
competitors (optional, max 10): list of competitor domains/URLs.
response_format: 'markdown' or 'json'.
Returns: stats_range[] (date, result_type, estimated_traffic) + optional competitors[] with their own stats_range. Use for trend analysis, year-over-year charts, and competitor benchmarking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | Yes | Language/market code. 'gb' = United Kingdom, 'us' = United States. | |
| type | Yes | Target granularity: domain / subdomain / prefix / exact. | |
| target | Yes | Target value (3-253 chars). | |
| scheme | No | ||
| period | No | Aggregation period for the time series. | |
| competitors | No | Up to 10 competitor domains/URLs. Each competitor uses the same 'type' as the primary target (e.g. if type='domain', pass bare domains). | |
| response_format | No | Output format. 'markdown' for human reading, 'json' for structured processing. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stats_range | Yes | ||
| competitors | Yes |