# Straelo Relay Domain Health Check

> Straelo Relay Domain Health Check is a paid API for AI agents from relay.straelo.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-11).

Checks the health of a public domain by testing DNS resolution, HTTP/HTTPS status, TLS certificate validity, redirects, and response latency.

## Facts

- Endpoint: POST https://relay.straelo.com/domain-health?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/straelo-relay-domain-health-check-e4008585
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eGbAwRgwXcnb5eUavea78

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability straelo-relay-domain-health-check-e4008585 -d '<json body>'
```

Example prompt: Can you run a full health check on straelo.com — I want to know if DNS is resolving, whether HTTP and HTTPS are both returning 200, how many redirects are happening, and when the TLS certificate expires?

## When to prefer this

Use this endpoint when you need a comprehensive single-call domain health snapshot covering DNS, HTTP, HTTPS, TLS, redirects, and latency together. Prefer it over ad-hoc ping or manual curl checks when you need machine-readable structured results suitable for agent workflows or automated monitoring pipelines.

## Known failure modes

- Domain does not exist or cannot be resolved — DNS status will reflect failure
- Domain is unreachable — HTTP/HTTPS status fields may be null or error codes
- TLS certificate information unavailable — tls_certificate_expires_at returns null
- Invalid domain input format — API may return a validation error
- Upstream timeout — response latency may be high or request may fail

## How this service works

Check public domain DNS, HTTP, HTTPS, redirects, TLS certificate health and response latency in one request.

## Output

Returns a JSON object containing: the domain checked, the final URL after redirects, number of redirects, DNS status (e.g. 'ok'), an array of diagnostics, HTTP status code, HTTPS status code, response latency in milliseconds, and TLS certificate expiry timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "domain": {
   "type": "string",
   "description": "Public domain name; localhost and IP literals are rejected."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "domain": "example.com",
  "final_url": "https://example.com",
  "redirects": 0,
  "dns_status": "ok",
  "diagnostics": [],
  "http_status": 200,
  "https_status": 200,
  "response_latency_ms": 10,
  "tls_certificate_expires_at": null
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/straelo-relay-domain-health-check-e4008585/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from relay.straelo.com](https://www.zero.xyz/host/relay.straelo.com/llms.txt)
