How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Google Analytics accounts API

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

Google Analytics accounts API is one of 13 APIs that Google Analytics publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Account. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, authentication docs, and rate-limit docs.

This API exposes 3 operations across 3 paths, and defines 20 schemas. It is described by OpenAPI 3.0.0, at version v1.

Requests are made against a single base URL, https://analyticsadmin.googleapis.com/.

3 operations 3 paths 20 schemas 1 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
v1
Base URL
https://analyticsadmin.googleapis.com
Authentication
OAuth 2.0, OAuth 2.0
Contact
Terms of Service
Resource Areas
1

Authentication & Security 2

Google Analytics accounts API declares 2 security schemes for authenticating requests. It supports OAuth 2.0 (Oauth2) using the implicit flow, exposing 2 scopes. It supports OAuth 2.0 (Oauth2c) using the authorizationCode flow, exposing 2 scopes.

  • Oauth2 — Oauth 2.0 implicit authentication
  • Oauth2c — Oauth 2.0 authorizationCode authentication

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 1 GET, 2 POST. Each is listed below with its method, path, parameters, and response codes.

accounts 3
GET
/v1beta/accounts
Returns all accounts accessible by the caller. Note that these accounts might not currently have GA4 properties. Soft-deleted (ie: "trashed") accounts are excluded by default. Returns an empty list i…
analyticsadmin.accounts.list 14 params → 200
POST
/v1beta/accounts:provisionAccountTicket
Requests a ticket for creating an account.
analyticsadmin.accounts.provisionAccountTicket 11 params body → 200
POST
/v1beta/{account}:searchChangeHistoryEvents
Searches through all changes to an account or its children given the specified set of filters.
analyticsadmin.accounts.searchChangeHistoryEvents 12 params body → 200

Schemas 20

The contract defines 20 schemas that model the data the API accepts and returns. The most detailed are GoogleAnalyticsAdminV1betaProperty (13 properties), GoogleAnalyticsAdminV1betaDataStream (8 properties), GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest (8 properties), GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource (8 properties). Each schema is shown below with its type and property counts.

GoogleAnalyticsAdminV1betaDataStreamIosAppStreamData
object
Data specific to iOS app streams.
2 properties
GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsRequest
object
Request message for SearchChangeHistoryEvents RPC.
8 properties
GoogleAnalyticsAdminV1betaMeasurementProtocolSecret
object
A secret value used for sending hits to Measurement Protocol.
3 properties
GoogleAnalyticsAdminV1betaProvisionAccountTicketRequest
object
Request message for ProvisionAccountTicket RPC.
2 properties
GoogleAnalyticsAdminV1betaConversionEvent
object
A conversion event in a Google Analytics property.
7 properties
GoogleAnalyticsAdminV1betaChangeHistoryChange
object
A description of a change to a single Google Analytics resource.
4 properties
GoogleAnalyticsAdminV1betaProvisionAccountTicketResponse
object
Response message for ProvisionAccountTicket RPC.
1 property
GoogleAnalyticsAdminV1betaProperty
object
A resource message representing a Google Analytics GA4 property.
13 properties
GoogleAnalyticsAdminV1betaListAccountsResponse
object
Request message for ListAccounts RPC.
2 properties
GoogleAnalyticsAdminV1betaChangeHistoryEvent
object
A set of changes within a Google Analytics account or its child properties that resulted from the same cause. Common causes would be updates made in the Google…
6 properties
GoogleAnalyticsAdminV1betaFirebaseLink
object
A link between a GA4 property and a Firebase project.
3 properties
GoogleAnalyticsAdminV1betaSearchChangeHistoryEventsResponse
object
Response message for SearchAccounts RPC.
2 properties
GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue
object
Defines a default value/currency for a conversion event. Both value and currency must be provided.
2 properties
GoogleAnalyticsAdminV1betaGoogleAdsLink
object
A link between a GA4 property and a Google Ads account.
7 properties
GoogleAnalyticsAdminV1betaAccount
object
A resource message representing a Google Analytics account.
6 properties
GoogleAnalyticsAdminV1betaDataStreamWebStreamData
object
Data specific to web streams.
3 properties
GoogleAnalyticsAdminV1betaDataStreamAndroidAppStreamData
object
Data specific to Android app streams.
2 properties
GoogleAnalyticsAdminV1betaDataStream
object
A resource message representing a data stream.
8 properties
GoogleAnalyticsAdminV1betaDataRetentionSettings
object
Settings values for data retention. This is a singleton resource.
3 properties
GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource
object
A snapshot of a resource as before or after the result of a change in change history.
8 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

google-analytics-accounts-api-openapi.yml Raw ↑

Other APIs Google Analytics publishes across the network.

Google Analytics accountSummaries API
Google Analytics data API
Google Analytics Events API
Google Analytics management API
Google Analytics metadata API
Google Analytics properties API
Google Analytics provisioning API
Google Analytics reports API
Google Analytics User Deletion API
Google Analytics userActivity API
Google Analytics userDeletion API
Google Analytics Validation API
Where this information came from

This is an independent, third-party profile of Google Analytics accounts API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.