freeapis

Google Analytics

收集、配置和分析你的数据,以触达正确的受众

认证方式
OAuth
HTTPS
Yes
CORS
Unknown
分类
商业
数据来源
public-apis + marcelscruz

简介

Google Analytics Data API(GA4)读取你的分析数据——报告和实时数据。认证是 OAuth 2.0(未认证请求返回 404/400,已实测)。

快速开始

需要 OAuth 凭据——未认证调用会失败(实测 404):

curl "https://analyticsdata.googleapis.com/v1beta/properties/12345678:runReport" \
  -H "Authorization: Bearer YOUR_OAUTH_TOKEN"

认证方式

  • 创建 Google Cloud 项目 → 启用 Analytics Data API。
  • OAuth 2.0 或服务账号 → bearer token。

速率限制与注意事项

  • 免费;Google Cloud 配额适用。
  • 仅 GA4(旧 v3 Universal Analytics API 已退役)。

常见问题

Google Analytics 免费吗? API 在 Cloud 配额内免费。

为什么没认证会 404? 必须 OAuth(已实测)——请先配置凭据。

能读什么? GA4 报告和实时数据。

商业 分类更多

APIAuthHTTPSCORS
Apache Superset

API to manage your BI dashboards and data sources on Superset

API KeyYesYes↗
ArvanCloud

Enables you to use ArvanCloud services

API KeyNoUnknown↗
Charity Search

Non-profit charity data

API KeyNoUnknown↗
Clearbit Logo

Search for company logos and embed them in your projects

API KeyYesUnknown↗
CompanyEnrich

API for B2B company data enrichment, domain enrichment, and website enrichment

API KeyYesUnknown↗