Google AnalyticsGoogle AnalyticsSEO/AEO

List your GA4 property's dimensions and metrics

google-analytics.metadata

List the dimensions and metrics your GA4 property supports, including custom ones

价格
free按目录价
成功率
100%近 30 天 · 38 次
延迟 p50
195 毫秒p95 443 毫秒
最后验证
2026年7月28日实测可用
GEThttps://toolswitch.dev/v1/tools/google-analytics.metadataBeta
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

the cheap way to stop guessing: returns every apiName with its uiName, description and deprecation status — including the property's CUSTOM dimensions and metrics, which no static documentation can list. Free of the report token quota, so call it before composing a report

参数类型必填说明示例
路径参数
property_id字符串必填123456789
  • 路径参数
  • property_id字符串必填

    示例:123456789

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

Beta
curl -X GET 'https://toolswitch.dev/v1/tools/google-analytics.metadata' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

网关接口为 Beta,地址与鉴权方式可能变更。 示例参数仅为样例数据。 调用按 free 计费,已含服务费。