get_crux_history
Retrieve 28-day historical Core Web Vitals trends for a URL or origin, with weekly percentiles for LCP, INP, CLS, FCP, and TTFB from Chrome UX Report data.
Instructions
Query Google Chrome UX Report History API for 28-day historical field metric trends.
Provides timeseries percentiles for LCP, INP, CLS, FCP, and TTFB across 25+ weekly collection periods.
Args: url_or_origin: Web page URL or origin domain (e.g. 'https://surendranb.com'). api_key: Optional Google API Key. If omitted, checks GOOGLE_API_KEY or CRUX_API_KEY environment variables.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| url_or_origin | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |