# agentbit.app Endpoint Health Probe

> agentbit.app Endpoint Health Probe is a paid API for AI agents from agentbit.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Performs a one-shot HTTP health check on any URL, returning status, latency, TLS certificate details, response size, and a security-header audit with named issues.

## Facts

- Endpoint: POST https://agentbit.app/v1/monitor/endpoint
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentbit-app-endpoint-health-probe-da482d1c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LfaNm9sTMSUVnOMA4gxzh

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 agentbit-app-endpoint-health-probe-da482d1c -d '<json body>'
```

Example prompt: Can you check if https://api.myservice.com/health is up, how fast it's responding, when the TLS certificate expires, and whether it's missing any important security headers?

## When to prefer this

Use this endpoint when you need a single, instant health snapshot of a URL including TLS, latency, and security headers in one call. Prefer it over building custom monitoring logic when you want a cheap ($0.005/call), agent-friendly check you can schedule. It is especially valuable when you need TLS expiry and security-header auditing combined with basic uptime in a single round-trip rather than calling separate tools.

## Known failure modes

- URL is unreachable or DNS fails — endpoint may return up:false with no latency data
- Invalid or non-HTTP/HTTPS URL — likely a 400-level error or validation failure
- Target URL returns no TLS (plain HTTP) — TLS fields will be absent or null
- Very slow target may cause a probe timeout — may surface as SLOW_RESPONSE issue
- Rate limiting or firewall on the target blocks the probe — may appear as a server error status

## How this service works

One-shot health probe for any endpoint: HTTP status and latency, TLS certificate issuer and days-to-expiry, response size, security-header audit (HSTS, CSP, X-Content-Type-Options, X-Frame-Options) and named issues (SLOW_RESPONSE, CERTIFICATE_EXPIRING, SERVER_ERROR_STATUS). Call it on a schedule and you have uptime monitoring for a fraction of a cent.

## Output

Returns a JSON object containing: `up` (boolean), `http_status` (integer), `latency_ms` (integer), `response_bytes` (integer), `checked_at` (ISO-8601 timestamp), `tls` object with `issuer`, `subject`, `valid_to`, `days_to_expiry`, and `sans`, `security_headers` object with boolean flags for `hsts`, `csp`, `x_frame_options`, and `x_content_type_options`, and an `issues` map listing any named problems such as SLOW_RESPONSE, CERTIFICATE_EXPIRING, or SERVER_ERROR_STATUS.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Absolute http(s) URL to probe"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "up": true,
  "tls": {
   "sans": [
    "agentbit.app",
    "www.agentbit.app"
   ],
   "issuer": "Let's Encrypt",
   "subject": "agentbit.app",
   "valid_to": "2026-11-20T10:00:00+00:00",
   "days_to_expiry": 75
  },
  "url": "https://agentbit.app/api/health",
  "issues": {},
  "checked_at": "2026-09-06T12:00:00+00:00",
  "latency_ms": 184,
  "http_status": 200,
  "response_bytes": 512,
  "security_headers": {
   "csp": false,
   "hsts": true,
   "x_frame_options": true,
   "x_content_type_options": true
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentbit-app-endpoint-health-probe-da482d1c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentbit.app](https://www.zero.xyz/host/agentbit.app/llms.txt)
