# Automaton-Alfa URL Health Check

> Automaton-Alfa URL Health Check is a paid API for AI agents from alfa.alfa-agente.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-01).

Performs a comprehensive health audit of a given URL, returning HTTP status code, response time, TLS/SSL certificate details, and security headers.

## Facts

- Endpoint: GET https://alfa.alfa-agente.com/service/paid/health-check?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/automaton-alfa-url-health-check-374ef952
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mZn5gR7Ks03hUSZCSGBSs

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 automaton-alfa-url-health-check-374ef952
```

Example prompt: Can you do a full health check on https://api.mycompany.com — I want to know if it's up, how fast it responds, whether the SSL cert is valid and when it expires, and what security headers it's returning?

## When to prefer this

Choose this endpoint when you need a single, combined view of a URL's availability, latency, TLS certificate health, and security headers in one call. It is ideal for automated monitoring pipelines, pre-deployment audits, compliance checks, and incident triage where you need to quickly assess whether an endpoint is reachable and securely configured without running separate tools for each concern.

## Known failure modes

- Unreachable URL returns null status and null responseTimeMs with an error message describing the failure
- Invalid or malformed URL input may result in an error field being populated
- Sites with self-signed certificates will return tls.valid=false and an authorizationError string
- Network timeouts result in null response fields with an error description
- Non-HTTPS URLs return a null tls object since no certificate exists to inspect

## How this service works

Performs comprehensive URL health checks, measuring response time, status code, security headers, and TLS/SSL certificate validity. Route: GET /paid/health-check?url=https://example.com. Ideal for automated monitoring and endpoint auditing.

## Output

A JSON object containing the audited URL, the HTTP status code (or null on failure), response time in milliseconds, a TLS object with validity flag, issuer, subject, and valid-from/valid-to dates, a map of security headers present, and an error string if the request failed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "The fully qualified http:// or https:// URL to audit."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "required": [
   "url",
   "status",
   "responseTimeMs",
   "tls",
   "securityHeaders",
   "error"
  ],
  "properties": {
   "tls": {
    "type": [
     "object",
     "null"
    ],
    "properties": {
     "valid": {
      "type": "boolean"
     },
     "issuer": {
      "type": [
       "string",
       "null"
      ]
     },
     "subject": {
      "type": [
       "string",
       "null"
      ]
     },
     "validTo": {
      "type": [
       "string",
       "null"
      ]
     },
     "validFrom": {
      "type": [
       "string",
       "null"
      ]
     },
     "authorizationError": {
      "type": [
       "string",
       "null"
      ]
     }
    }
   },
   "url": {
    "type": "string"
   },
   "error": {
    "type": [
     "string",
     "null"
    ]
   },
   "status": {
    "type": [
     "integer",
     "null"
    ]
   },
   "responseTimeMs": {
    "type": [
     "integer",
     "null"
    ]
   },
   "securityHeaders": {
    "type": "object",
    "additionalProperties": {
     "type": "string"
    }
   }
  }
 },
 "example": {
  "tls": {
   "valid": true,
   "issuer": "Cloudflare TLS Issuing ECC CA 3",
   "subject": "example.com",
   "validTo": "Oct 27 22:17:21 2026 GMT",
   "validFrom": "Jul 29 22:10:08 2026 GMT",
   "authorizationError": null
  },
  "url": "https://example.com",
  "error": null,
  "status": 200,
  "responseTimeMs": 548,
  "securityHeaders": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/automaton-alfa-url-health-check-374ef952/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from alfa.alfa-agente.com](https://www.zero.xyz/host/alfa.alfa-agente.com/llms.txt)
