API & Data

Every metric and framework on ProductMetrics is available as read-only JSON — the same data that drives the pages. It's public, free, and built to be cited: no API key, no auth, no rate limits, and open CORS so you can fetch it straight from the browser.

Endpoints

GET /api/metrics

All 44 metrics (Metric[])

GET /api/metrics/[slug]

A single metric, or { error } with status 404

GET /api/frameworks

All 4 frameworks (Framework[])

GET /api/frameworks/[slug]

A single framework, or { error } with status 404

GET /api/openapi.json

OpenAPI 3.1 spec describing every endpoint and schema

Base URL https://productmetrics.org. API slugs match the page URLs — e.g. /metrics/dau is served as /api/metrics/dau.

Example

# Fetch a single metric
curl https://productmetrics.org/api/metrics/nrr

# In the browser (open CORS, no key)
const metrics = await fetch('https://productmetrics.org/api/metrics')
  .then(r => r.json())

Response shape

Each metric carries its name, slug, definition, formula, what it measures, benchmarks, what-to-watch guidance, related metrics, and a sources array of primary citations — always present, empty when a record carries no citations. Frameworks carry origin, components, implementation steps, real-world examples, and their own sources. Other optional fields are omitted entirely when absent. A machine-readable OpenAPI 3.1 spec describes the full shape.

MCP server

For AI agents, the catalog ships as a Model Context Protocol server, @productmetrics/mcp, that exposes the catalog as callable tools: list_metrics, get_metric, search, list_frameworks, get_framework, and get_benchmark. It reads the same data as this site and is read-only and open. It's published on npm and listed in the official MCP registry as io.github.roar-gits/productmetrics. Point your client at it with npx -y -p @productmetrics/mcp productmetrics-mcp — no clone or build. Source: packages/mcp.

Using & citing

This catalog is published under a Creative Commons Attribution 4.0 license: use it freely in tools, agents, dashboards, and research — just credit productmetrics.org. Agents and crawlers can start from /llms.txt (a link map) or pull the entire corpus in one fetch from /llms-full.txt. Benchmark figures carry a last-reviewed date and cite their sources on each metric page — please carry the citation through rather than presenting a figure as bare fact.