Google Analytics 4 website screenshot

Google Analytics 4

Google Analytics 4 (GA4) is Google's event-based web and app analytics platform and the successor to Universal Analytics. Its developer surface has three distinct parts: the Analytics Data API (analyticsdata.googleapis.com) for running core, pivot, funnel and realtime reports and for exporting audiences; the Analytics Admin API (analyticsadmin.googleapis.com) for managing accounts, properties, data streams, custom dimensions and metrics, key events, access bindings and product links; and the Measurement Protocol (www.google-analytics.com/mp/collect) for sending server-side events directly into a property. Google publishes no OpenAPI for GA4 — the machine-readable contract is served as Google API Discovery documents on the API hosts themselves, alongside canonical protobuf service definitions in the googleapis repository. Authentication is Google OAuth 2.0 only for the Data and Admin APIs; the Measurement Protocol uses a per-stream shared secret.

Google Analytics 4 publishes 2 APIs on the APIs.io network: Google Analytics Data API and Google Analytics Admin API. Tagged areas include Analytics, Data Collection, Marketing, Measurements, and Mobile Analytics.

The Google Analytics 4 catalog on APIs.io includes 1 event-driven AsyncAPI specification.

Google Analytics 4’s developer surface includes authentication, changelog, sandbox, documentation, API reference, getting-started guide, developer console, and 37 more developer resources.

70.2/100 exemplar ▬ flat Agent 42/100 agent ready Full breakdown ↓
scored 2026-08-20 · rubric v0.12.0
AccessFreemiumSelf serve⚡ Free to try
3 APIs 1 MCP Servers
AnalyticsData CollectionMarketingMeasurementsMobile AnalyticsReportingWeb AnalyticsAttributionAudiencesEvent Tracking

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-08-20 · rubric v0.12.0
Composite quality — 70.2/100 · exemplar
Contract Quality 17.5 / 25
Developer Ergonomics 14.2 / 20
Access Clarity 16.3 / 20
Operational Transparency 10.9 / 13
Contract Governance 2.0 / 12
Discoverability 9.3 / 10
Agent readiness — 42/100 · agent ready
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
Documented Reversibility 0 / 6
MCP Server 12 / 12
Machine-Readable Auth 10 / 10
Idempotency 0 / 9
Stable Error Semantics 8 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 6 / 6
Agent Skills 5 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 3 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/google-analytics-4: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 3

Individual APIs this provider publishes, each with its own machine-readable definition.

Google Analytics Measurement Protocol

The Measurement Protocol for Google Analytics 4 allows developers to send events directly to Google Analytics servers for web and app streams. Fire-and-forget: the production en...

Google Analytics Data API

Reporting API for GA4 properties — core reports, pivot reports, batched reports, realtime reports, funnel reports, dimension/metric metadata, compatibility checks, audience expo...

Google Analytics Admin API

Configuration API for GA4 — accounts, properties, data streams, Measurement Protocol secrets, custom dimensions and metrics, key events, data retention and redaction settings, a...

Open Collections 7

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

API Collection

OPEN COLLECTION

Google Analytics Data API

OPEN COLLECTION

Google Analytics Data API

OPEN COLLECTION

Google Analytics Data API

OPEN COLLECTION

Scroll for all 7

MCP Servers 1

Model Context Protocol servers that expose these APIs to AI agents.

Pricing Plans 1

Published pricing tiers and plan structures.

Rate Limits 1

Documented rate limits and quota policies.

Google Analytics 4 Rate Limits

15 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Event Specifications 1

AsyncAPI definitions for this provider's event-driven and streaming APIs.

Security Posture 4

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Google Analytics 4 Authentication

http/oauth2 · 2 schemes

SECURITY

Google Analytics 4 Domain Security

TLSv1.3 · HSTS · DMARC

SECURITY

Google Analytics 4 Vulnerability Disclosure

security.txt · contact published

SECURITY

Scopes 1

OAuth scopes governing access to this provider's APIs.

Google Analytics 4 Scopes

5 scopes · authorizationCode

5 scopes

SCOPES

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Google Analytics 4 Agentic Access

247 operations · 149 acting

247 operations · 149 acting

AGENTIC

Resources

Get Started 5

Portal, sign-up, and the first successful call

Documentation 2

Reference material describing how the API behaves

Agent Surfaces 5

MCP servers, agent skills, and machine-readable catalogs

Design & Contract 7

Pagination, idempotency, versioning, errors, and events

Scroll for all 7

Build 4

SDKs, sample code, and the tooling you integrate with

Access & Security 8

Authentication, authorization, and security posture

Scroll for all 8

Operate 5

Status, limits, changes, and where to get help

Commercial 5

Pricing, plans, and the legal terms of use

Company 2

The organization behind the API

