Skip to main content

Read API endpoints

Personal API tokens give read-only access to a documented subset of the Nexly API. This page lists what a token can call. See Personal API tokens for how to create and store a token.

Basics

  • Base URL: https://app.nexly.to
  • Authentication: Authorization: Bearer nxp_your_token
  • Method: GET only. Personal tokens cannot create, update, or delete anything.
  • Anything not listed here answers 401 Unauthorized for a personal token, including account management, credential, and team administration endpoints.
curl \
-H "Authorization: Bearer nxp_your_token" \
"https://app.nexly.to/v1/properties/PROPERTY_ID/stats"

Property ids come from GET /v1/apps.

Account and properties

EndpointReturns
GET /v1/accountThe token owner's account identity.
GET /v1/appsProperties the token owner can access.
GET /v1/dashboard/summaryHeadline summary across all accessible properties.
GET /v1/properties/{id}Property detail.

Traffic analytics

EndpointReturns
GET /v1/properties/{id}/statsHeadline stats for a period.
GET /v1/properties/{id}/timeseriesVisitors, visits, and pageviews over time.
GET /v1/properties/{id}/realtimeCurrently active sessions.
GET /v1/properties/{id}/acquisitionSources, channels, and campaigns.
GET /v1/properties/{id}/top-pagesTop pages.
GET /v1/properties/{id}/entry-pagesEntry pages.
GET /v1/properties/{id}/exit-pagesExit pages.
GET /v1/properties/{id}/top-countriesTop countries.
GET /v1/properties/{id}/top-regionsTop regions.
GET /v1/properties/{id}/top-citiesTop cities.
GET /v1/properties/{id}/top-browsersBrowser breakdown.
GET /v1/properties/{id}/top-devicesDevice breakdown.
GET /v1/properties/{id}/top-osOperating system breakdown.
GET /v1/properties/{id}/stickinessMonthly stickiness.
GET /v1/properties/{id}/time-heatmapVisits by weekday and hour.

Events

EndpointReturns
GET /v1/properties/{id}/eventsThe raw events feed.
GET /v1/properties/{id}/custom-eventsCustom event breakdown.
GET /v1/properties/{id}/custom-propertiesCustom property breakdown.
GET /v1/properties/{id}/custom-definitionsRegistered custom event definitions.

Bots and AI crawlers

EndpointReturns
GET /v1/properties/{id}/bots/overviewBot traffic overview.
GET /v1/properties/{id}/bots/coverageBot coverage breakdown.
GET /v1/properties/{id}/bots/ai-referralsTraffic referred by AI assistants.
GET /v1/properties/{id}/top-clientsTop non-browser clients.

Reports

EndpointReturns
GET /v1/properties/{id}/reportsGenerated reports for a property.
GET /v1/properties/{id}/reports/{report_id}A single report.

Anomalies

EndpointReturns
GET /v1/properties/{id}/anomaliesDetected anomalies.

Errors

  • 401 Unauthorized — the token is missing, revoked, malformed, or the endpoint is not part of the read API.
  • 404 Not Found — the property exists but the token owner has no access to it, or the id is wrong.
  • 429 Too Many Requests — slow down; API reads are rate limited.