v32

latestOpenAPI 3.1.0raw.githubusercontent.com2026-05-151,1412,2144.5 MB
Analytics

Get traffic data

Retrieves a comprehensive report on traffic statistics for a set of domains. The report includes details such as API requests, blocked events, error counts, and many more traffic-related metrics.

get/waap/v1/analytics/traffic

Query parameters

domainsinteger[]

List of domain IDs. Empty list means all domains belonging to the current account.

List of domain IDs. Empty list means all domains belonging to the current account.

[
  1,
  2,
  3
]
resolution'daily' | 'hourly' | 'minutely' required

Specifies the granularity of the result data.

Specifies the granularity of the result data.

bucket_size60 | 300 | 600 | 900 | 1800 | 3600 | 7200 | 10800 | 21600 | 43200 | 86400 nullable

Optional explicit aggregation bucket width in seconds. When supplied, bucket_size supersedes resolution for aggregation granularity.

Optional explicit aggregation bucket width in seconds. When supplied, bucket_size supersedes resolution for aggregation granularity.

startstring required

Filter data items starting from a specified date in ISO 8601 format

Example:2024-04-13T00:00:00+01:00

Filter data items starting from a specified date in ISO 8601 format

endstring nullable

Filter data items up to a specified end date in ISO 8601 format. If not provided, defaults to the current date and time.

Example:2024-04-14T12:00:00Z

Filter data items up to a specified end date in ISO 8601 format. If not provided, defaults to the current date and time.

Response

Successful Response

timestampinteger required

UNIX timestamp indicating when the traffic data was recorded

ajaxinteger

Number of AJAX requests made

apiinteger

Number of API requests made

ddosBlockedinteger

Number of DDoS attack attempts successfully blocked

origin2xxinteger

Number of successful HTTP 2xx responses from the origin server

origin3xxinteger

Number of HTTP 3xx redirects issued by the origin server

originError4xxinteger

Number of HTTP 4xx errors from the origin server

originError5xxinteger

Number of HTTP 5xx errors from the origin server

monitoredinteger

Number of requests triggering monitoring actions

uncategorizedinteger

Requests resulting in neither blocks nor sanctions

staticinteger

Number of static asset requests

responseTimeinteger

Average origin server response time in milliseconds

originTimeoutinteger

Number of timeouts experienced at the origin server

customAllowedinteger

Number of requests allowed through custom rules

totalinteger

Total number of requests

passedToOrigininteger

Number of requests served directly by the origin server

customBlockedinteger

Number of requests blocked due to custom rules

policyAllowedinteger

Number of requests allowed by security policies

policyBlockedinteger

Number of requests blocked by security policies