{ "opencollection": "1.0.0", "info": { "name": "Pirsch Access Links Statistics API", "version": "1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Statistics", "type": "folder" }, "items": [ { "info": { "name": "Get total statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/total", "params": [ { "name": "id", "value": "", "type": "query", "description": "Domain ID" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" }, { "name": "tz", "value": "", "type": "query" }, { "name": "scale", "value": "", "type": "query" } ] }, "docs": "Get total visitors, views, sessions, and bounce data for a date range" }, { "info": { "name": "Get visitor statistics over time", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/visitor", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" }, { "name": "tz", "value": "", "type": "query" }, { "name": "scale", "value": "", "type": "query" } ] }, "docs": "Get visitors grouped by time scale" }, { "info": { "name": "Get page statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/page", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" }, { "name": "search", "value": "", "type": "query" }, { "name": "offset", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query" }, { "name": "sort", "value": "", "type": "query" }, { "name": "direction", "value": "", "type": "query" } ] }, "docs": "Get statistics broken down by page path" }, { "info": { "name": "Get hostname statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/hostname", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Get statistics broken down by hostname" }, { "info": { "name": "Get referrer statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/referrer", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" }, { "name": "offset", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query" } ] }, "docs": "Get statistics broken down by referrer" }, { "info": { "name": "Get traffic channel statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/channel", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Get statistics grouped by traffic channel" }, { "info": { "name": "Get UTM source statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/utm/source", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Get UTM source statistics" }, { "info": { "name": "Get UTM medium statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/utm/medium", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Get UTM medium statistics" }, { "info": { "name": "Get UTM campaign statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/utm/campaign", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Get UTM campaign statistics" }, { "info": { "name": "Get UTM content statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/utm/content", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Get UTM content statistics" }, { "info": { "name": "Get UTM term statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/utm/term", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Get UTM term statistics" }, { "info": { "name": "Get country statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/country", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Get country statistics" }, { "info": { "name": "Get region statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/region", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Get region statistics" }, { "info": { "name": "Get city statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/city", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Get city statistics" }, { "info": { "name": "Get language statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/language", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Get language statistics" }, { "info": { "name": "Get browser statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/browser", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Get browser statistics" }, { "info": { "name": "Get operating system statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/os", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Get operating system statistics" }, { "info": { "name": "Get platform statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/platform", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Get breakdown between desktop, mobile, and unknown platforms" }, { "info": { "name": "Get event list and statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/events", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Get list of tracked events with visitor counts and metadata keys" }, { "info": { "name": "Get conversion goal statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/goals", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Get statistics for all configured conversion goals" }, { "info": { "name": "Get funnel statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/funnel", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "funnel_id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Get step-by-step funnel analytics" }, { "info": { "name": "Get active visitors", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/active", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "start", "value": "", "type": "query", "description": "Number of seconds to consider a visitor active" } ] }, "docs": "Get current real-time active visitor count" }, { "info": { "name": "Get session list", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/session/list", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" }, { "name": "offset", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query" } ] }, "docs": "Get list of individual visitor sessions" }, { "info": { "name": "Get session details", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/session/details", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "visitor_id", "value": "", "type": "query" }, { "name": "session_id", "value": "", "type": "query" } ] }, "docs": "Get page-by-page breakdown of a single session" }, { "info": { "name": "Get growth statistics", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/growth", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Get growth rate metrics comparing the current period to the previous" }, { "info": { "name": "Get Google Search Console keywords", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics/keywords", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Get keyword data sourced from Google Search Console integration" }, { "info": { "name": "Export statistics as CSV", "type": "http" }, "http": { "method": "GET", "url": "https://api.pirsch.io/api/v1/statistics", "params": [ { "name": "id", "value": "", "type": "query" }, { "name": "from", "value": "", "type": "query" }, { "name": "to", "value": "", "type": "query" } ] }, "docs": "Download a ZIP archive of CSV exports for the selected date range" }, { "info": { "name": "Delete statistics", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.pirsch.io/api/v1/statistics", "body": { "type": "json", "data": "{}" } }, "docs": "Delete all or partial statistics for a domain" } ] } ], "bundled": true }