Web Vitals
Get Web Vitals Summary
GET
apiKeyAuthheader
x-api-key<token>FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
idOrSlug*stringmetric?stringValue in
"CLS""LCP""INP""FCP""TTFB""FID"positiveOnly?"true"Value in
"true"from?stringto?stringdevice?stringbrowser?stringos?stringcountry?stringroute?stringsegment?string|array<string>excludeSegment?string|array<string>includeBreakdowns?"true"Value in
"true"Success
application/json- response
[index: integer]?curl -X GET 'https://api.faststats.dev/v0/projects/string/vitals/summary'Example Response
[
{
"dimension": "string",
"name": "string",
"segmentSamples": 0,
"sessions": 0,
"segmentSessions": 0,
"coreGoodPct": 0,
"metric": "string",
"samples": 0,
"good": 0,
"needsImprovement": 0,
"poor": 0,
"goodPct": 0,
"needsImprovementPct": 0,
"poorPct": 0,
"p75": 0,
"p90": 0,
"p95": 0,
"p99": 0
}
]