# is-port-22-open

> is-port-22-open is a paid API for AI agents from ip.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Checks whether TCP port 22 (SSH) is open, closed, or filtered on a given host by attempting a connection from Cloudflare's edge network

## Facts

- Endpoint: GET https://ip.intel.rallylive.ca/ip/port/22?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/is-port-22-open-a9e5f58e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z2Z3G9_yXkEBqPTVFCi3S

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 is-port-22-open-a9e5f58e
```

Example prompt: Can you check if SSH (port 22) is open on the host api.example.com? I want to know if it's exposed without running a full port scanner.

## When to prefer this

Use this endpoint when you need a quick, passive SSH exposure check on a single host without running a local port scanner or installing any tools. It is ideal for security audits, pre-deployment checks, and incident response triage where you want a third-party (Cloudflare-edge) perspective on port 22 reachability. Prefer this over general-purpose scanners when you need a low-cost ($0.01), single-port, single-host check with no setup.

## Known failure modes

- Host is Cloudflare-fronted: result is returned as 'inconclusive' because Cloudflare's edge intercepts the connection
- Connection attempt times out: reported as filtered
- Invalid or unresolvable hostname: likely returns an error or closed status
- Host behind a firewall that silently drops packets: reported as filtered rather than closed
- Transient network issues from Cloudflare's edge may cause false negatives

## How this service works

Is TCP port 22 (SSH) open on a host? Attempts a connection from Cloudflare's edge and reports open/closed/filtered with the connect time; Cloudflare-fronted hosts are reported as inconclusive because their edge answers for them. Exposure checks for SSH without running a scanner. $0.01 per check.

## Output

Returns the status of TCP port 22 on the target host as one of: open, closed, filtered, or inconclusive (when the host is Cloudflare-fronted and Cloudflare's edge answers on its behalf). For open ports, includes the TCP connect time in milliseconds.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/is-port-22-open-a9e5f58e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ip.intel.rallylive.ca](https://www.zero.xyz/host/ip.intel.rallylive.ca/llms.txt)
