• Chrome Web Store
  • API
  • Analytics

Chrome Web Store analytics API: query installs and users

The Chrome Web Store analytics API is here: queryMetrics returns daily installs, uninstalls, users and page views. Setup, curl, Node.js code and quota limits.

Author
Extenify Team
Published
Reading time
10 min read
Illuminated train departure boards at Tokyo Station listing train numbers, times, destinations and tracks in rows of green, orange and red labels

For years the answer to "is there a Chrome Web Store analytics API?" was no: you exported CSV files from the Developer Dashboard by hand. That changed quietly in autumn 2026. The Chrome Web Store API v2 now has a queryMetrics method, documented in a reference page last updated on October 30, 2026, that returns your extension's daily installs, uninstalls, active users, impressions and page views, sliced by country, version, operating system, install source or UTM campaign.

This guide explains what the method returns, how to authorize it, how to call it with curl and from a Node.js job, and the limits developers are already running into.

Key takeaways

  • GET https://chromewebstore.googleapis.com/v2/publishers/{publisher}/items/{item}:queryMetrics returns daily rows for seven metrics: installs, installs-7d, uninstalls, users, users-7d, impressions and page-views.
  • You can slice by at most one dimension per request, from twelve: os, app-version, country, install-source, install-type, language, enabled and five UTM fields.
  • The read-only scope https://www.googleapis.com/auth/chromewebstore.readonly is enough, and existing V1 credentials and service accounts work.
  • It only covers items your publisher account owns. It returns nothing for other extensions.
  • Developers report a Google Cloud quota of 200 metric reads per day and 100 per minute. Plan your dimensions before you schedule anything.

What the Chrome Web Store analytics API returns

The Chrome Web Store analytics API is one method, queryMetrics, that returns daily counts of installs, uninstalls, active users, impressions and page views for an extension you publish, optionally split by one dimension such as country or version. It sits next to the publishing methods in the Chrome Web Store API reference, alongside two new read-only methods for reviews and ratings. The method reference defines the metrics like this:

Metric Definition in the reference
installs Count of item installs
installs-7d Count of item installs in the last 7 days
uninstalls Count of item uninstalls
users Count of daily active users of the item
users-7d Count of 7-day active users of the item
impressions Count of item impressions across the entire store front
page-views Count of individual views of the item's detail page

And the dimensions, of which a request can use one:

Dimension What it splits by
os Operating system of the user
app-version Version of the item
country Country of the user
language Language of the user
install-source Source of the install
install-type From webstore, inline or other
enabled Whether the item is enabled or disabled
utm-campaign, utm-content, utm-medium, utm-source, utm-term The UTM parameters of the visit

Every response row has a date (year, month and day), a dimensionValues array when you asked for a dimension, and a metricValues array with one entry per metric. Each value is an int64 sent as a string, and a uniqueUserCount field is filled in "if applicable."

One wording difference deserves attention. The API calls users and users-7d active users, while Google's store listing metrics guide says the dashboard's Users stats "only captures installations; it doesn't monitor whether users are active or not." Compare users-7d with the Weekly Users chart for the same days before you treat the two as interchangeable. Our post on a Chrome extension weekly users drop explains how the dashboard figure is counted.

Set up access

The API uses the same project setup as publishing. Google's Use the Chrome Web Store API guide lists the steps:

  1. In the Google Cloud Console, create or pick a project and enable the Chrome Web Store API.
  2. Configure the OAuth consent screen and create an OAuth client, then get a refresh token for the account that owns the extension. Or create a service account and add its email in the Developer Dashboard under Account; Google's service account guide notes you can add only one service account per publisher.
  3. Copy your publisher ID from Publisher > Settings in the Developer Dashboard, and your item ID from the extension's listing URL. Our guide to the Chrome extension ID shows where to find it.

The guide is explicit that read-only requests, including queryMetrics, accept the chromewebstore.readonly scope, and that "credentials and refresh tokens created for V1 keep working with V2." If you already automate uploads, as in our Chrome Web Store review time post, you have everything you need.

Query installs and users with curl

Dates go in the query string as separate year, month and day fields, and repeated parameters carry several metrics. With an access token in TOKEN, this asks for daily installs, uninstalls and 7-day users for the first 28 days of November:

curl -H "Authorization: Bearer $TOKEN" \
  "https://chromewebstore.googleapis.com/v2/publishers/$PUBLISHER_ID/items/$ITEM_ID:queryMetrics?\
metrics=installs&metrics=uninstalls&metrics=users-7d&\
timeSpec.firstDate.year=2026&timeSpec.firstDate.month=11&timeSpec.firstDate.day=1&\
timeSpec.lastDate.year=2026&timeSpec.lastDate.month=11&timeSpec.lastDate.day=28"

The response has this shape (example values):

