Get hourly time series data of web vitals quantile values for trend analysis and visualization
cURL
curl --request GET \ --url https://api.example.com/web_vitals_timeseries
{ "hour": {}, "metric_name": "<string>", "p75": 123, "p90": 123, "p95": 123, "p99": 123, "measurements": 123, "domain": "<string>" }
GET https://api.tinybird.co/v0/pipes/web_vitals_timeseries.json
curl -H "Authorization: Bearer YOUR_TOKEN" \ "https://api.tinybird.co/v0/pipes/web_vitals_timeseries.json?date_from=2024-01-01&date_to=2024-01-07&domain=example.com"
curl -H "Authorization: Bearer YOUR_TOKEN" \ "https://api.tinybird.co/v0/pipes/web_vitals_timeseries.json?date_from=2024-01-15&date_to=2024-01-22"
{ "data": [ { "hour": "2024-01-01T00:00:00Z", "metric_name": "LCP", "p75": 2345.67, "p90": 3456.78, "p95": 4012.34, "p99": 5234.56, "measurements": 1523, "domain": "example.com" }, { "hour": "2024-01-01T01:00:00Z", "metric_name": "LCP", "p75": 2289.45, "p90": 3312.56, "p95": 3945.67, "p99": 5012.34, "measurements": 1456, "domain": "example.com" }, { "hour": "2024-01-01T00:00:00Z", "metric_name": "TTFB", "p75": 412.34, "p90": 567.89, "p95": 678.90, "p99": 890.12, "measurements": 1523, "domain": "example.com" }, { "hour": "2024-01-01T01:00:00Z", "metric_name": "TTFB", "p75": 398.67, "p90": 545.23, "p95": 654.32, "p99": 876.54, "measurements": 1456, "domain": "example.com" }, { "hour": "2024-01-01T00:00:00Z", "metric_name": "FCP", "p75": 1845.67, "p90": 2456.78, "p95": 2812.34, "p99": 3234.56, "measurements": 1523, "domain": "example.com" }, { "hour": "2024-01-01T00:00:00Z", "metric_name": "INP", "p75": 178.90, "p90": 234.56, "p95": 312.34, "p99": 456.78, "measurements": 1245, "domain": "example.com" }, { "hour": "2024-01-01T00:00:00Z", "metric_name": "CLS", "p75": 0.09, "p90": 0.15, "p95": 0.22, "p99": 0.34, "measurements": 1523, "domain": "example.com" } ] }