rank_sites_by_growth
Rank websites by visitor growth or decline using signed percent change versus the prior period. Filter results to show top growers, decliners, or biggest absolute movers.
Instructions
Rank sites by signed % visitor change vs the prior period. Use for 'which sites are growing/declining', 'biggest movers', 'what's trending'. direction='up' returns growers only, 'down' returns decliners only, 'both' (default) returns the biggest movers regardless of direction. Volume-gated: sites with under 20 visitors in either period are excluded (their % deltas are noise — count is in excluded_low_volume).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_range | No | Time window. One of: today, yesterday, last_7_days, last_14_days, last_30_days, last_90_days. Defaults to last_7_days. | |
| direction | No | Filter to growers ('up'), decliners ('down'), or biggest absolute movers either way ('both', default). | |
| limit | No | Max rows. Defaults to 10, capped at 50. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | ||
| direction | Yes | ||
| sites | Yes | ||
| excluded_low_volume | Yes | Count of sites excluded because they had <20 visitors in either the current or prior period. |