New Orchly MCP & API are live. Build custom workflows with your SEO & AI visibility data.
GET /organic/ga4/kpis

GA4 KPIs

Sessions, users, conversions, and revenue from Google Analytics 4.

Authenticate with Authorization: Bearer obk_live_xxx. See authentication.

Parameters

NameInTypeRequiredDescription
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
FieldTypeDescription
workspace_id string
property_id string
range Range
kpis object

Example request

curl --request GET \
  --url https://app.orchly.ai/api/v1/organic/ga4/kpis \
  --header 'Authorization: Bearer obk_live_xxx' \
  --header 'X-Workspace-Id: ws_xxx'
const res = await fetch(`https://app.orchly.ai/api/v1/organic/ga4/kpis`, {
  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/kpis",
    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"
  },
  "kpis": {}
}