Skip to main content
GET
Get GSC performance trend

Authorizations

Authorization
string
header
required

A Searchable API key, created under Settings → Workspace → Integrations. Send as Authorization: Bearer sea_xxxxx. Every key carries one or more scopes (read, write, admin) and may optionally be bound to a single project — see Getting started.

Path Parameters

projectId
string<uuid>
required

The project id.

Query Parameters

period
string

GSC preset window (e.g. 7d, 28d, 90d). Ignored when startDate + endDate are both supplied.

startDate
string<date>

Explicit window start (YYYY-MM-DD). Must be paired with endDate.

endDate
string<date>

Explicit window end (YYYY-MM-DD). Must be paired with startDate.

Response

Performance trend.

siteUrl
string
required
window
object
required
points
object[]
required
totals
object
required
success
boolean
required

Always true — injected on every success response by this endpoint family's response wrapper.