Google Analytics 4 Accounts API

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

Operations 25

DELETE /v1alpha/accounts/{accountsId} Marks target Account as soft-deleted (ie: "trashed") and returns it #
GET /v1alpha/accounts/{accountsId} Lookup for a single Account #
PATCH /v1alpha/accounts/{accountsId} Updates an account #
GET /v1alpha/accounts/{accountsId}/dataSharingSettings Get data sharing settings on an account #
GET /v1alpha/accounts Returns all accounts accessible by the caller #
POST /v1alpha/accounts:provisionAccountTicket Requests a ticket for creating an account #
POST /v1alpha/accounts/{accountsId}:runAccessReport Returns a customized report of data access records #
POST /v1alpha/accounts/{accountsId}:searchChangeHistoryEvents Searches through all changes to an account or its children given the specified… #
POST /v1alpha/accounts/{accountsId}/accessBindings:batchCreate Creates information about multiple access bindings to an account or property #
POST /v1alpha/accounts/{accountsId}/accessBindings:batchDelete Deletes information about multiple users' links to an account or property #
GET /v1alpha/accounts/{accountsId}/accessBindings:batchGet Gets information about multiple access bindings to an account or property #
POST /v1alpha/accounts/{accountsId}/accessBindings:batchUpdate Updates information about multiple access bindings to an account or property #
POST /v1alpha/accounts/{accountsId}/accessBindings Creates an access binding on an account or property #
GET /v1alpha/accounts/{accountsId}/accessBindings Lists all access bindings on an account or property #
DELETE /v1alpha/accounts/{accountsId}/accessBindings/{accessBindingsId} Deletes an access binding on an account or property #
GET /v1alpha/accounts/{accountsId}/accessBindings/{accessBindingsId} Gets information about an access binding #
PATCH /v1alpha/accounts/{accountsId}/accessBindings/{accessBindingsId} Updates an access binding on an account or property #
DELETE /v1beta/accounts/{accountsId} Marks target Account as soft-deleted (ie: "trashed") and returns it #
GET /v1beta/accounts/{accountsId} Lookup for a single Account #
PATCH /v1beta/accounts/{accountsId} Updates an account #
GET /v1beta/accounts/{accountsId}/dataSharingSettings Get data sharing settings on an account #
GET /v1beta/accounts Returns all accounts accessible by the caller #
POST /v1beta/accounts:provisionAccountTicket Requests a ticket for creating an account #
POST /v1beta/accounts/{accountsId}:runAccessReport Returns a customized report of data access records #
POST /v1beta/accounts/{accountsId}:searchChangeHistoryEvents Searches through all changes to an account or its children given the specified… #

Documentation

Specifications

Other Resources

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/google-analytics-4-accounts-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

google-analytics-4-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Analytics 4 Accounts API
  contact:
    name: Google
    url: http://code.google.com/apis/analytics/docs/mgmt/home.html
  x-discovery-revision: '20260810'
  version: '1.0'
  description: 'Operations tagged accounts across 2 of this provider''s published API definitions: google-analytics-4-admin-v1alpha-openapi.yml, google-analytics-4-admin-v1beta-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://analyticsadmin.googleapis.com
  description: Google Analytics Admin API
security:
- BearerAuth: []
tags:


# --- truncated at 32 KB (231 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/google-analytics/refs/heads/main/openapi/google-analytics-4-accounts-api-openapi.yml