---
title: "GA4 realtime report"
method: POST
path: "/api/v1/data/ga4_realtime"
---

# GA4 realtime report

`POST /api/v1/data/ga4_realtime`

## Request

- Base URL: `https://app.attache.studio`
- URL: `https://app.attache.studio/api/v1/data/ga4_realtime`
- Auth: HTTP bearer

GA4 realtime report (last 30 minutes).

## Request body

- object
  - `property_id` string, required
  - `metrics` string[], required: e.g. activeUsers
  - `dimensions` string[]
  - `limit` integer

## Response `200`

Raw result of the underlying Google / Meta API, as JSON.

## Other responses

- `400`: { "error": string } — bad parameters or resource not shared.
- `401`: Missing, unknown or revoked key.
- `403`: Called from a browser — call from your backend.
- `429`: Rate limit: 60 requests per minute per key.

---

[API](https://skmtc.dev/attache/apis/attache-data-api.md) · [All operations](https://skmtc.dev/attache/apis/attache-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/attache/apis/attache-data-api/revisions/83d5d32a3fea?raw)
