{"openapi":"3.2.0","info":{"title":"nmap API","description":"Perform an Nmap TCP port scan on any publicly accessible host with a single HTTPS request. No server to provision, no software to install, and no XML parsing required.","version":"1.0.0"},"servers":[{"url":"https://zdcdj.jojapi.net"}],"security":[{"ApiKeyAuth":[]}],"x-agent-commerce":{"catalog_url":"https://zdcdj.jojapi.net/_jojapi/agent/plans","discovery_url":"https://zdcdj.jojapi.net/.well-known/x402","directory_url":"https://agents.jojapi.net/apis/nmap-scan","docs":"https://docs.jojapi.com/consumers/agents"},"paths":{"/v1/nmap-check":{"post":{"operationId":"post_v1_nmap_check","summary":"nmap check","description":"Run TCP port scans on any public host using Nmap through a simple REST API. Scan a hostname, IP address or CIDR range and receive structured JSON containing open ports, detected services, host information and scan statistics.","responses":{"200":{"description":"nmap check result","content":{"application/json":{"examples":{"Example":{"summary":"Example","value":{"api_version":"v1.03","target":"scanme.nmap.org","ports_range":null,"scan_info":{"scan_type":"connect","protocol":"tcp","num_services_scanned":"1000"},"host":{"status":"up","addresses_list":[{"address":"45.33.32.156","address_type":"ipv4"}]},"ports_summary":{"open":4,"closed":995,"filtered":1,"total":1000},"open_ports_list":[{"port":22,"protocol":"tcp","service_name":"ssh"},{"port":80,"protocol":"tcp","service_name":"http"}],"runstats":{"elapsed_seconds":1.99,"exit_status":"success"},"nmap_raw_xml":"<?xml version=\"1.0\" ...","parse_error":null}}}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object"},"example":{"target":"scanme.nmap.org","ports_range":"22,80,443"}}}}}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-JoJAPI-Key","description":"Your JoJ API key."}}}}