Give this API a hostname or IP address and it tries connecting to each port in your req…
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…
by port-scanner.underscoredone.com · discovered, not yet claimed by its owner · updated 2026-10-02
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
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.
Tags: port scanner · port scan · open ports · tcp port scanner · scan ports · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-02
{
"ports": "1-1000",
"scan_type": "tcp_connect",
"target": "scanme.nmap.org",
"timeout": 30
}{
"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": ""
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/29448.jsonfor the price and payment options. - Pay. Call
GET https://port-scanner.underscoredone.com/scan. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.01 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Solana
- Demand
- 3 calls · 3 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.01 | 0xE9740820225B3918b4ddd1292C7cA4Ca0e2C2F08 | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.01 | 8ugAWAXDB8V18kiUrGZTq1oMvU3C6Fxs8hfC6rvzQT3b | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xE9740820225B3918b4ddd1292C7cA4Ca0e2C2F08",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"amountUsd": 0.01,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "8ugAWAXDB8V18kiUrGZTq1oMvU3C6Fxs8hfC6rvzQT3b",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "10000",
"amountUsd": 0.01,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"api_version": {
"type": "string"
},
"closed_or_filtered_count": {
"type": "integer"
},
"complete": {
"type": "boolean"
},
"duration_ms": {
"type": "integer"
},
"open_ports": {
"items": {
"type": "object"
},
"type": "array"
},
"ports_requested": {
"type": "integer"
},
"ports_scanned": {
"type": "integer"
},
"resolved_ip": {
"type": "string"
},
"scan_type": {
"type": "string"
},
"target": {
"type": "string"
},
"warning": {
"type": "string"
}
},
"required": [
"api_version",
"target",
"resolved_ip",
"scan_type",
"duration_ms",
"complete",
"ports_requested",
"ports_scanned",
"open_ports",
"closed_or_filtered_count",
"warning"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"api_version": "string",
"closed_or_filtered_count": 0,
"complete": true,
"duration_ms": 0,
"open_ports": [
{}
],
"ports_requested": 0,
"ports_scanned": 0,
"resolved_ip": "string",
"scan_type": "string",
"target": "string",
"warning": "string"
},
"type": "string"
}Examples
curl "https://port-scanner.underscoredone.com/scan"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://port-scanner.underscoredone.com/scan");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://port-scanner.underscoredone.com/scan")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- port-scanner.underscoredone.com
- Endpoint
- https://port-scanner.underscoredone.com/scan
- Machine-readable
/resources/29448.json