asnmap
Go CLI and library from ProjectDiscovery that maps an organisation's network ranges from an ASN, IP, domain or org name.
Go CLI · Go library · Open source · API · Infrastructure and domains · github.com
- Takes
- Domain · IP
- Pricing
- Open source
- Footprint
- Passive · no contact with target
- Account
- Needed for full results
- API
- Yes
- Last verified
- Nov 23, 2026
Go CLI and library from ProjectDiscovery that maps an organisation's network ranges from an ASN, IP, domain or org name. It takes domain and IP address. Read the cons before you build a workflow on it.
What it does
asnmap looks up ASN information and returns the CIDR ranges behind an ASN, IP address, domain or organisation name. Output can be plain text, JSON or CSV, and it reads from stdin for use in pipelines.
Investigators use it to scope an organisation's network footprint before further research. It queries the ProjectDiscovery ASNMap API, which needs a free ProjectDiscovery Cloud API key, and it can be used as a Go library.
Footprint is passive: it reads its own index or third-party records and does not contact the target. An account is needed for full results. There is an API.
- +Simple, focused and fast
- +Fits ProjectDiscovery pipelines
- +Actively maintained
- −Requires a ProjectDiscovery Cloud API key
- −Organisation-name searches can return ranges of similarly named companies, so check results
When to use it
- 01Use it when you need the IP ranges an organisation announces.
- 02Use it when you want to turn a domain into its hosting ASN and ranges.
Next steps from this result
Suggested from the inputs asnmap takes- Found a resultConfirm it with a second, independent source before you record it
- Found a new identifierPivot on it only if your scope covers the new targetDepends
Quick start
go install github.com/projectdiscovery/asnmap/cmd/asnmap@latest asnmap -d example.com -silent
Technical details
Listing verified by an editor on Nov 23, 2026- API
- Yes, see the vendor docs for auth and limits
- Account
- Needed for full results
- Footprint
- Passive · no contact with target
- Pricing
- Open source · Free and open source (MIT).
- Platforms
- Go CLI · Go library
- Repository
- projectdiscovery/asnmap 1,157 stars
- Language
- Go
- Licence
- MIT
- Last commit
- Nov 2026
- Listed
- Nov 23
Reviews
No reviews yet
Written by signed-in members. Each review appears here after an editor has read it.
Used asnmap? Sign in to say what you used it for and how it went.
Sign in to reviewAlternatives to asnmap
Listed tools that take the same inputs, closest match first.
- ShodanFreemium · Passive · account · APIWhat it does
Search engine for internet-connected hosts, indexing open ports, service banners and TLS certificates by IP.
IPDomainNo ratings yetVerified 2d ago - CensysFreemium · Passive · account · APIWhat it does
Internet-wide scan data for hosts, services and certificates, searchable through the Censys Platform.
IPDomainNo ratings yetVerified 2d ago - Domain DiggerOpen source · PassiveWhat it does
Web app for DNS records, global DNS lookups, WHOIS, IP details and certificate history of a domain.
DomainIPNo ratings yetVerified 2d ago

