GEO
Get website analytics totals and trend (private beta)
Changed onPrivate beta: workspaces without web analytics access get 403. Page views, visitors, sessions and AI-referred visitors against the previous window of the same length, daily views and visitors, and the hosts seen. Includes completed history imports. Explicit ranges can span at most 366 days.
get/v1/projects/{projectId}/geo/traffic/web
Request
- Base URLhttps://api.usenotra.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdstring required
Example:b1f2c3d4-0000-4000-8000-000000000000
Query parameters
daysinteger
Rolling window size in days. Ignored when from/to are set.
fromstring
Example:2026-01-31
tostring
Example:2026-01-31
hoststring
Hostname to filter on, such as www.example.com. Subdomains are included. Omit for every host.
pathstring
Only count this exact page path, such as /pricing.
sites'exclude'
exclude leaves out traffic to sites hosted on Notra Sites.
Response
Web analytics fetched successfully
Changes
- info
endpoint added
- info