{"info":{"_postman_id":"a46bc8d7-7c9e-4839-9591-175431919191","name":"Analystra API","description":"<html><head></head><body><p>Postman collection for Analystra real-time analytics API.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"2131179","collectionId":"a46bc8d7-7c9e-4839-9591-175431919191","publishedId":"2sB3Wk14Bs","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"00e599"},"publishDate":"2025-10-26T05:13:03.000Z"},"item":[{"name":"Online Visitors","item":[{"name":"Get Online Visitors","id":"b6caacab-bd17-496c-9416-f0d531202b21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-secret","value":"YOUR_API_SECRET"}],"url":"https://analystra.app/api/v1/online?siteId=YOUR_SITE_ID","description":"<p>Fetch a list of visitors currently online for your site. Includes visitor count, IP, and page info.</p>\n","urlObject":{"path":["online"],"host":["https://analystra.app/api/v1"],"query":[{"key":"siteId","value":"YOUR_SITE_ID"},{"disabled":true,"key":"hostname","value":"example.com"}],"variable":[]}},"response":[],"_postman_id":"b6caacab-bd17-496c-9416-f0d531202b21"},{"name":"Get Per-Page Visitors","id":"adadb14e-40a2-4a3b-a46a-55eeef5015ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-secret","value":"YOUR_API_SECRET"}],"url":"https://analystra.app/api/v1/online/pages?siteId=YOUR_SITE_ID&limit=10","description":"<p>Retrieve visitor metrics broken down by each page, with the ability to limit results.</p>\n","urlObject":{"path":["online","pages"],"host":["https://analystra.app/api/v1"],"query":[{"key":"siteId","value":"YOUR_SITE_ID"},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"adadb14e-40a2-4a3b-a46a-55eeef5015ac"}],"id":"58ac198d-98ab-46fb-8a58-008cd4777461","_postman_id":"58ac198d-98ab-46fb-8a58-008cd4777461","description":""},{"name":"Analytics","item":[{"name":"Get Site Analytics","id":"a51f5625-476c-405e-939a-8de8096ac0e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-secret","value":"YOUR_API_SECRET"}],"url":"https://analystra.app/api/v1/sites/YOUR_SITE_ID/analytics?startDate=2025-01-01&endDate=2025-01-31","description":"<p>Retrieve comprehensive analytics data for a site over a specified date range, including page views, sessions, and user engagement metrics.</p>\n","urlObject":{"path":["sites","YOUR_SITE_ID","analytics"],"host":["https://analystra.app/api/v1"],"query":[{"key":"startDate","value":"2025-01-01"},{"key":"endDate","value":"2025-01-31"}],"variable":[]}},"response":[],"_postman_id":"a51f5625-476c-405e-939a-8de8096ac0e2"}],"id":"09767919-ab8c-4f46-a13f-f62ba207a3c1","_postman_id":"09767919-ab8c-4f46-a13f-f62ba207a3c1","description":""},{"name":"Events","item":[{"name":"Get Events","id":"6ba55ba5-b53c-4959-b562-66835bb4d3ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-secret","value":"YOUR_API_SECRET"}],"url":"https://analystra.app/api/v1/sites/YOUR_SITE_ID/events?page=1&limit=50&type=VIEW","description":"<p>Fetch a list of tracked events for a site, filtered by type (e.g., VIEW, CLICK), with pagination support.</p>\n","urlObject":{"path":["sites","YOUR_SITE_ID","events"],"host":["https://analystra.app/api/v1"],"query":[{"key":"page","value":"1"},{"key":"limit","value":"50"},{"key":"type","value":"VIEW"}],"variable":[]}},"response":[],"_postman_id":"6ba55ba5-b53c-4959-b562-66835bb4d3ab"}],"id":"16fa7088-194b-4e9b-bca2-4615866be270","_postman_id":"16fa7088-194b-4e9b-bca2-4615866be270","description":""},{"name":"Export","item":[{"name":"Export Data","id":"f57ad61e-31b2-4cc2-aa53-d4e3cd126936","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-secret","value":"YOUR_API_SECRET"}],"url":"https://analystra.app/api/v1/sites/YOUR_SITE_ID/export?format=json&type=events&limit=10000","description":"<p>Export site data in JSON format. Supports filtering by event type and limiting the number of records.</p>\n","urlObject":{"path":["sites","YOUR_SITE_ID","export"],"host":["https://analystra.app/api/v1"],"query":[{"key":"format","value":"json"},{"key":"type","value":"events"},{"key":"limit","value":"10000"}],"variable":[]}},"response":[],"_postman_id":"f57ad61e-31b2-4cc2-aa53-d4e3cd126936"}],"id":"b820b059-ab79-4616-ae62-56216b6cdcba","_postman_id":"b820b059-ab79-4616-ae62-56216b6cdcba","description":""},{"name":"Usage","item":[{"name":"Get Usage Stats","id":"2a6c1c69-a4d7-4c7a-9014-84a36d4a4841","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-api-secret","value":"YOUR_API_SECRET"}],"url":"https://analystra.app/api/v1/sites/YOUR_SITE_ID/usage","description":"<p>Retrieve usage statistics for your site, including API request counts and quota information.</p>\n","urlObject":{"path":["sites","YOUR_SITE_ID","usage"],"host":["https://analystra.app/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a6c1c69-a4d7-4c7a-9014-84a36d4a4841"}],"id":"c8cbe567-57a8-4fcb-a683-fc5e08f84581","_postman_id":"c8cbe567-57a8-4fcb-a683-fc5e08f84581","description":""}],"event":[{"listen":"prerequest","script":{"id":"0e670550-7cdd-408e-be8d-70bdb2a2eafd","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"69d8f890-4220-43f1-a6a4-37b0e600c93b","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://analystra.app/api/v1"},{"key":"apiSecret","value":"YOUR_API_SECRET"},{"key":"siteId","value":"YOUR_SITE_ID"}]}