Google Analytics · GraphQL Specification

Google Analytics GraphQL Schema

This directory contains a conceptual GraphQL schema for the Google Analytics 4 (GA4) APIs. The schema is derived from the [Google Analytics Data API v1](https://developers.google.com/analytics/devguides/reporting/data/v1) and the [Google Analytics Admin API v1](https://developers.google.com/analytics/devguides/config/admin/v1), translating their REST and RPC surface into idiomatic GraphQL types, queries, and mutations.

Documentation Endpoint View on GitHub AnalyticsDataGoogleMetricsReportingWeb AnalyticsMachine-LearningAttributionGraphQL

Overview

Google Analytics GraphQL Schema is a GraphQL API specification published by Google Analytics on the APIs.io network.

This directory contains a conceptual GraphQL schema for the Google Analytics 4 (GA4) APIs. The schema is derived from the Google Analytics Data API v1 and the Google Analytics Admin API v1, translating their REST and RPC surface into idiomatic GraphQL types, queries, and mutations.

Tagged areas include Analytics, Data, Google, Metrics, and Reporting.

Endpoint

Related API Specs

Google Analytics accounts API (OpenAPI) Google Analytics accountSummaries API (OpenAPI) Google Analytics data API (OpenAPI) Google Analytics Events API (OpenAPI) Google Analytics management API (OpenAPI) Google Analytics metadata API (OpenAPI) Google Analytics properties API (OpenAPI) Google Analytics provisioning API (OpenAPI) Google Analytics reports API (OpenAPI) Google Analytics User Deletion API (OpenAPI) Google Analytics userActivity API (OpenAPI) Google Analytics userDeletion API (OpenAPI) Google Analytics Validation API (OpenAPI)
Back to Google Analytics · All GraphQL Specs · GitHub

Work with this as data

Every GraphQL schema 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 graphql

4 MCP tools reach this
  • find_graphqlBrowse and filter every GraphQL schema in the catalog.
  • 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 GraphQL schema
curl "https://apis.io/api/v1/graphql/google-analytics-graphql"
All graphql
curl "https://apis.io/api/v1/graphql?limit=25"

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.