{
  "metricRows": [
    {
      "date": { "year": 2026, "month": 11, "day": 1 },
      "metricValues": [
        { "metric": "installs", "value": "41" },
        { "metric": "uninstalls", "value": "9" },
        { "metric": "users-7d", "value": "3120" }
      ]
    }
  ],
  "nextPageToken": "..."
}

Both dates are inclusive and optional: leave one out and that side of the range is open. A page holds 100 rows by default and up to 1,000 with pageSize. Add dimensions=country to get one row per country per day instead.

A daily export in Node.js

Most teams want the numbers in their own database, next to revenue and product events. The script below runs once a day, re-reads the last seven complete days, and overwrites what it stored before. Re-reading a trailing window is a deliberate choice: Google does not document when a day's numbers become final, and in October 2026 a Chrome team member acknowledged a delay in some analytics data, so the latest days can change after you first read them.

// cws-metrics.mjs: save daily Chrome Web Store metrics for one extension.
// Run once a day from cron or a scheduled CI job (Node.js 18 or later).
import { readFile, writeFile } from 'node:fs/promises';

const {
  CWS_CLIENT_ID,
  CWS_CLIENT_SECRET,
  CWS_REFRESH_TOKEN,
  CWS_PUBLISHER_ID,
  CWS_ITEM_ID,
} = process.env;

const API = 'https://chromewebstore.googleapis.com/v2';
const ITEM = `publishers/${CWS_PUBLISHER_ID}/items/${CWS_ITEM_ID}`;

async function getAccessToken() {
  const res = await fetch('https://oauth2.googleapis.com/token', {
    method: 'POST',
    body: new URLSearchParams({
      client_id: CWS_CLIENT_ID,
      client_secret: CWS_CLIENT_SECRET,
      refresh_token: CWS_REFRESH_TOKEN,
      grant_type: 'refresh_token',
    }),
  });
  if (!res.ok) throw new Error(`token request failed: HTTP ${res.status}`);
  return (await res.json()).access_token;
}

/** "2026-11-21" -> { 'timeSpec.firstDate.year': '2026', ... } */
function dateParams(prefix, isoDate) {
  const [year, month, day] = isoDate.split('-');
  return {
    [`${prefix}.year`]: year,
    [`${prefix}.month`]: String(Number(month)),
    [`${prefix}.day`]: String(Number(day)),
  };
}

async function queryMetrics(token, { metrics, dimension, firstDate, lastDate }) {
  const rows = [];
  let pageToken;
  do {
    const params = new URLSearchParams({
      ...dateParams('timeSpec.firstDate', firstDate),
      ...dateParams('timeSpec.lastDate', lastDate),
      pageSize: '1000',
    });
    for (const metric of metrics) params.append('metrics', metric);
    if (dimension) params.append('dimensions', dimension);
    if (pageToken) params.set('pageToken', pageToken);

    const res = await fetch(`${API}/${ITEM}:queryMetrics?${params}`, {
      headers: { authorization: `Bearer ${token}` },
    });
    if (!res.ok) {
      throw new Error(`queryMetrics failed: HTTP ${res.status} ${await res.text()}`);
    }
    const body = await res.json();
    rows.push(...(body.metricRows ?? []));
    pageToken = body.nextPageToken;
  } while (pageToken);
  return rows;
}

/** One flat record per row: { date, country?, installs, uninstalls, ... } */
function toRecords(rows, dimension) {
  return rows.map((row) => {
    const { year, month, day } = row.date;
    const record = {
      date: `${year}-${String(month).padStart(2, '0')}-${String(day).padStart(2, '0')}`,
    };
    if (dimension) record[dimension] = row.dimensionValues?.[0] ?? '(not set)';
    for (const { metric, value } of row.metricValues ?? []) {
      record[metric] = Number(value ?? 0); // int64 values arrive as strings
    }
    return record;
  });
}

function daysAgo(n) {
  const d = new Date();
  d.setUTCDate(d.getUTCDate() - n);
  return d.toISOString().slice(0, 10);
}

// Re-read the last 7 complete days on every run, so late corrections replace old values.
const firstDate = daysAgo(7);
const lastDate = daysAgo(1);
const token = await getAccessToken();

const totals = toRecords(
  await queryMetrics(token, {
    metrics: ['installs', 'uninstalls', 'users-7d'],
    firstDate,
    lastDate,
  }),
);
const byCountry = toRecords(
  await queryMetrics(token, {
    metrics: ['installs'],
    dimension: 'country',
    firstDate,
    lastDate,
  }),
  'country',
);

// metrics.json maps "date" and "date|country" keys to records; newer runs overwrite.
const store = JSON.parse(await readFile('metrics.json', 'utf8').catch(() => '{}'));
for (const r of totals) store[r.date] = r;
for (const r of byCountry) store[`${r.date}|${r.country}`] = r;
await writeFile('metrics.json', JSON.stringify(store, null, 2));

