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 3 APIs on the APIs.io network: Accounts API, Account Summaries API, and Properties 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 42 more developer resources.

65.3/100 strong ▬ flat Agent 38/100 agent ready saas Full breakdown ↓
scored 2026-09-08 · rubric v0.20.0
AccessFreemiumSelf serve⚡ Free to try
8 APIs 1 MCP Servers
AnalyticsData CollectionMarketingMeasurementsMobile AnalyticsReportingWeb AnalyticsAttributionAudiencesEvent Tracking

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-09-08 · rubric v0.20.0
Create-or-Update Ergonomics applies to this provider. This API accepts writes, so it carries 10 points of the composite. It is scored from the published contracts themselves: whether a caller can create-or-update in one call, whether the write accepts a key the caller already holds, and whether the response says which branch ran. Without that, every write needs a search-and-branch in front of it, and the first time that check is skipped a duplicate record is created. Scored against the observed mean rather than raw — a provider at the catalog average is unchanged by this facet, not penalised by it.
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. 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. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

APIs 4

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 4 Accounts API

The accounts API from Google Analytics 4 — 18 operation(s) for accounts.

Google Analytics 4 Account Summaries API

The accountSummaries API from Google Analytics 4 — 2 operation(s) for accountsummaries.

Google Analytics 4 Properties API

The properties API from Google Analytics 4 — 120 operation(s) for properties.

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 3

The organization behind the API

Other 5

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
deliveryModel:
  model: saas
  open_source: false
  commercial: true
  callable_host: true
  label: Hosted service · you call their endpoint
  confidence: high
  source:
  - openapi
  - pricing
  generated: '2026-08-28'
  method: derived
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-4-accounts-api
  name: Google Analytics 4 Accounts API
  description: The accounts API from Google Analytics 4 — 18 operation(s) for accounts.
  humanURL: https://developers.google.com/analytics/devguides/collection/protocol/ga4
  baseURL: https://www.google-analytics.com/mp/collect
  tags:
  - Account
  tags_raw:
  - accounts
  properties:
  - type: OpenAPI
    url: openapi/google-analytics-4-accounts-api-openapi.yml
  - type: Protobuf
    url: grpc/google-analytics-4-data-v1beta-analytics_data_api.proto
  - 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
  - type: Protobuf
    url: grpc/google-analytics-4-admin-v1beta-analytics_admin.proto
  - 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
- aid: google-analytics-4:google-analytics-4-accountsummaries-api
  name: Google Analytics 4 Account Summaries API
  description: The accountSummaries API from Google Analytics 4 — 2 operation(s) for accountsummaries.
  humanURL: https://developers.google.com/analytics/devguides/collection/protocol/ga4
  baseURL: https://www.google-analytics.com/mp/collect
  tags: []
  tags_raw:
  - accountSummaries
  properties:
  - type: OpenAPI
    url: openapi/google-analytics-4-accountsummaries-api-openapi.yml
  - type: Protobuf
    url: grpc/google-analytics-4-data-v1beta-analytics_data_api.proto
  - 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
  - type: Protobuf
    url: grpc/google-analytics-4-admin-v1beta-analytics_admin.proto
  - 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
- aid: google-analytics-4:google-analytics-4-properties-api
  name: Google Analytics 4 Properties API
  description: The properties API from Google Analytics 4 — 120 operation(s) for properties.
  humanURL: https://developers.google.com/analytics/devguides/collection/protocol/ga4
  baseURL: https://www.google-analytics.com/mp/collect
  tags:
  - Properties
  tags_raw:
  - properties
  properties:
  - type: OpenAPI
    url: openapi/google-analytics-4-properties-api-openapi.yml
  - type: Protobuf
    url: grpc/google-analytics-4-data-v1beta-analytics_data_api.proto
  - 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
  - type: Protobuf
    url: grpc/google-analytics-4-admin-v1beta-analytics_admin.proto
  - 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: Website
  url: https://www.google.com/
- type: Overlay
  url: overlays/google-analytics-4-data-v1beta-overlay.yaml
- type: Overlay
  url: overlays/google-analytics-4-data-v1alpha-overlay.yaml
- type: Overlay
  url: overlays/google-analytics-4-admin-v1beta-overlay.yaml
- type: Overlay
  url: overlays/google-analytics-4-admin-v1alpha-overlay.yaml
- 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

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/google-analytics-4"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/google-analytics-4/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/google-analytics-4/evidence"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.