Now that Amazon AWS has restored services and website appear to be normalized, we are working to restore our website monitoring intervals to the standard 60 seconds. If you have any questions, please feel free to reach out to support@stat2.io.

Stats

Notes
Expert level
The API key should be sent as a Bearer token in the Authorization header of the request. Get your API key.
Show

API endpoint:

GET
https://stat2.io/api/v1/stats/{monitor_id}

Request example:

curl --location --request GET 'https://stat2.io/api/v1/stats/{monitor_id}?name={name}&from={from}&to={to}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parameter
Type
Description
name
required string
Name. Possible values are: check, check_response_time, incident, incident_duration.
from
required string
Starting date in Y-m-d format.
to
required string
Ending date in Y-m-d format.
sort
optional string
Sort. Possible values are: desc for Descending, asc for Ascending. Defaults to: desc.