$0.01
per call · USD Coin on Base
Give this API a hostname or IP address and it tries connecting to each port in your requested range. For every port that answers it reports whether it is open or blocked, which service is likely running there (a web server, SSH), and what software version was detected. Saves you installing network tools, parsing command-line output, or writing socket loops. Only scan hosts you own or have permission to scan - this tool does not check that for you.
Endpoint
POST https://port-scanner.underscoredone.com/scan6
Calls / 30d
4
Unique payers / 30d
Sep 1
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://port-scanner.underscoredone.com/scan", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"ports": "1-1000",
"scan_type": "tcp_connect",
"target": "scanme.nmap.org",
"timeout": 30
}),
});
const data = await res.json();curl -X POST \
"https://port-scanner.underscoredone.com/scan" \
-H "Content-Type: application/json" \
-d '{"ports":"1-1000","scan_type":"tcp_connect","target":"scanme.nmap.org","timeout":30}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"api_version": "1.0.0",
"closed_or_filtered_count": 998,
"complete": true,
"duration_ms": 4521,
"open_ports": [
{
"port": 22,
"protocol": "tcp",
"service": "ssh",
"state": "open",
"version": "OpenSSH 8.2p1"
},
{
"port": 80,
"protocol": "tcp",
"service": "http",
"state": "open",
"version": "Apache httpd 2.4.41"
}
],
"ports_requested": 1000,
"ports_scanned": 1000,
"resolved_ip": "45.33.32.156",
"scan_type": "tcp_connect",
"target": "scanme.nmap.org",
"warning": ""
}Payment details
0xe9740820225b3918b4ddd1292c7ca4ca0e2c2f08USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Developer Tools and the homepage with a featured placement.
More from TCP Port Scanner & similar services
Loyalspark · Recipient API Offers
api.loyalspark.online
Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.
Loyalspark · Workflow Reward Status
api.loyalspark.online
Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.
Loyalspark · Recipient API Vouchers
api.loyalspark.online
Onchain loyalty platform on Base Network. Businesses launch branded rewards in minutes, customers earn real value with every purchase, and AI agents automate the rest via REST and MCP. Free plan mints up to 1,000 tokens per month; every call is scoped by row-level security to the wallet behind the API key. 16 skill guides at loyalspark.online/.well-known/skills/index.md.