API Reference

Hostnames

Retrieve hostname breakdown

GEThttps://analytics.flowsery.com/hostnames

Fetch analytics data segmented by hostname.

Bearer Token (API key)

Query parameters

ParameterTypeDescription
startAtstringISO 8601 start date/time (e.g., 2024-01-01T00:00:00Z). Omit for all-time data.
endAtstringISO 8601 end date/time. Must accompany startAt when filtering by date range.
timezonestringTimezone for aggregation (e.g., UTC, America/New_York). Falls back to the site's configured timezone.
limitnumberMaximum rows to return (1-1000, default: 100).
offsetnumberRows to skip for pagination (min 0, default: 0).

Filter parameters

ParameterTypeDescription
filter_countrystringCountry name or code.
filter_regionstringRegion or state.
filter_citystringCity name.
filter_devicestringDevice type (desktop, mobile, tablet).
filter_browserstringBrowser name. Safari includes Mobile Safari automatically.
filter_osstringOperating system (Mac OS, Windows, iOS, Android).
filter_referrerstringReferrer domain or well-known name.
filter_refstringThe ref URL parameter value.
filter_sourcestringThe source URL parameter value.
filter_viastringThe via URL parameter value.
filter_utm_sourcestringUTM source.
filter_utm_mediumstringUTM medium.
filter_utm_campaignstringUTM campaign.
filter_utm_termstringUTM term.
filter_utm_contentstringUTM content.
filter_pagestringPage path or URL.
filter_entry_pagestringEntry page path or URL.
filter_hostnamestringHostname/domain.
filter_channelstringMarketing channel.
filter_goalstringGoal name.

Response fields

Each item in the <code>data</code> array contains the hostname, visitor count, and revenue attributed to that hostname. Useful for sites that serve traffic across multiple domains or subdomains.

Combining filters

Pass comma-separated values within a single filter parameter to match multiple items. Combine different filter parameters to narrow results further (e.g., <code>filter_hostname=example.com&filter_country=United States</code>).