Google Analytics Data API (GA4)
Marketing & SEO Free key (no card)
AuthenticationFree key (no card)
Rate limitFree; token-based quotas per property (standard and realtime limits differ); the API can return your remaining quota.
Documentation: developers.google.com ยท Checked Sep 13, 2026
About
Google's official reporting API for GA4. You can request standard reports, realtime data, and funnel explorations with dimensions and metrics you choose, which makes it the backbone of custom marketing dashboards. It runs inside a free Google Cloud project with OAuth on your GA4 property, and the API itself costs nothing.
Details
Free to start. You may need a free key, but no credit card.
Auth: Free key (no card)
Rate limit: Free; token-based quotas per property (standard and realtime limits differ); the API can return your remaining quota.
Verified: 2026-09-13
Best for: analytics marketing reporting seo
Setup
- Create a GA4 property and a Google Cloud project
- Enable the Google Analytics Data API in the project
- Set up OAuth credentials and grant access to your GA4 property
- Note your numeric property ID from GA4 Admin settings
- Run a test report request, then build your dashboard queries
Example
POST https://analyticsdata.googleapis.com/v1beta/properties/{propertyId}:runReport with dimensions, metrics, and a date rangeUse cases
- Build a live traffic dashboard for your homepage or landing pages
- Email yourself a daily summary of conversions and top sources
- Combine GA4 numbers with ad spend for true cost-per-lead reporting