Skip to main content
GET
Get GA4 traffic 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

weeks
integer
default:12

Lookback window in weeks.

Required range: 1 <= x <= 52

Response

Traffic trend.

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.