Nmap License |link| Online
If you plan to use Nmap in a commercial online scanner, you need to contact Fyodor for a separate commercial license. Otherwise, for most standard uses (e.g., auditing your own network, building an open-source scanner), the license is perfectly fine.