Realtime Analytics API
The NowMetrix REST API gives your systems live snapshots, traffic sources, overview metrics, chart data, and pacing data, so internal tools can react to what is happening now.
curl -H "Authorization: Bearer nm_YOUR_KEY" \ "https://api.nowmetrix.com/v1/realtime?site=TRACKER_ID"
{
"total_realtime": 1284,
"pageviews_30min": 18420,
"top_pages": [...],
"devices": {...},
"countries": [...],
"sources": [...]
}
Trusted by 150+ media brands and content teams
Endpoints
Active users, pageviews, top pages, devices, countries, and sources in one current view.
Current source breakdown with classification and UTM campaign data.
Daily pageviews and visits for the last completed days, from 1 to 30 days.
Historical chart data, summary metrics, and top pages for presets or custom ranges.
Today’s pace, a comparison with yesterday, and 15-minute intraday curves.
Session-based context showing the current tracker and trackers available to the user.
Use cases
Build custom TV screens or internal dashboards with live readers, top pages, and source mix.
Trigger internal workflows when a page crosses a live threshold or traffic source changes quickly.
Sync overview and chart data into BI tools, spreadsheets, or your own long-term reporting layer.
Bring NowMetrix signals into CMS widgets, author tools, newsletters, or subscriber workflows.
Authentication
Account admins can create API keys in the NowMetrix dashboard under Settings → API.
Include your key as a Bearer token in the Authorization header for every request.
Use the required site parameter with the tracker ID your API key is allowed to access.
Cache realtime responses for 10-30 seconds and overview responses for several minutes where possible.
REST API
Start with the realtime endpoint, then add sources, charts, overview, and pacing as your workflow grows.