Google Analytics Data API (GA4)
The Google Analytics Data API provides programmatic access to Google Analytics 4 (GA4) report data including standard reports, pivot reports, real-time reports, funnel reports, and audience exports.
Documentation
Documentation
https://developers.google.com/analytics/devguides/reporting/data/v1
APIReference
https://developers.google.com/analytics/devguides/reporting/data/v1/rest
GettingStarted
https://developers.google.com/analytics/devguides/reporting/data/v1/quickstart
Authentication
https://developers.google.com/analytics/devguides/reporting/data/v1/quickstart-client-libraries
RateLimits
https://developers.google.com/analytics/devguides/reporting/data/v1/quotas
Specifications
Code Examples
CodeExamples
Python Samples
CodeExamples
Java Samples
CodeExamples
Node.js Samples
CodeExamples
.NET Samples
CodeExamples
PHP Samples
CodeExamples
Curl Examples
CodeExamples
JavaScript Examples
Other Resources
SDKs
Python SDK
SDKs
Node.js SDK
SDKs
Java SDK
SDKs
.NET SDK
SDKs
PHP SDK
GraphQL
https://raw.githubusercontent.com/api-evangelist/google-analytics/refs/heads/main/graphql/google-analytics-graphql.md
APIsJSON
https://raw.githubusercontent.com/api-evangelist/google-analytics/refs/heads/main/apis.yml
Arazzo
https://raw.githubusercontent.com/api-evangelist/google-analytics/refs/heads/main/arazzo/google-analytics-account-change-history-audit-workflow.yml
Arazzo
https://raw.githubusercontent.com/api-evangelist/google-analytics/refs/heads/main/arazzo/google-analytics-audience-export-create-or-reuse-workflow.yml
Arazzo
https://raw.githubusercontent.com/api-evangelist/google-analytics/refs/heads/main/arazzo/google-analytics-audit-custom-definitions-workflow.yml
Arazzo
https://raw.githubusercontent.com/api-evangelist/google-analytics/refs/heads/main/arazzo/google-analytics-batch-run-reports-workflow.yml
Arazzo
https://raw.githubusercontent.com/api-evangelist/google-analytics/refs/heads/main/arazzo/google-analytics-check-compatibility-run-report-workflow.yml
Arazzo
https://raw.githubusercontent.com/api-evangelist/google-analytics/refs/heads/main/arazzo/google-analytics-create-custom-dimension-run-report-workflow.yml
Arazzo
https://raw.githubusercontent.com/api-evangelist/google-analytics/refs/heads/main/arazzo/google-analytics-create-custom-metric-run-report-workflow.yml
Arazzo
https://raw.githubusercontent.com/api-evangelist/google-analytics/refs/heads/main/arazzo/google-analytics-create-property-data-stream-workflow.yml
Arazzo
https://raw.githubusercontent.com/api-evangelist/google-analytics/refs/heads/main/arazzo/google-analytics-discover-and-run-report-workflow.yml
Arazzo
https://raw.githubusercontent.com/api-evangelist/google-analytics/refs/heads/main/arazzo/google-analytics-inventory-property-data-streams-workflow.yml
Arazzo
https://raw.githubusercontent.com/api-evangelist/google-analytics/refs/heads/main/arazzo/google-analytics-list-properties-run-realtime-workflow.yml
Arazzo
https://raw.githubusercontent.com/api-evangelist/google-analytics/refs/heads/main/arazzo/google-analytics-query-audience-export-users-workflow.yml