Skip to main content
GET

Geographic Analytics

These routes drive geographic distribution cards and location tables.

Endpoints

Workspace geography

  • GET /api/analytics/workspace/regions
  • GET /api/analytics/workspace/continents
  • GET /api/analytics/city/breakdown
  • GET /api/analytics/workspace/coordinates
  • GET /api/analytics/:linkId/geo
  • GET /api/analytics/:linkId/cities
  • GET /api/analytics/:linkId/regions
  • GET /api/analytics/:linkId/continents
  • GET /api/analytics/:linkId/coordinates

Query parameters

days
number
default:"30"
Date range window.
limit
number
default:"50"
Maximum rows returned (server-side caps apply).
country
string
Region drill-down filter (workspace/regions only).
campaignId
string
Optional scope filter on routes that support campaign filtering (for example city breakdown).
Optional scope filter on workspace-level endpoints that support link filtering.

Request example

Response example

Notes

  • Geographic rows return click totals and percentages for the selected window.
  • Map coordinate endpoints may return empty arrays when coordinate pipelines are not enabled for your dataset.
  • Use link-scoped routes for per-link geo diagnostics; use workspace routes for top-level distribution.