{"uid":"cap_3avzqR90WI0iEcHIAaaAw","slug":"port-scanner-api-94deb830","name":"Port Scanner API","description":"Scan common ports on a host to check which are open","url":"https://port-scanner.api.klymax402.com/api/scan","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"host":{"type":"string","description":"The hostname or IP address to scan"},"ports":{"type":"array","items":{"type":"number"},"description":"Array of port numbers to scan (default: [21,22,25,53,80,110,143,443,993,995,3306,3389,5432,6379,8080,8443])"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LreEG_lQ9mBXDwizdkwwG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans specified ports on a given hostname or IP address to determine which are open","exampleAgentPrompt":"Can you scan example.com to check which of the common ports are open — especially 22, 80, 443, and 3306?","exampleUseCases":[{"title":"Check if SSH is accessible","prompt":"Can you scan my server at 192.168.1.100 and let me know if port 22 is open? I need to confirm SSH access is available before I try to connect."},{"title":"Verify web server ports exposed","prompt":"Can you check mydomain.com to see if ports 80 and 443 are open? I want to make sure the web server is properly exposed before we go live."},{"title":"Audit database port public exposure","prompt":"I'm worried our database might be publicly accessible — can you scan db.mycompany.com and tell me if port 3306 is open from the outside?"}],"resultDescription":"Returns the status of each scanned port on the target host, indicating which ports are open and which are closed or filtered.","failureModes":["Host not found or unresolvable hostname returns an error","Invalid IP address format causes a bad request error","Empty or malformed ports array may default to the standard port list or return an error","Firewall or network restrictions may cause false negatives where open ports appear closed","Scan timeout if the host is unreachable or very slow to respond"],"whenToPreferThis":"Use this endpoint when you need a quick network-level check of which ports are open on a specific host or IP, especially for infrastructure monitoring, security audits, or verifying that a service is exposed. Ideal when you already know the host and want to check a specific set of ports against the default common ports list.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:37:52.922Z","isFirstParty":false}