Other 1

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: google-analytics-4
name: Google Analytics 4
description: 'Google Analytics 4 (GA4) is Google''s event-based web and app analytics platform and the successor to Universal
  Analytics. Its developer surface has three distinct parts: the Analytics Data API (analyticsdata.googleapis.com) for running
  core, pivot, funnel and realtime reports and for exporting audiences; the Analytics Admin API (analyticsadmin.googleapis.com)
  for managing accounts, properties, data streams, custom dimensions and metrics, key events, access bindings and product
  links; and the Measurement Protocol (www.google-analytics.com/mp/collect) for sending server-side events directly into a
  property. Google publishes no OpenAPI for GA4 — the machine-readable contract is served as Google API Discovery documents
  on the API hosts themselves, alongside canonical protobuf service definitions in the googleapis repository. Authentication
  is Google OAuth 2.0 only for the Data and Admin APIs; the Measurement Protocol uses a per-stream shared secret.'
type: Index
accessModel:
  pricing: freemium
  onboarding: self-serve
  trial: false
  try_now: true
  public: false
  label: Freemium · Self-serve signup
  confidence: high
  source:
  - plans
  - authentication
  generated: '2026-07-22'
  method: derived
image: https://www.gstatic.com/analytics-suite/header/suite/v2/ic_analytics.svg
url: https://raw.githubusercontent.com/api-evangelist/google-analytics-4/refs/heads/main/apis.yml
created: '2024-01-01'
modified: '2026-08-13'
specificationVersion: '0.23'
tags:
- Analytics
- Data Collection
- Marketing
- Measurements
- Mobile Analytics
- Reporting
- Web Analytics
- Attribution
- Audiences
- Event Tracking
tags_raw:
- Analytics
- Data Collection
- Marketing
- Measurement
- Mobile Analytics
- Reporting
- Web Analytics
- Attribution
- Audiences
- Event Tracking
apis:
- aid: google-analytics-4:google-analytics-measurement-protocol
  name: Google Analytics Measurement Protocol
  description: 'The Measurement Protocol for Google Analytics 4 allows developers to send events directly to Google Analytics
    servers for web and app streams. Fire-and-forget: the production endpoint returns HTTP 204 with an empty body and never
    reports validation errors, so a separate validation endpoint exists. Authenticates with a per-data-stream api_secret rather
    than OAuth.'
  image: https://www.gstatic.com/analytics-suite/header/suite/v2/ic_analytics.svg
  humanURL: https://developers.google.com/analytics/devguides/collection/protocol/ga4
  baseURL: https://www.google-analytics.com/mp/collect
  tags:
  - Data Collection
  - Event
  - Server-Side
  - Tracking
  tags_raw:
  - Data Collection
  - Events
  - Server-Side
  - Tracking
  properties:
  - type: Documentation
    url: https://developers.google.com/analytics/devguides/collection/protocol/ga4
  - type: APIReference
    url: https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference
  - type: Validation
    url: https://developers.google.com/analytics/devguides/collection/protocol/ga4/validating-events
  - type: Events
    url: https://developers.google.com/analytics/devguides/collection/protocol/ga4/sending-events
  - type: Sandbox
    url: sandbox/google-analytics-4-sandbox.yml
- aid: google-analytics-4:google-analytics-data-api
  name: Google Analytics Data API
  description: Reporting API for GA4 properties — core reports, pivot reports, batched reports, realtime reports, funnel reports,
    dimension/metric metadata, compatibility checks, audience exports and asynchronous report tasks. 11 operations on the
    stable v1beta channel and 15 on v1alpha, harvested from Google's own Discovery documents.
  humanURL: https://developers.google.com/analytics/devguides/reporting/data/v1
  baseURL: https://analyticsdata.googleapis.com
  tags:
  - Reporting
  - Analytics
  - V1beta
  - V1alpha
  properties:
  - type: OpenAPI
    url: openapi/google-analytics-4-data-v1beta-openapi.yml
  - type: OpenAPI
    url: openapi/google-analytics-4-data-v1alpha-openapi.yml
  - type: Protobuf
    url: grpc/google-analytics-4-data-v1beta-analytics_data_api.proto
  - type: Overlay
    url: overlays/google-analytics-4-data-v1beta-overlay.yaml
  - type: Overlay
    url: overlays/google-analytics-4-data-v1alpha-overlay.yaml
  - type: Documentation
    url: https://developers.google.com/analytics/devguides/reporting/data/v1
  - type: APIReference
    url: https://developers.google.com/analytics/devguides/reporting/data/v1/rest
  - type: Authentication
    url: https://developers.google.com/analytics/devguides/reporting/data/v1/basics#authentication
  - type: GettingStarted
    url: https://developers.google.com/analytics/devguides/reporting/data/v1/quickstart-client-libraries
  - type: RateLimits
    url: https://developers.google.com/analytics/devguides/reporting/data/v1/quotas
  - type: ChangeLog
    url: https://developers.google.com/analytics/devguides/reporting/data/v1/changelog
  - type: ErrorCatalog
    url: https://developers.google.com/analytics/devguides/reporting/data/v1/errors
  - type: Webhooks
    url: asyncapi/google-analytics-4-webhooks.yml
