Quota is per property in tokens (200,000/day, 40,000/hour on standard properties); heavy reports can exhaust it quickly. [2]
Guides · analytics · Popular APIs
Google Analytics Data API (GA4)
Enable the Google Analytics Data API v1 in a Google Cloud project and grant a user or service account access to a GA4 property; public multi-user apps need an OAuth client and may need verification.
Researched · not yet run liveLast researched 25 October 2026 · Google · provider site
Who owns what
A Google Cloud project calls the API; the GA4 property (in a Google Analytics account) grants read access to a user or service account.
- Google Cloud project project
- Google Analytics account and GA4 property organisationThe caller's email (user or service account) needs access to the property.
Have ready
- A Google Cloud project you own
- A GA4 property you administer
- google/oauth-verification: Only for public apps that let other people connect their Analytics via OAuth, if the console marks analytics.readonly as sensitive [to verify tier].
Steps
Steps marked “human step” are ones only you can do: verapli never signs in, submits, pays or accepts terms for you.
Enable the Google Analytics Data API
In your project's API Library, enable "Google Analytics Data API".
Where: https://console.cloud.google.com/apis/library/analyticsdata.googleapis.com
Create credentials
For your own property, create a service account (or use Application Default Credentials). For a multi-user app, configure the consent screen and create an OAuth client requesting analytics.readonly.
Where: https://console.cloud.google.com/iam-admin/serviceaccounts
Grant access in Google Analytics
In GA4 Admin > Property access management, add the user or service account email with a Viewer role [to verify role name].
Where: https://analytics.google.com/analytics/web/
Note the property ID
Copy the numeric GA4 property ID from Admin > Property settings; requests use properties/{id}.
Verify the OAuth app (public multi-user apps only)optional
If the console lists your scopes as sensitive and the app is External and in production, submit for verification.
- The provider says
- Sensitive scope verification typically takes 3-5 business days. [3]
Where: https://console.cloud.google.com/auth/verification
Terms and gotchas
Plain-English summary, not legal advice. Each card links its source.
What you end up with
| Env var | Secret | Format | What it is |
|---|---|---|---|
GA4_PROPERTY_ID | not secret | 123456789 | Numeric GA4 property ID |
GOOGLE_APPLICATION_CREDENTIALS | secret | ./service-account.json | Path to the service account JSON key file (if a key is used rather than ADC or OAuth) |
Pricing
- Free tier: Quotas are per property (standard 200,000 tokens/day; Analytics 360 2,000,000).
- The quota page does not state a price; no charge for the API was found [to verify].
Source [2]
For agents
The same entry as JSON: /api/v1/entries/google/analytics-data-api · requirements /api/v1/requirements/google/analytics-data-api · terms /api/v1/terms/google/analytics-data-api.
claude mcp add --transport http verapli https://verapli.com/mcp
> "What do I need for Google Analytics Data API (GA4), and how long will it take?"
→ tools/call requirements { "provider_id": "google/analytics-data-api" }Sources
- Google Analytics API quickstart Setup: enable Google Analytics Data API v1 in a Cloud project, grant the account access to a GA4 property in the Analytics UI, scopes cloud-platform and analytics.readonly, runReport sample; service account option. · accessed 25 October 2026 · official
- Data API limits and quotas | Google Analytics Standard properties 200,000 tokens/day and 40,000 tokens/hour per property, 14,000 per project per property per hour, 10 concurrent requests; Analytics 360 is ten times higher; daily reset midnight Pacific. · accessed 25 October 2026 · official
- Sensitive scope verification Public apps requesting sensitive scopes need verification; exemptions for personal use, Testing, service-owned data and Internal apps; typically 3-5 business days. · accessed 25 October 2026 · official
- Configure the OAuth consent screen and choose scopes Consent screen configuration steps. · accessed 25 October 2026 · official
Provider rules change. This page is generated from verapli registry version 2026.1025.316; spotted something out of date? Tell us. Google is not affiliated with verapli.