Authorization header.
Common query parameters
Most single-site endpoints share these query parameters:string
required
The
hackgatedName of the HackGATE site to query. This is the subdomain identifier assigned when the site was created.string
required
Start of the time range, as an ISO 8601 date-time string (for example,
2025-07-01T00:00:00Z).string
required
End of the time range, as an ISO 8601 date-time string (for example,
2025-07-14T23:59:59Z).Single-site endpoints
- Total requests
- Most active users
- Path discovery
- Traffic timeline
- Traffic table
GET /api/analytics/getTotalRequest
Multi-site summary endpoints
Use these endpoints when you need aggregated traffic data across multiple HackGATE sites in a single request. Both accept a JSON body instead of query parameters.- Summary traffic table
- Summary timeline
POST /api/analytics/getSummaryTrafficTable
Body parameters
string[]
required
Array of
hackgatedName values identifying the sites to include in the summary.string
required
Start of the time range as an ISO 8601 date-time string.
string
required
End of the time range as an ISO 8601 date-time string.