GET
/organic/ga4/timeseries GA4 over time
GA4 metrics over the range.
Authenticate with
Authorization: Bearer obk_live_xxx. See authentication. Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-Workspace-Id | header | string | required | The workspace to scope the request to. Can also be passed as a `workspace_id` query parameter. |
start_date | query | string (date) | optional | Start of the range, YYYY-MM-DD. Defaults to 28 days ago. |
end_date | query | string (date) | optional | End of the range, YYYY-MM-DD. Defaults to today. |
property_id | query | string | optional | Override the workspace's connected GA4 property. |
Responses
200 OK
| Field | Type | Description |
|---|---|---|
workspace_id | string | |
property_id | string | |
range | Range | |
series | object[] |
Example request
curl --request GET \
--url https://app.orchly.ai/api/v1/organic/ga4/timeseries \
--header 'Authorization: Bearer obk_live_xxx' \
--header 'X-Workspace-Id: ws_xxx'const res = await fetch(`https://app.orchly.ai/api/v1/organic/ga4/timeseries`, {
method: 'GET',
headers: {
'Authorization': 'Bearer obk_live_xxx',
'X-Workspace-Id': 'ws_xxx',
},
});
const data = await res.json();import requests
resp = requests.get(
"https://app.orchly.ai/api/v1/organic/ga4/timeseries",
headers={
"Authorization": "Bearer obk_live_xxx",
"X-Workspace-Id": "ws_xxx",
},
)
data = resp.json() Example response
A 200 response. Dynamic fields are shown as their type.
{
"workspace_id": "string",
"property_id": "string",
"range": {
"start_date": "2026-01-01",
"end_date": "2026-01-01"
},
"series": [
{}
]
}