Pirsch Analytics MCP by usefulapi
Server Details
Read Pirsch web analytics: visitors, pages, referrers, UTM, events, funnels and sessions.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP ยท MCP 2025-06-18
- URL
- Repository
- m190/usefulapi-mcp
- GitHub Stars
- 0
TDQS
Score is being calculated.
Available Tools
27 toolspirsch_get_active_visitorsGet active visitorsRead-onlyInspect
Visitors on the site right now (or in the past n seconds), with the pages they are on and their countries. GET /api/v1/statistics/active.
| Name | Required | Description | Default |
|---|---|---|---|
| start | No | Look back this many seconds, 1-3600 (default 600 = 10 minutes). | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. |
pirsch_get_domainGet domainRead-onlyInspect
One Pirsch dashboard (domain) by id, with its time zone, hostname, role and subscription state. GET /api/v1/domain?id=.
| Name | Required | Description | Default |
|---|---|---|---|
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. |
pirsch_get_durationGet time spentRead-onlyInspect
Average session duration over time, or average time on page over time, in seconds. GET /api/v1/statistics/duration/session or /duration/page.
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Operating system. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| tag | No | Tag key to filter for. | |
| city | No | City name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| kind | Yes | session = average session duration, page = average time on page. | |
| path | No | Page path, for example /pricing. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| tags | No | Tag key/value pairs; only results with all pairs match. | |
| event | No | Event name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| scale | No | Group results by day (default), week, month or year. | |
| browser | No | Browser. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| channel | No | Traffic channel such as "Paid Search" or "Organic Search". Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| country | No | ISO 3166 alpha-2 country code such as jp. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| pattern | No | Regular expression that filters and groups pages, for example (?i)^/blog/[^/]+$. | |
| hostname | No | Hostname (useful for rollup views). Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| language | No | ISO 639-1 language code such as en. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| platform | No | Platform. | |
| referrer | No | Referrer, usually a URL. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_term | No | UTM term. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. | |
| exit_path | No | Exit page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| entry_path | No | Entry page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| event_meta | No | Event metadata key/value pairs; only events with all pairs match. | |
| utm_medium | No | UTM medium. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_source | No | UTM source. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_content | No | UTM content. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| screen_class | No | Screen class XXL, XL, L, M or S. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_campaign | No | UTM campaign. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| referrer_name | No | Referrer name, usually the hostname. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). |
pirsch_get_event_breakdownGet event metadata breakdownRead-onlyInspect
The values of one metadata key of one event, with count, visitors and conversion rate. Both event and event_meta_key are required. GET /api/v1/statistics/event/meta.
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| sort | No | Field to sort by, for example visitors, views, sessions or bounce_rate. | |
| event | Yes | Event name. | |
| limit | No | Results per page, 1-100 (default 25). | |
| offset | No | Results to skip (default 0). Pass the previous reply's next_offset. | |
| search | No | Only rows whose main field contains this text. | |
| direction | No | Sort direction. | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. | |
| event_meta_key | Yes | Metadata key to break down. |
pirsch_get_funnelGet funnel statisticsRead-onlyInspect
Visitors per funnel step for a period: visitors, share of the first step, drop-off between steps. The filter applies to the first step. GET /api/v1/statistics/funnel.
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Operating system. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| tag | No | Tag key to filter for. | |
| city | No | City name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| path | No | Page path, for example /pricing. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| tags | No | Tag key/value pairs; only results with all pairs match. | |
| event | No | Event name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| browser | No | Browser. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| channel | No | Traffic channel such as "Paid Search" or "Organic Search". Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| country | No | ISO 3166 alpha-2 country code such as jp. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| pattern | No | Regular expression that filters and groups pages, for example (?i)^/blog/[^/]+$. | |
| hostname | No | Hostname (useful for rollup views). Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| language | No | ISO 639-1 language code such as en. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| platform | No | Platform. | |
| referrer | No | Referrer, usually a URL. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_term | No | UTM term. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. | |
| exit_path | No | Exit page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| funnel_id | Yes | Funnel id from pirsch_list_funnels. | |
| entry_path | No | Entry page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| event_meta | No | Event metadata key/value pairs; only events with all pairs match. | |
| utm_medium | No | UTM medium. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_source | No | UTM source. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_content | No | UTM content. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| screen_class | No | Screen class XXL, XL, L, M or S. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_campaign | No | UTM campaign. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| referrer_name | No | Referrer name, usually the hostname. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). |
pirsch_get_growthGet growth ratesRead-onlyInspect
Growth of visitors, views, sessions, bounces, time spent and conversion rate compared with the previous period of the same length. GET /api/v1/statistics/growth.
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Operating system. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| tag | No | Tag key to filter for. | |
| city | No | City name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| path | No | Page path, for example /pricing. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| tags | No | Tag key/value pairs; only results with all pairs match. | |
| event | No | Event name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| browser | No | Browser. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| channel | No | Traffic channel such as "Paid Search" or "Organic Search". Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| country | No | ISO 3166 alpha-2 country code such as jp. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| pattern | No | Regular expression that filters and groups pages, for example (?i)^/blog/[^/]+$. | |
| hostname | No | Hostname (useful for rollup views). Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| language | No | ISO 639-1 language code such as en. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| platform | No | Platform. | |
| referrer | No | Referrer, usually a URL. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_term | No | UTM term. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. | |
| exit_path | No | Exit page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| entry_path | No | Entry page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| event_meta | No | Event metadata key/value pairs; only events with all pairs match. | |
| utm_medium | No | UTM medium. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_source | No | UTM source. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_content | No | UTM content. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| screen_class | No | Screen class XXL, XL, L, M or S. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_campaign | No | UTM campaign. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| referrer_name | No | Referrer name, usually the hostname. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). |
pirsch_get_overviewGet overviewRead-onlyInspect
Quick overview of a dashboard: visitors, views, growth compared with the previous period, a visitors time series and the number of team members. Cached by Pirsch; takes no date range or filters. GET /api/v1/statistics/overview.
| Name | Required | Description | Default |
|---|---|---|---|
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. |
pirsch_get_platformsGet platform splitRead-onlyInspect
Visitors on desktop, mobile and unknown platforms, as counts and shares. GET /api/v1/statistics/platform.
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Operating system. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| tag | No | Tag key to filter for. | |
| city | No | City name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| path | No | Page path, for example /pricing. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| tags | No | Tag key/value pairs; only results with all pairs match. | |
| event | No | Event name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| browser | No | Browser. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| channel | No | Traffic channel such as "Paid Search" or "Organic Search". Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| country | No | ISO 3166 alpha-2 country code such as jp. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| pattern | No | Regular expression that filters and groups pages, for example (?i)^/blog/[^/]+$. | |
| hostname | No | Hostname (useful for rollup views). Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| language | No | ISO 639-1 language code such as en. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| platform | No | Platform. | |
| referrer | No | Referrer, usually a URL. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_term | No | UTM term. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. | |
| exit_path | No | Exit page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| entry_path | No | Entry page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| event_meta | No | Event metadata key/value pairs; only events with all pairs match. | |
| utm_medium | No | UTM medium. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_source | No | UTM source. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_content | No | UTM content. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| screen_class | No | Screen class XXL, XL, L, M or S. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_campaign | No | UTM campaign. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| referrer_name | No | Referrer name, usually the hostname. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). |
pirsch_get_sessionGet session detailsRead-onlyInspect
All page views and events of one session in time order. Both ids come from pirsch_list_sessions. GET /api/v1/statistics/session/details.
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. | |
| session_id | Yes | session_id from pirsch_list_sessions. | |
| visitor_id | Yes | visitor_id from pirsch_list_sessions. |
pirsch_get_tag_breakdownGet tag breakdownRead-onlyInspect
The values of one tag key with views and share. The tag filter (the key) is required. GET /api/v1/statistics/tag/details.
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| tag | Yes | Tag key to break down. | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| sort | No | Field to sort by, for example visitors, views, sessions or bounce_rate. | |
| limit | No | Results per page, 1-100 (default 25). | |
| offset | No | Results to skip (default 0). Pass the previous reply's next_offset. | |
| search | No | Only rows whose main field contains this text. | |
| direction | No | Sort direction. | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. |
pirsch_get_time_distributionGet visitors by timeRead-onlyInspect
Visitors by hour of the day, by minute (only when from and to are the same day), or by weekday and hour (Monday is 0). Shows when traffic peaks. GET /api/v1/statistics/hours, /minutes or /weekdays.
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | hour = per hour of day, minute = per minute (needs a one-day range), weekday = weekday and hour. | |
| os | No | Operating system. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| tag | No | Tag key to filter for. | |
| city | No | City name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| path | No | Page path, for example /pricing. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| tags | No | Tag key/value pairs; only results with all pairs match. | |
| event | No | Event name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| browser | No | Browser. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| channel | No | Traffic channel such as "Paid Search" or "Organic Search". Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| country | No | ISO 3166 alpha-2 country code such as jp. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| pattern | No | Regular expression that filters and groups pages, for example (?i)^/blog/[^/]+$. | |
| hostname | No | Hostname (useful for rollup views). Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| language | No | ISO 639-1 language code such as en. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| platform | No | Platform. | |
| referrer | No | Referrer, usually a URL. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_term | No | UTM term. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. | |
| exit_path | No | Exit page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| entry_path | No | Entry page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| event_meta | No | Event metadata key/value pairs; only events with all pairs match. | |
| utm_medium | No | UTM medium. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_source | No | UTM source. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_content | No | UTM content. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| screen_class | No | Screen class XXL, XL, L, M or S. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_campaign | No | UTM campaign. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| referrer_name | No | Referrer name, usually the hostname. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). |
pirsch_get_totalsGet total visitorsRead-onlyInspect
Totals for a period: visitors, views, sessions, bounces, bounce rate and conversion rate. Not grouped by day, so returning visitors are counted once. GET /api/v1/statistics/total.
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Operating system. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| tag | No | Tag key to filter for. | |
| city | No | City name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| path | No | Page path, for example /pricing. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| tags | No | Tag key/value pairs; only results with all pairs match. | |
| event | No | Event name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| browser | No | Browser. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| channel | No | Traffic channel such as "Paid Search" or "Organic Search". Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| country | No | ISO 3166 alpha-2 country code such as jp. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| pattern | No | Regular expression that filters and groups pages, for example (?i)^/blog/[^/]+$. | |
| hostname | No | Hostname (useful for rollup views). Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| language | No | ISO 639-1 language code such as en. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| platform | No | Platform. | |
| referrer | No | Referrer, usually a URL. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_term | No | UTM term. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. | |
| exit_path | No | Exit page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| entry_path | No | Entry page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| event_meta | No | Event metadata key/value pairs; only events with all pairs match. | |
| utm_medium | No | UTM medium. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_source | No | UTM source. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_content | No | UTM content. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| screen_class | No | Screen class XXL, XL, L, M or S. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_campaign | No | UTM campaign. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| referrer_name | No | Referrer name, usually the hostname. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). |
pirsch_get_visitors_time_seriesGet visitors time seriesRead-onlyInspect
Visitors, views, sessions, bounces and bounce rate per day, week, month or year (see scale). Use it for traffic charts and trends. GET /api/v1/statistics/visitor.
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Operating system. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| tag | No | Tag key to filter for. | |
| city | No | City name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| path | No | Page path, for example /pricing. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| tags | No | Tag key/value pairs; only results with all pairs match. | |
| event | No | Event name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| scale | No | Group results by day (default), week, month or year. | |
| browser | No | Browser. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| channel | No | Traffic channel such as "Paid Search" or "Organic Search". Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| country | No | ISO 3166 alpha-2 country code such as jp. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| pattern | No | Regular expression that filters and groups pages, for example (?i)^/blog/[^/]+$. | |
| hostname | No | Hostname (useful for rollup views). Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| language | No | ISO 639-1 language code such as en. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| platform | No | Platform. | |
| referrer | No | Referrer, usually a URL. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_term | No | UTM term. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. | |
| exit_path | No | Exit page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| entry_path | No | Entry page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| event_meta | No | Event metadata key/value pairs; only events with all pairs match. | |
| utm_medium | No | UTM medium. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_source | No | UTM source. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_content | No | UTM content. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| screen_class | No | Screen class XXL, XL, L, M or S. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_campaign | No | UTM campaign. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| referrer_name | No | Referrer name, usually the hostname. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). |
pirsch_list_devicesList browsers, operating systems and screensRead-onlyInspect
Visitors per browser, browser version, operating system or screen class (XXL to S). Filters narrow the data (for example country=de, path=~blog). Results are rows with visitors, views, sessions, bounces and relative shares. GET /api/v1/statistics/browser, /browser/version, /os or /screen.
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Operating system. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| tag | No | Tag key to filter for. | |
| city | No | City name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| path | No | Page path, for example /pricing. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| sort | No | Field to sort by, for example visitors, views, sessions or bounce_rate. | |
| tags | No | Tag key/value pairs; only results with all pairs match. | |
| event | No | Event name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| limit | No | Results per page, 1-100 (default 25). | |
| offset | No | Results to skip (default 0). Pass the previous reply's next_offset. | |
| search | No | Only rows whose main field contains this text. | |
| browser | No | Browser. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| channel | No | Traffic channel such as "Paid Search" or "Organic Search". Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| country | No | ISO 3166 alpha-2 country code such as jp. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| pattern | No | Regular expression that filters and groups pages, for example (?i)^/blog/[^/]+$. | |
| hostname | No | Hostname (useful for rollup views). Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| language | No | ISO 639-1 language code such as en. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| platform | No | Platform. | |
| referrer | No | Referrer, usually a URL. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_term | No | UTM term. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| dimension | Yes | Which breakdown. | |
| direction | No | Sort direction. | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. | |
| exit_path | No | Exit page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| entry_path | No | Entry page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| event_meta | No | Event metadata key/value pairs; only events with all pairs match. | |
| utm_medium | No | UTM medium. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_source | No | UTM source. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_content | No | UTM content. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| screen_class | No | Screen class XXL, XL, L, M or S. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_campaign | No | UTM campaign. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| referrer_name | No | Referrer name, usually the hostname. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). |
pirsch_list_domainsList domains (dashboards)Read-onlyInspect
List the Pirsch dashboards (domains) the OAuth client can read: id, hostname, display name, time zone and role. Use the id as domain_id in every other tool. A dashboard-level client sees one domain; an account-level client sees all. GET /api/v1/domain.
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Only domains whose hostname contains this text. |
pirsch_list_event_pagesList pages of an eventRead-onlyInspect
The pages on which an event was triggered, with visitors and views. The event name is required. GET /api/v1/statistics/event/page.
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| sort | No | Field to sort by, for example visitors, views, sessions or bounce_rate. | |
| event | Yes | Event name. | |
| limit | No | Results per page, 1-100 (default 25). | |
| offset | No | Results to skip (default 0). Pass the previous reply's next_offset. | |
| search | No | Only rows whose main field contains this text. | |
| direction | No | Sort direction. | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. |
pirsch_list_eventsList eventsRead-onlyInspect
Custom events with count, visitors, views, conversion rate, average duration and their metadata keys. Use pirsch_get_event_breakdown for the values of one metadata key. GET /api/v1/statistics/events.
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Operating system. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| tag | No | Tag key to filter for. | |
| city | No | City name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| path | No | Page path, for example /pricing. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| sort | No | Field to sort by, for example visitors, views, sessions or bounce_rate. | |
| tags | No | Tag key/value pairs; only results with all pairs match. | |
| event | No | Event name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| limit | No | Results per page, 1-100 (default 25). | |
| offset | No | Results to skip (default 0). Pass the previous reply's next_offset. | |
| search | No | Only rows whose main field contains this text. | |
| browser | No | Browser. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| channel | No | Traffic channel such as "Paid Search" or "Organic Search". Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| country | No | ISO 3166 alpha-2 country code such as jp. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| pattern | No | Regular expression that filters and groups pages, for example (?i)^/blog/[^/]+$. | |
| hostname | No | Hostname (useful for rollup views). Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| language | No | ISO 639-1 language code such as en. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| platform | No | Platform. | |
| referrer | No | Referrer, usually a URL. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_term | No | UTM term. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| direction | No | Sort direction. | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. | |
| exit_path | No | Exit page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| entry_path | No | Entry page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| event_meta | No | Event metadata key/value pairs; only events with all pairs match. | |
| utm_medium | No | UTM medium. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_source | No | UTM source. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_content | No | UTM content. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| screen_class | No | Screen class XXL, XL, L, M or S. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_campaign | No | UTM campaign. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| referrer_name | No | Referrer name, usually the hostname. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). |
pirsch_list_filter_valuesList filter valuesRead-onlyInspect
The values that exist for a filter in a period, such as all page paths, referrers, countries, browsers or event names. Use it to find valid values before filtering. GET /api/v1/statistics/options/{dimension}.
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| search | No | Only values that contain this text. | |
| dimension | Yes | Which filter to list values for. | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. |
pirsch_list_funnelsList funnelsRead-onlyInspect
The funnels defined for a dashboard, with their steps and step filters. Use a funnel id in pirsch_get_funnel. GET /api/v1/funnel.
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Only funnels whose name contains this text. | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. |
pirsch_list_geographyList countries, regions, cities and languagesRead-onlyInspect
Visitors per country, region, city or language. Filters narrow the data (for example country=de, path=~blog). Results are rows with visitors, views, sessions, bounces and relative shares. GET /api/v1/statistics/country, /region, /city or /language.
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Operating system. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| tag | No | Tag key to filter for. | |
| city | No | City name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| path | No | Page path, for example /pricing. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| sort | No | Field to sort by, for example visitors, views, sessions or bounce_rate. | |
| tags | No | Tag key/value pairs; only results with all pairs match. | |
| event | No | Event name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| limit | No | Results per page, 1-100 (default 25). | |
| offset | No | Results to skip (default 0). Pass the previous reply's next_offset. | |
| search | No | Only rows whose main field contains this text. | |
| browser | No | Browser. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| channel | No | Traffic channel such as "Paid Search" or "Organic Search". Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| country | No | ISO 3166 alpha-2 country code such as jp. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| pattern | No | Regular expression that filters and groups pages, for example (?i)^/blog/[^/]+$. | |
| hostname | No | Hostname (useful for rollup views). Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| language | No | ISO 639-1 language code such as en. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| platform | No | Platform. | |
| referrer | No | Referrer, usually a URL. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_term | No | UTM term. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| dimension | Yes | Which breakdown. | |
| direction | No | Sort direction. | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. | |
| exit_path | No | Exit page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| entry_path | No | Entry page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| event_meta | No | Event metadata key/value pairs; only events with all pairs match. | |
| utm_medium | No | UTM medium. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_source | No | UTM source. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_content | No | UTM content. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| screen_class | No | Screen class XXL, XL, L, M or S. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_campaign | No | UTM campaign. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| referrer_name | No | Referrer name, usually the hostname. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). |
pirsch_list_goalsList conversion goalsRead-onlyInspect
Conversion goals with their definition (page pattern, event, targets) and the visitors, views and conversion rate for the period. GET /api/v1/statistics/goals.
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Operating system. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| tag | No | Tag key to filter for. | |
| city | No | City name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| path | No | Page path, for example /pricing. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| sort | No | Field to sort by, for example visitors, views, sessions or bounce_rate. | |
| tags | No | Tag key/value pairs; only results with all pairs match. | |
| event | No | Event name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| limit | No | Results per page, 1-100 (default 25). | |
| offset | No | Results to skip (default 0). Pass the previous reply's next_offset. | |
| search | No | Only rows whose main field contains this text. | |
| browser | No | Browser. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| channel | No | Traffic channel such as "Paid Search" or "Organic Search". Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| country | No | ISO 3166 alpha-2 country code such as jp. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| pattern | No | Regular expression that filters and groups pages, for example (?i)^/blog/[^/]+$. | |
| hostname | No | Hostname (useful for rollup views). Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| language | No | ISO 639-1 language code such as en. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| platform | No | Platform. | |
| referrer | No | Referrer, usually a URL. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_term | No | UTM term. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| direction | No | Sort direction. | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. | |
| exit_path | No | Exit page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| entry_path | No | Entry page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| event_meta | No | Event metadata key/value pairs; only events with all pairs match. | |
| utm_medium | No | UTM medium. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_source | No | UTM source. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_content | No | UTM content. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| screen_class | No | Screen class XXL, XL, L, M or S. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_campaign | No | UTM campaign. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| referrer_name | No | Referrer name, usually the hostname. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). |
pirsch_list_hostnamesList hostnamesRead-onlyInspect
Traffic per hostname. Mostly useful for rollup views that combine several hostnames. GET /api/v1/statistics/hostname.
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Operating system. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| tag | No | Tag key to filter for. | |
| city | No | City name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| path | No | Page path, for example /pricing. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| sort | No | Field to sort by, for example visitors, views, sessions or bounce_rate. | |
| tags | No | Tag key/value pairs; only results with all pairs match. | |
| event | No | Event name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| limit | No | Results per page, 1-100 (default 25). | |
| offset | No | Results to skip (default 0). Pass the previous reply's next_offset. | |
| search | No | Only rows whose main field contains this text. | |
| browser | No | Browser. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| channel | No | Traffic channel such as "Paid Search" or "Organic Search". Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| country | No | ISO 3166 alpha-2 country code such as jp. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| pattern | No | Regular expression that filters and groups pages, for example (?i)^/blog/[^/]+$. | |
| hostname | No | Hostname (useful for rollup views). Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| language | No | ISO 639-1 language code such as en. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| platform | No | Platform. | |
| referrer | No | Referrer, usually a URL. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_term | No | UTM term. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| direction | No | Sort direction. | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. | |
| exit_path | No | Exit page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| entry_path | No | Entry page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| event_meta | No | Event metadata key/value pairs; only events with all pairs match. | |
| utm_medium | No | UTM medium. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_source | No | UTM source. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_content | No | UTM content. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| screen_class | No | Screen class XXL, XL, L, M or S. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_campaign | No | UTM campaign. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| referrer_name | No | Referrer name, usually the hostname. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). |
pirsch_list_pagesList pagesRead-onlyInspect
Top pages with visitors, views, sessions, bounces, bounce rate and average time on page. type=entry lists landing pages, type=exit lists exit pages. Filters narrow the data (for example country=de, path=~blog). Results are rows with visitors, views, sessions, bounces and relative shares. GET /api/v1/statistics/page, /page/entry or /page/exit.
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Operating system. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| tag | No | Tag key to filter for. | |
| city | No | City name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| path | No | Page path, for example /pricing. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| sort | No | Field to sort by, for example visitors, views, sessions or bounce_rate. | |
| tags | No | Tag key/value pairs; only results with all pairs match. | |
| type | No | all (default), entry or exit pages. | |
| event | No | Event name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| limit | No | Results per page, 1-100 (default 25). | |
| offset | No | Results to skip (default 0). Pass the previous reply's next_offset. | |
| search | No | Only rows whose main field contains this text. | |
| browser | No | Browser. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| channel | No | Traffic channel such as "Paid Search" or "Organic Search". Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| country | No | ISO 3166 alpha-2 country code such as jp. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| pattern | No | Regular expression that filters and groups pages, for example (?i)^/blog/[^/]+$. | |
| hostname | No | Hostname (useful for rollup views). Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| language | No | ISO 639-1 language code such as en. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| platform | No | Platform. | |
| referrer | No | Referrer, usually a URL. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_term | No | UTM term. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| direction | No | Sort direction. | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. | |
| exit_path | No | Exit page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| entry_path | No | Entry page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| event_meta | No | Event metadata key/value pairs; only events with all pairs match. | |
| utm_medium | No | UTM medium. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_source | No | UTM source. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_content | No | UTM content. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| screen_class | No | Screen class XXL, XL, L, M or S. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_campaign | No | UTM campaign. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| include_title | No | Group by title and path instead of path only. | |
| referrer_name | No | Referrer name, usually the hostname. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). |
pirsch_list_referrersList referrersRead-onlyInspect
Where visitors come from: referrers (by=referrer) or traffic channels such as Organic Search and Paid Search (by=channel). Filters narrow the data (for example country=de, path=~blog). Results are rows with visitors, views, sessions, bounces and relative shares. GET /api/v1/statistics/referrer or /channel.
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | referrer (default) or channel. | |
| os | No | Operating system. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| tag | No | Tag key to filter for. | |
| city | No | City name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| path | No | Page path, for example /pricing. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| sort | No | Field to sort by, for example visitors, views, sessions or bounce_rate. | |
| tags | No | Tag key/value pairs; only results with all pairs match. | |
| event | No | Event name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| limit | No | Results per page, 1-100 (default 25). | |
| offset | No | Results to skip (default 0). Pass the previous reply's next_offset. | |
| search | No | Only rows whose main field contains this text. | |
| browser | No | Browser. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| channel | No | Traffic channel such as "Paid Search" or "Organic Search". Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| country | No | ISO 3166 alpha-2 country code such as jp. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| pattern | No | Regular expression that filters and groups pages, for example (?i)^/blog/[^/]+$. | |
| hostname | No | Hostname (useful for rollup views). Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| language | No | ISO 639-1 language code such as en. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| platform | No | Platform. | |
| referrer | No | Referrer, usually a URL. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_term | No | UTM term. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| direction | No | Sort direction. | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. | |
| exit_path | No | Exit page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| entry_path | No | Entry page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| event_meta | No | Event metadata key/value pairs; only events with all pairs match. | |
| utm_medium | No | UTM medium. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_source | No | UTM source. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_content | No | UTM content. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| screen_class | No | Screen class XXL, XL, L, M or S. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_campaign | No | UTM campaign. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| referrer_name | No | Referrer name, usually the hostname. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). |
pirsch_list_sessionsList sessionsRead-onlyInspect
Individual visitor sessions: start, duration, entry and exit page, page views, bounce, country, city, referrer, browser, OS and UTM data. visitor_id is a string (a 64-bit number). Use pirsch_get_session for one session's page views and events. GET /api/v1/statistics/session/list.
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Operating system. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| tag | No | Tag key to filter for. | |
| city | No | City name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| path | No | Page path, for example /pricing. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| sort | No | Field to sort by, for example visitors, views, sessions or bounce_rate. | |
| tags | No | Tag key/value pairs; only results with all pairs match. | |
| event | No | Event name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| limit | No | Results per page, 1-100 (default 25). | |
| offset | No | Results to skip (default 0). Pass the previous reply's next_offset. | |
| search | No | Only rows whose main field contains this text. | |
| browser | No | Browser. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| channel | No | Traffic channel such as "Paid Search" or "Organic Search". Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| country | No | ISO 3166 alpha-2 country code such as jp. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| pattern | No | Regular expression that filters and groups pages, for example (?i)^/blog/[^/]+$. | |
| hostname | No | Hostname (useful for rollup views). Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| language | No | ISO 639-1 language code such as en. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| platform | No | Platform. | |
| referrer | No | Referrer, usually a URL. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_term | No | UTM term. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| direction | No | Sort direction. | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. | |
| exit_path | No | Exit page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| entry_path | No | Entry page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| event_meta | No | Event metadata key/value pairs; only events with all pairs match. | |
| utm_medium | No | UTM medium. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_source | No | UTM source. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_content | No | UTM content. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| screen_class | No | Screen class XXL, XL, L, M or S. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_campaign | No | UTM campaign. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| referrer_name | No | Referrer name, usually the hostname. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). |
pirsch_list_tagsList tagsRead-onlyInspect
Tag keys with views and share. Use pirsch_get_tag_breakdown to see the values of one key. GET /api/v1/statistics/tags.
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Operating system. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| tag | No | Tag key to filter for. | |
| city | No | City name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| path | No | Page path, for example /pricing. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| sort | No | Field to sort by, for example visitors, views, sessions or bounce_rate. | |
| tags | No | Tag key/value pairs; only results with all pairs match. | |
| event | No | Event name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| limit | No | Results per page, 1-100 (default 25). | |
| offset | No | Results to skip (default 0). Pass the previous reply's next_offset. | |
| search | No | Only rows whose main field contains this text. | |
| browser | No | Browser. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| channel | No | Traffic channel such as "Paid Search" or "Organic Search". Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| country | No | ISO 3166 alpha-2 country code such as jp. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| pattern | No | Regular expression that filters and groups pages, for example (?i)^/blog/[^/]+$. | |
| hostname | No | Hostname (useful for rollup views). Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| language | No | ISO 639-1 language code such as en. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| platform | No | Platform. | |
| referrer | No | Referrer, usually a URL. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_term | No | UTM term. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| direction | No | Sort direction. | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. | |
| exit_path | No | Exit page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| entry_path | No | Entry page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| event_meta | No | Event metadata key/value pairs; only events with all pairs match. | |
| utm_medium | No | UTM medium. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_source | No | UTM source. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_content | No | UTM content. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| screen_class | No | Screen class XXL, XL, L, M or S. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_campaign | No | UTM campaign. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| referrer_name | No | Referrer name, usually the hostname. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). |
pirsch_list_utmList UTM parametersRead-onlyInspect
Visitors per UTM source, medium, campaign, content or term. Filters narrow the data (for example country=de, path=~blog). Results are rows with visitors, views, sessions, bounces and relative shares. GET /api/v1/statistics/utm/{dimension}.
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | Operating system. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| to | Yes | Last day, yyyy-mm-dd, whole day included. | |
| tz | No | IANA time zone such as Europe/Berlin. Default: the dashboard's time zone. | |
| tag | No | Tag key to filter for. | |
| city | No | City name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| from | Yes | First day, yyyy-mm-dd (in the dashboard time zone unless tz is set). | |
| path | No | Page path, for example /pricing. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| sort | No | Field to sort by, for example visitors, views, sessions or bounce_rate. | |
| tags | No | Tag key/value pairs; only results with all pairs match. | |
| event | No | Event name. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| limit | No | Results per page, 1-100 (default 25). | |
| offset | No | Results to skip (default 0). Pass the previous reply's next_offset. | |
| search | No | Only rows whose main field contains this text. | |
| browser | No | Browser. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| channel | No | Traffic channel such as "Paid Search" or "Organic Search". Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| country | No | ISO 3166 alpha-2 country code such as jp. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| pattern | No | Regular expression that filters and groups pages, for example (?i)^/blog/[^/]+$. | |
| hostname | No | Hostname (useful for rollup views). Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| language | No | ISO 639-1 language code such as en. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| platform | No | Platform. | |
| referrer | No | Referrer, usually a URL. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_term | No | UTM term. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| dimension | Yes | Which UTM parameter to break down. | |
| direction | No | Sort direction. | |
| domain_id | Yes | Pirsch domain (dashboard) id. Get it from pirsch_list_domains. | |
| exit_path | No | Exit page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| entry_path | No | Entry page path. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| event_meta | No | Event metadata key/value pairs; only events with all pairs match. | |
| utm_medium | No | UTM medium. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_source | No | UTM source. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_content | No | UTM content. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| screen_class | No | Screen class XXL, XL, L, M or S. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| utm_campaign | No | UTM campaign. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). | |
| referrer_name | No | Referrer name, usually the hostname. Optional filter. A value may start with ! (is not), ~ (contains) or ^ (does not contain). |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
27 tool updates
- First observed
pirsch_get_active_visitors - First observed
pirsch_get_domain - First observed
pirsch_get_duration - First observed
pirsch_get_event_breakdown - First observed
pirsch_get_funnel - First observed
pirsch_get_growth - First observed
pirsch_get_overview - First observed
pirsch_get_platforms - First observed
pirsch_get_session - First observed
pirsch_get_tag_breakdown - First observed
pirsch_get_time_distribution - First observed
pirsch_get_totals - First observed
pirsch_get_visitors_time_series - First observed
pirsch_list_devices - First observed
pirsch_list_domains - First observed
pirsch_list_event_pages - First observed
pirsch_list_events - First observed
pirsch_list_filter_values - First observed
pirsch_list_funnels - First observed
pirsch_list_geography - First observed
pirsch_list_goals - First observed
pirsch_list_hostnames - First observed
pirsch_list_pages - First observed
pirsch_list_referrers - First observed
pirsch_list_sessions - First observed
pirsch_list_tags - First observed
pirsch_list_utm
Related MCP Connectors
Read Simple Analytics stats: pageviews, visitors, pages, referrers, events and data exports.
61Privacy-first web analytics. Query pageviews, referrers, trends, and AI insights.
Read-only website analytics, AI referrals, crawlers, goals, revenue, and funnels.
Query site stats, realtime visitors, breakdowns and goals from Plausible Analytics.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceRead website acquisition, content, conversion, and engagement analytics from Matomo's Reporting API.248 npmMIT
- AlicenseNot gradedqualityDmaintenanceExposes Umami analytics (Cloud or self-hosted) as read-only tools for querying website stats, pageviews, metrics, and active visitors.74 npmMIT
- AlicenseAqualityDmaintenanceEnables querying a self-hosted Plausible Analytics instance to retrieve compressed analytics data such as overview stats, top pages, traffic sources, and trends, with computed deltas and human-readable filters.621 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables read-only access to cookieless web analytics aggregates such as sites, visitors, pages, sources, live activity, funnels, and uptime monitoring through OAuth 2.1-secured Streamable HTTP tools.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.