---
title: "Port Check (x402)"
method: GET
path: "/x402/v2/port-check"
tags: ["x402"]
---

# Port Check (x402)

`GET /x402/v2/port-check`

## Request

- Base URL: `https://api.strale.io`
- URL: `https://api.strale.io/x402/v2/port-check`
- Auth: none required

Check if TCP ports are open on a host. Scans up to 20 ports with configurable timeout. Returns open/closed status with latency.

## Query parameters

- `host` string, required
- `ports` unknown
- `timeout_ms` integer

## Response `200`

Success

- object
  - `host` string
  - `open_count` integer
  - `open_ports` unknown[]
    - unknown
  - `closed_count` integer
  - `closed_ports` unknown[]
    - unknown

## Other responses

- `402`: Payment required (x402 — pay with USDC on Base)

---

[API](https://skmtc.dev/strale/apis/strale-api-2.md) · [All operations](https://skmtc.dev/strale/apis/strale-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/strale/apis/strale-api-2/revisions/a5293878cfc6?raw)
