Try the RankNibbler SEO API

Diagnostics Beta

"It's down" is the easy part. When a monitor fails, we run the same target again in stages and record what each one did, so the outage arrives with a likely cause attached.

Every endpoint here needs an X-API-Key header whose owner has access to uptime monitoring, and each call counts once against your daily quota. They are all read-only. See Monitoring API: getting started for authentication, rate limits and errors.

Endpoints

MethodEndpointDoes
GET/api/v1/monitors/{id}/analysisRecent diagnoses for a monitor
GET/api/v1/monitors/{id}/analysis/{aid}One diagnosis, with every stage and any traceroute
GET/api/v1/tracerouteA traceroute to a host, on demand

The stages

Each diagnosis runs the target again, one stage at a time, in this order. Every stage is { stage, ok, ms, detail, error }.

StageWhat it doesWhat detail holds
dnsLooks the name up.The addresses it points at. The step also carries addresses with the family of each.
tcpConnects to the port.What it connected to. Skipped when there is no port to try.
tlsChecks the certificate.The protocol, the issuer and the days left. A certificate that isn't trusted, or that has expired, fails here. Web checks over HTTPS and mail checks using tls.
httpMakes the request.The status, the server header and where it redirects. The step also carries an excerpt: the first 400 characters of the reply. Web types only.
protocolRuns the type's own engine.What a TCP, UDP, ping, DNS or mail check made of the target. Non-web types only.

Reading the result

When a diagnosis runs

Related