v32

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

Fetch the traffic data for a specific domain.

Deprecated. Use GET /v1/analytics/traffic instead.

get/waap/v1/domains/{domain_id}/traffic

Path parameters

domain_idinteger required

The domain ID

The domain ID

Query parameters

resolution'daily' | 'hourly' | 'minutely' required

Specifies the granularity of the result data.

Specifies the granularity of the result data.

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