- aid: google-analytics-4:google-analytics-admin-api
  name: Google Analytics Admin API
  description: Configuration API for GA4 — accounts, properties, data streams, Measurement Protocol secrets, custom dimensions
    and metrics, key events, data retention and redaction settings, audiences, access bindings, and links to Google Ads, Firebase,
    BigQuery, AdSense, Display & Video 360 and Search Ads 360. 55 operations on v1beta and 166 on v1alpha, harvested from
    Google's own Discovery documents.
  humanURL: https://developers.google.com/analytics/devguides/config/admin/v1
  baseURL: https://analyticsadmin.googleapis.com
  tags:
  - Configuration
  - Administration
  - V1beta
  - V1alpha
  properties:
  - type: OpenAPI
    url: openapi/google-analytics-4-admin-v1beta-openapi.yml
  - type: OpenAPI
    url: openapi/google-analytics-4-admin-v1alpha-openapi.yml
  - type: Protobuf
    url: grpc/google-analytics-4-admin-v1beta-analytics_admin.proto
  - type: Overlay
    url: overlays/google-analytics-4-admin-v1beta-overlay.yaml
  - type: Overlay
    url: overlays/google-analytics-4-admin-v1alpha-overlay.yaml
  - type: Documentation
    url: https://developers.google.com/analytics/devguides/config/admin/v1
  - type: APIReference
    url: https://developers.google.com/analytics/devguides/config/admin/v1/rest
  - type: Authentication
    url: https://developers.google.com/analytics/devguides/config/admin/v1/rest
  - type: GettingStarted
    url: https://developers.google.com/analytics/devguides/config/admin/v1/quickstart-client-libraries
  - type: RateLimits
    url: https://developers.google.com/analytics/devguides/config/admin/v1/quotas
  - type: ChangeLog
    url: https://developers.google.com/analytics/devguides/config/admin/v1/changelog
common:
- type: AgenticAccess
  url: agentic-access/google-analytics-4-agentic-access.yml
- type: VulnerabilityDisclosure
  url: security/google-analytics-4-vulnerability-disclosure.yml
- type: Security
  url: https://g.co/vrp
- type: DomainSecurity
  url: security/google-analytics-4-domain-security.yml
- type: TrustCenter
  url: security/google-analytics-4-trust-center.yml
- type: Compliance
  url: https://support.google.com/analytics/answer/6004245
- type: Authentication
  url: authentication/google-analytics-4-authentication.yml
- type: OAuthScopes
  url: scopes/google-analytics-4-scopes.yml
- type: Conventions
  url: conventions/google-analytics-4-conventions.yml
- type: ErrorCatalog
  url: errors/google-analytics-4-problem-types.yml
- type: DataModel
  url: data-model/google-analytics-4-data-model.yml
- type: Conformance
  url: conformance/google-analytics-4-conformance.yml
- type: Lifecycle
  url: lifecycle/google-analytics-4-lifecycle.yml
- type: StatusPage
  url: https://www.google.com/appsstatus/dashboard/
- type: ChangeLog
  url: changelog/google-analytics-4-changelog.yml
- type: RateLimits
  url: rate-limits/google-analytics-4-rate-limits.yml
- type: Plans
  url: plans/google-analytics-4-plans-pricing.yml
- type: FinOps
  url: finops/google-analytics-4-finops.yml
- type: Sandbox
  url: sandbox/google-analytics-4-sandbox.yml
- type: Components
  url: components/google-analytics-4-components.yml
- type: Packages
  url: packages/google-analytics-4-packages.yml
- type: SDKs
  url: packages/google-analytics-4-packages.yml
- type: MCPServer
  url: mcp/google-analytics-4-mcp.yml
- type: ToolCrosswalk
  url: mcp/google-analytics-4-tool-crosswalk.yml
- type: AgentSkill
  url: skills/_index.yml
- type: Webhooks
  url: asyncapi/google-analytics-4-webhooks.yml
- type: WellKnown
  url: well-known/google-analytics-4-well-known.yml
- type: SecurityTxt
  url: well-known/google-analytics-4-security.txt
- type: LLMsTxt
  url: llms/google-analytics-4-llms.txt
- type: Protobuf
  url: grpc/_index.yml
- type: GitHubOrganization
  url: https://github.com/googleanalytics
- type: LinkedIn
  url: https://www.linkedin.com/company/googleanalytics4
- type: DeveloperPortal
  url: https://developers.google.com/analytics
- type: Documentation
  url: https://developers.google.com/analytics/devguides
- type: APIReference
  url: https://developers.google.com/analytics/devguides/reporting/data/v1/rest
- type: GettingStarted
  url: https://developers.google.com/analytics/devguides/reporting/data/v1/quickstart-client-libraries
- type: Console
  url: https://analytics.google.com/
- type: SignUp
  url: https://analytics.google.com/analytics/web/provision/
- type: TermsOfService
  url: https://developers.google.com/analytics/terms
- type: PrivacyPolicy
  url: https://policies.google.com/privacy
- type: Support
  url: https://support.google.com/analytics
- type: Community
  url: https://developers.google.com/analytics/community
- type: Blog
  url: https://blog.google/products/marketingplatform/analytics/
- type: Pricing
  url: https://marketingplatform.google.com/about/analytics/
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com
x-enrichment:
  date: '2026-08-13'
  status: enriched
  artifacts_added: 30
  pass: local-v1
x-coverage:
  state: covered