Read-only API · Available on every tier

Pull your analytics into any tool, report, or AI workflow

GoodMetrics gives you a clean, read-only API for every metric we track. Pull it into your own dashboards and reports — or connect an AI assistant in one step with our MCP server.

Read-only & safe Native MCP server Works with AI tools JSON over HTTP
request
$ curl https://data.goodmetrics.io/{gmID}/events/acquisition/referrers?start=1771872000&end=1772476799 \
    -H "Authorization: Bearer gm_live_••••"
200 OKapplication/json
{
  "meta": { "totalRecords": 37 },
  "data": {
    "primary": [
      { "referrer": "google.com", "sessions": 48213 },
      { "referrer": "(direct)",   "sessions": 18402 },
      { "referrer": "t.co",       "sessions": 12480 },
      { "referrer": "reddit.com", "sessions": 9120 },
      { "referrer": "bing.com",   "sessions": 4115 }
    ]
  }
}

What you can do with it

One API, every workflow

Build exactly the report you need

The GoodMetrics dashboard covers the day-to-day. But when you need something bespoke, like a client-facing report or a metric layout unique to your business, pull the exact data you want and build it your way.

Automate reports & scripts

Schedule a weekly traffic summary to Slack, run a daily job that flags week-over-week swings worth a second look, or wire metrics into the internal tools your team already lives in.

Blend it with your SEO data

Join your GoodMetrics traffic with Search Console and your other SEO tools to see which search queries and rankings actually lead to conversions, and which content is worth refreshing.

Let AI do the work

Connect your AI assistant through our MCP server and let it fetch, filter, and summarize on demand. Just ask, and get your answer in seconds.

Every metric in your dashboard is available through the API — so if you can see it, you can pull it.

Built to trust

What's included

Read-only by design.

The API can fetch your data, never change it. Safe to hand to an agent or a teammate.

Everything you track.

Realtime visitors, audience & acquisition, traffic sources, page performance, UTM data, and custom events.

Privacy-first, like the rest of GoodMetrics.

The same cookieless, privacy-friendly data you trust in the dashboard — nothing extra collected.

On every tier, no data caps.

API access is included at every tier, with no per-call metering games.

Generate a key in your settings and you're live in minutes. Read the API docs →

AI-native by design

Connect your AI assistant. Then just ask.

Our MCP server gives Claude, ChatGPT, and any MCP-compatible assistant native access to your analytics — no code, no docs to read, no API calls to wire up. Connect once, ask for what you want in plain English, and it pulls your data and hands back the answer. Prefer to drive the REST API directly? It's clean enough that an agent can do that too.

analytics agent

You

Pull last month's traffic by source and tell me which one converted best.

Called the GoodMetrics MCP server

Google search drove the most visitors (48k), but email had the highest conversion rate at 4.2%. Here's the full breakdown…

No SQL, no exports, no waiting on a data team. Your analytics become something you can have a conversation with.

Go beyond the dashboard

Start your free trial and put your analytics to work — in your tools, your reports, and your AI workflows.