Page Views API is an open-source, developer-first API that lets you track page views with a single script – no setup, no dashboard, and no complexity. Built for modern web apps, it automatically tracks visits across pages and SPAs with minimal overhead.
No reviews yetBe the first to leave a review for Page Views API
Maker
📌
Hey PH! I'm Ratnesh – an indie builder 👋
I built this API because I kept seeing those small page view badges on portfolios and indie projects – and got curious how they actually work.
It turns out, it's not as simple as just incrementing a counter. Handling refreshes, duplicate views, and keeping things lightweight is trickier than it looks.
So I built Page Views API – a minimal, open-source way to track page views without dashboards or setup.
Just add one script, and it automatically tracks views (including SPAs). You can fetch the count anytime with a simple API.
Features:
- One-line script integration
- Automatic page & route tracking
- SPA support
- Time-based deduplication
- Lightweight and fast
If you've ever wanted a simple view counter without adding a full analytics stack, this might be useful!
Visit Documentation for more: page-views-api.ratneshc.com/docs/getting-started
Hope this helps you and do let me know your feedback and improvements!