Skip to main content
GET
/
api
/
v1
/
monitors
/
{monitor_id}
/
cert
Get certificate info
curl --request GET \
  --url https://app.larm.dev/api/v1/monitors/{monitor_id}/cert
{
  "data": {
    "cert_expiry": "2026-06-01T00:00:00Z",
    "cert_valid": 1,
    "cert_issuer": "Let's Encrypt",
    "cert_subject": "example.com",
    "days_remaining": 85
  }
}
Requires monitors:read permission. Uses the Stats rate limit bucket (30 req/min).
monitor_id
string
required
Monitor ID (UUID)
Returns certificate details from the most recent check result. Only meaningful for HTTP monitors — returns 404 if the monitor has no TLS data.
{
  "data": {
    "cert_expiry": "2026-06-01T00:00:00Z",
    "cert_valid": 1,
    "cert_issuer": "Let's Encrypt",
    "cert_subject": "example.com",
    "days_remaining": 85
  }
}
{
  "error": {
    "type": "not_found",
    "message": "No certificate data"
  }
}