# Public Web Analytics API now available

DevFeed: [Public Web Analytics API now available](<https://devfeed.tech/articles/public-web-analytics-api-now-available-1195.md>)

Original publisher: [Read original article](<https://vercel.com/changelog/web-analytics-api>)

Author: Damien Simonin Feugas

Published: 2026-05-18T00:00:00Z

Content type: release

Language: en

Sources: [Vercel News](<https://devfeed.tech/sources/vercel-news.md>)

Topics: [data](<https://devfeed.tech/topics/data.md>), [dashboards](<https://devfeed.tech/topics/dashboards.md>)

Tags: [analytics](<https://devfeed.tech/tags/analytics.md>), [api](<https://devfeed.tech/tags/api.md>), [data](<https://devfeed.tech/tags/data.md>), [events](<https://devfeed.tech/tags/events.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [vercel](<https://devfeed.tech/tags/vercel.md>), [web](<https://devfeed.tech/tags/web.md>)

## AI overview

Vercel has made its Web Analytics API publicly available, providing programmatic access to page views, visitors, and custom events. It supports counts, grouped aggregates, OData filters, and forwarding raw event streams with Drains.

## Source excerpt

The Web Analytics API is now publicly available, with programmatic access to page views, visitors, and custom events for your Vercel projects. The API reads from the same aggregated data model that powers the Web Analytics dashboard, so numbers from the API will match what your team sees in the UI. You can use it to build your own custom reports or to embed live traffic metrics in a customer-facing admin panel. Two resources are exposed: visits for automatically tracked page views and visitors events for custom events sent with track() Count endpoints return a single total; aggregate endpoints return rows grouped by time, route, country, referrer, device, feature flag, or custom event data. Filters use OData syntax, with by to group results. For example, to count visitors of a specific page, call visits/count with a requestPath filter: For raw, unaggregated event streams, forward analytics data to your own infrastructure with Drains. Read the Web Analytics API guide for authentication setup, full filter syntax, and response schemas. Read more