POST
/api/v1/collectIngest a pageview or an engagement ping. Body (text/plain or JSON): {"t":"pv","s":"hub","p":"/","r":"https://google.com","l":"en-US"} → 202.
Public, read-only analytics API plus the ingestion endpoint used by p.js. All responses are JSON and CORS-enabled.
/api/v1/collectIngest a pageview or an engagement ping. Body (text/plain or JSON): {"t":"pv","s":"hub","p":"/","r":"https://google.com","l":"en-US"} → 202.
/api/v1/sitesTracked sites with their 30-day pageviews.
Try it →/api/v1/stats?site=hub&range=30dTotals, period-over-period change, time series and breakdowns. range = today | 24h | 7d | 30d | 90d.
Try it →/api/v1/realtime?site=hubVisitors and pageviews in the last 5 minutes and the latest events.
Try it →/api/v1/export.csv?site=all&range=7dTime series as CSV.
Try it →/api/healthLiveness probe.
Try it →curl -X POST https://pulse.fabiancollado.net/api/v1/collect \
-H 'Content-Type: text/plain' \
-d '{"t":"pv","s":"hub","p":"/pricing","r":"https://news.ycombinator.com"}'