# PitCrew Site Health Check

> PitCrew Site Health Check is a paid API for AI agents from pitcrew-api.appin60.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-18).

Checks whether a given URL or hostname is reachable, healthy, and has a valid TLS certificate, returning status code, response time, and any detected problems.

## Facts

- Endpoint: GET https://pitcrew-api.appin60.com/site/check?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pitcrew-site-health-check-eb72b8b0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z6cF29sEGgS07n5Uquko1

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 pitcrew-site-health-check-eb72b8b0
```

Example prompt: Can you check if https://myapi.example.com is up and whether its SSL certificate is still valid?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call HTTP health check with TLS certificate status in a single call — especially useful before committing to calling an x402-payable endpoint, or for ad-hoc uptime verification without subscribing to a full monitoring service.

## Known failure modes

- Unreachable or invalid URL returns non-200 status or timeout with a non-empty problems array
- TLS certificate expired or near-expiry surfaced via low daysLeft value
- DNS resolution failure for unknown hostnames
- Payment failure via x402 protocol prevents the call from being made
- Malformed URL input may return an error or unexpected verdict

## How this service works

Is this website up? Checks HTTP status, redirect chain, response time, TLS certificate validity and days to expiry, security headers, page title and MX records, and returns a verdict (healthy / degraded / down) with a list of problems. Use for uptime checks, vendor due diligence and incident triage.

## Output

Returns a JSON object with: HTTP status code, verdict (e.g. 'healthy'), TLS days remaining, response time in milliseconds, and a list of detected problems (empty if none). Example: {"status":200, "verdict":"healthy", "tls":{"daysLeft":61}, "responseMs":210, "problems":[]}

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "URL or hostname"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tls": {
   "daysLeft": 61
  },
  "status": 200,
  "verdict": "healthy",
  "problems": [],
  "responseMs": 210
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pitcrew-site-health-check-eb72b8b0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pitcrew-api.appin60.com](https://www.zero.xyz/host/pitcrew-api.appin60.com/llms.txt)
