I’m building a dashboard app for my clients to track their website stats in one place. Currently, there’s no way to programmatically fetch Web Analytics data via the REST API.
What I need
A simple REST API endpoint to retrieve basic analytics metrics:
Total pageviews
Unique visitors
Top pages
Traffic sources
Device/browser breakdown
Geographic data
Something like:
GET /v1/projects/{projectId}/analytics?from=timestamp&to=timestamp
Current workaround
Right now, the only option is using Web Analytics Drains to stream events to my own endpoint and store everything in my database. While this works, it’s overkill for my use case and adds unnecessary infrastructure complexity.
Why this matters
I manage multiple client websites, and they want a unified dashboard to see their stats without logging into Vercel. An API endpoint would make this super straightforward.
I know Drains exist for real-time streaming, but sometimes you just need to pull aggregated data on-demand without maintaining your own analytics database.
Proposed solution
Add read-only analytics endpoints similar to what’s available in the Vercel dashboard:
Daily/weekly/monthly aggregations
Configurable date ranges
Optional filters (path, country, device, etc.)
Rate limiting to prevent abuse
Would love to hear if this is on the roadmap or if there’s an alternative approach I’m missing.
I’d love Web Analytics data to be available through the Vercel API, CLI, and MCP.
Right now vercel metrics exposes Observability/Speed Insights data, but I can’t query basic Web Analytics stats like pageviews, visitors, top pages, referrers, countries, devices, or browsers.
Main use case: letting agents/internal dashboards answer simple questions like “how much traffic did this project get today?” or “what were the top pages this week?” without needing to open the Vercel dashboard.
Read-only, project-scoped access would be perfect.
Hi , The vercel analytics that i had been using for past 5 months for suddenly seemed to have a issue.
My visitors count suddenly saw a drop , for example on date 25 april 2026 , it showed 100 visitors one hour ago , now when i view it again it is showing 20
I have screenshots but no place to contact vercel staff , please guide me on this