Analytics
Get traffic data
Changed onRetrieves 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
Request
- Base URLhttps://api.gcore.com
- URLhttps://api.gcore.com/waap/v1/analytics/traffic
- AuthHTTP apikey
Query parameters
domainsinteger[]
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.
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.
startstring required
Filter data items starting from a specified date in ISO 8601 format
Example:2024-04-13T00:00:00+01:00
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
Response
Successful Response
Changes
- info
added the new optional
queryrequest parameterbucket_size
- info