Defensible numbers for an article, newsletter or market report: which verticals, countries, categories or size tiers grew between two months, how many stores the figure rests on, and the stores behind it. One call per table, no per-store loop.
Numbers you can print in a market report, newsletter or article: which verticals, countries, product categories or size tiers grew between two months, how many stores each figure rests on, and the stores behind it. One call returns a whole table. You never loop over stores, and every row tells you its cohort size so the sentence can be honest: "median visits for 4,200 US skincare stores with readings in both months rose 9%". A journalist uses this for a "state of Shopify" piece. A SaaS marketing team uses it for a quarterly benchmark. An analyst uses it to check a thesis ("DACH beauty is up") before pulling names.
Traffic history starts in April 2025 and is thin before October 2025. Call Trend coverage first: it says how many stores have readings per month for your cohort. Pick months with thousands of stores, and say "stores with traffic readings in both months", not "all Shopify stores".
Median growth, not total growth
medianGrowthPct is the median of each store's own growth and is robust to one giant merchant. totalGrowthPct is the cohort sum and moves with the biggest names. risingSharePct is the share of stores that grew at all. Quote the median with the store count; use total when the story is about market volume.
floorOn and cohort knobs
minVisits with floorOn=avg (default) keeps stores that are meaningful on average across the window. floorOn=from selects stores for being big in the first month, which makes the whole market look like it shrank (regression to the mean). cohort=edges pairs the two edge months; cohort=all keeps only stores present in every month, which gives a like-for-like monthly line with a smaller cohort.
Same cohort filters as store search
vertical, category, industry, country or region, countryCode, appSlug / includeApps / excludeApps, product filters, dropshipper flag. Compare two slices by running the call twice, for example appSlug=klaviyo against excludeApps=klaviyo.
Seasonality
January is the post-holiday peak for most retail, so January to June will look negative for almost everyone. Compare groups against each other inside the same window, or use a like-for-like window (June to June) for absolute growth.
group label, storeCount, medianVisitsFrom, medianVisitsTo, medianGrowthPct, totalVisitsFrom, totalVisitsTo, totalGrowthPct, risingSharePct. With groupBy=month: one row per month for the cohort.
Store row
domain, name, vertical, countryCode, visitsFrom, visitsTo, delta, growthPct. Biggest move first, with page.total for the whole cohort.
Trends by group with groupBy=vertical, from=2026-01, to=2026-06, sort=growth. Print medianGrowthPct next to storeCount. Then groupBy=category with vertical=Apparel for the drill-down paragraph.
"Give me five German skincare stores that gained the most traffic since March"
Stores behind a trend with countryCode=DE, vertical=Skincare, direction=up, sort=delta. Open each under Stores for the quote (category, revenue band, apps).
Run Trends by group twice for the same window: once with appSlug=klaviyo, once with excludeApps=klaviyo. Compare medianGrowthPct per vertical and report both cohort sizes.
Per month: storeCount (stores with a traffic reading) and storesAboveFloor (above minVisits), optionally scoped by the same cohort filters as store search. History starts 2025-04 and is thin before 2025-10.
Use it to: Call this before quoting any growth number so you can say "based on 4,200 US skincare stores with readings in both months".
Parameters of GET /v1/analytics/trends/coverage
Name
Type
What it does
minVisits
number
Floor for storesAboveFloor.Default: 10000Example: 10000
Rolls monthly visit history up by groupBy. Each row: storeCount, medianVisitsFrom/To, medianGrowthPct (median of per-store growth), totalVisitsFrom/To, totalGrowthPct, risingSharePct. groupBy=month returns a series for the cohort instead. floorOn=avg (default) avoids regression-to-the-mean bias; cohort=all keeps only stores present in every month.
Use it to: Article table: "Which Shopify verticals grew Jan to Jun 2026" in one call. Then drill with groupBy=category&vertical=Apparel, or compare appSlug=klaviyo against excludeApps=klaviyo.
Parameters of GET /v1/analytics/trends
Name
Type
What it does
groupByrequired
string
One of: vertical, country, industry, category, sizeTier, monthDefault: vertical
fromrequired
string
YYYY-MM, first month.Example: 2026-01
torequired
string
YYYY-MM, last month (after from).Example: 2026-06
minVisits
number
Visits floor; see floorOn.Default: 10000Example: 10000
floorOn
string
Which month(s) the floor applies to.One of: avg, from, to, bothDefault: avg
cohort
string
edges: reading in from and to. all: reading in every month.One of: edges, allDefault: edges
minStores
number
Hide groups with fewer cohort stores.Default: 20Example: 20
vertical
string
Example: Skincare
country
string
Names, ISO codes or regions, comma list.Example: Europe