# Strale Port Check

> Strale Port Check is a paid API for AI agents from api.strale.io, paid per call via x402, $0.054/call, status unknown (last checked 2026-09-14).

Check whether specified TCP ports are open or reachable on a given host via HTTP probe

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/port-check
- Price: $0.054/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-port-check-8d4832df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u_dN8Qe_JzSHCxMG1cJKl

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 strale-port-check-8d4832df
```

Example prompt: Can you check if ports 80, 443, and 22 are open on api.mycompany.com? Use a 3000ms timeout.

## When to prefer this

Choose this endpoint when you need an auditable, tamper-evident record of port reachability checks — particularly in compliance, security audit, or infrastructure verification workflows where a cryptographic proof of the check is required. Prefer over simple ping tools when you need multi-port probing with a documented audit trail and micropayment-based access without API key management.

## Known failure modes

- Host does not resolve (DNS failure) — returns error with unresolvable hostname
- All ports timeout due to aggressive firewall — returns timeout status per port
- Invalid port numbers provided — schema validation error
- Missing required 'host' query parameter — 400 bad request
- Network unreachable from probe origin — connectivity error returned

## How this service works

The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.

## Output

Returns the reachability status for each requested port on the specified host (open/closed/timeout), along with a cryptographically hashed audit record providing tamper-evident proof of the check result.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "host"
     ],
     "properties": {
      "host": {
       "type": "string"
      },
      "ports": {
       "description": "Array of port numbers or comma-separated string"
      },
      "timeout_ms": {
       "type": "integer"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-port-check-8d4832df/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
