Skip to main content
GET
/
api
/
domains
/
{id}
/
stats
Get domain uptime statistics
curl --request GET \
  --url https://api.ipulse.one/api/domains/{id}/stats \
  --header 'Authorization: Bearer <token>'
{
  "domain_id": "<string>",
  "period": "<string>",
  "uptime_percentage": 123,
  "total_checks": 123,
  "successful_checks": 123,
  "failed_checks": 123,
  "average_response_time_ms": 123,
  "min_response_time_ms": 123,
  "max_response_time_ms": 123,
  "p95_response_time_ms": 123,
  "incidents_count": 123,
  "total_downtime_seconds": 123,
  "longest_incident_seconds": 123
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication

Path Parameters

id
string
required

Query Parameters

period
enum<string>
default:30d
Available options:
1h,
24h,
7d,
30d,
90d

Response

200 - application/json

Domain statistics

domain_id
string
period
string
uptime_percentage
number
total_checks
integer
successful_checks
integer
failed_checks
integer
average_response_time_ms
number
min_response_time_ms
number
max_response_time_ms
number
p95_response_time_ms
number
incidents_count
integer
total_downtime_seconds
integer
longest_incident_seconds
integer