console.log(`Saved ${totals.length} daily rows and ${byCountry.length} country rows`);

We ran this script against a mocked API to check the query string, pagination and parsing. We could not run it against a live publisher account, so log the first real response and confirm the field values match what you expect. The reference does not list the exact strings for countries, versions or install sources, so print the distinct dimensionValues once before filtering on them.

For production, swap the JSON file for a table keyed on date, dimension and value. Our posts on PostgreSQL time series and MongoDB time series collections show schemas that fit daily store metrics, and the Node.js cron job guide covers running it once a day, on time, with catch-up after downtime.

Quotas and limits to plan around

Google's reference does not list a quota, but a developer building a multi-publisher tool reported in the Chromium Extensions group on November 17, 2026 that the Cloud Console shows two limits for the API: "Item metrics read operations per day: 200" and 100 per minute. The daily value is marked adjustable, but the edit panel only accepts values up to 200, and a second developer replied that "200 / day is too low." There was no answer from Google as of November 29.

Two hundred calls go further than they sound if every call reads a range of days instead of one day:

  • One request per dimension, not per day. A seven-day window with country returns every country for every day in one call (up to 1,000 rows per page).
  • Budget the breakdowns you need. Totals plus country, app-version, os and install-type is five calls per extension per day. That covers 40 extensions within 200.
  • Paginate before you widen. Each nextPageToken is another call. A 90-day backfill by country can take several pages; run it once, not daily.
  • Expect some combinations to fail. An open-source tool that wraps the API notes in a pull request that "Google may reject some metric/dimension combinations with HTTP 400." If a mixed request fails, split the metrics into separate calls.

It is not documented whether the quota counts per Cloud project or per signed-in publisher. If you build a tool for other developers, assume per project until Google says otherwise.

What to do with the numbers

The API gives you the same data as the dashboard, but in a form you can join and alert on. Three uses pay off quickly:

  1. Install attribution. Page views by utm-source next to installs by utm-source gives a per-channel funnel, which the dashboard alone cannot show. Our Chrome Web Store conversion rate guide explains the math.
  2. Release health. users-7d by app-version shows how fast an update reaches users and whether uninstalls jump after a release. Pair it with the checks in what to watch after an extension release.
  3. Anomaly checks. Daily installs by country and install-type catch store-side noise early, such as the Chrome Web Store installs from Romania that inflated many small extensions from October 30, 2026.

What the analytics API does not cover

  • Other people's extensions. Every method is scoped to publishers/{publisher}/items/{item}, so you cannot read a competitor's installs. For public numbers on any listing, see our Chrome Web Store stats API guide, or use a Chrome extension stats tracker such as Extenify, which records the public users, rating and version of any extension on Chrome, Edge and Firefox every day and alerts you when they change. Plans are on the pricing page.
  • Reviews and ratings. Those come from two separate methods, fetchReviews and getRatingSummary, covered in our Chrome Web Store reviews API guide.
  • Google Analytics data. The store's optional Google Analytics 4 property is a separate source that you open in Google Analytics, as described in Google's Google Analytics integration guide.

Frequently asked questions

Is there a Chrome Web Store analytics API?

Yes. The Chrome Web Store API v2 has a queryMetrics method that returns daily installs, uninstalls, users, impressions and page views for items your publisher account owns. It accepts the read-only chromewebstore.readonly scope and works with OAuth clients and service accounts.

Can I get another extension's installs with the API?

No. queryMetrics is scoped to your own publisher and item. For other extensions, only the public listing data is available, such as the user count, rating and version shown on the store page.

How many dimensions can I request at once?

One. The reference says "at most one dimension can be specified." To break installs down by both country and version, make two requests and keep them as separate tables.

What is the queryMetrics quota?

Google's documentation does not state one. A developer reported in November 2026 that the Google Cloud Console shows 200 item metrics read operations per day and 100 per minute, with the daily limit capped at 200 in the edit panel.

Does queryMetrics replace the CSV export?

For automation, yes: it returns the same kinds of metrics and breakdowns in JSON, by day. The dashboard export is still useful for a one-off look, and for comparing the API's users-7d against the Weekly Users chart while you validate your pipeline.

Summary

The Chrome Web Store analytics API finally exists. queryMetrics returns seven daily metrics for your own items, sliced by one of twelve dimensions, with the read-only scope and the credentials you may already have. Read a trailing window every day and overwrite it, budget your calls against the 200-a-day quota developers are seeing, check users-7d against the dashboard before you rely on it, and use your own records or a tracker for anything outside your publisher account.

Image credits

Put every store in one dashboard tonight.

Sign in with Google, paste one store link, and your unified view is live in under a minute. Then 7 days of Pro free, no credit card required, and you never touch your app's code.

Start free trial