Skip to content
OSINTtools.io

asnmap

Verified 2d ago

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
Summary

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.

Pros
  • +Simple, focused and fast
  • +Fits ProjectDiscovery pipelines
  • +Actively maintained
Cons
  • −Requires a ProjectDiscovery Cloud API key
  • −Organisation-name searches can return ranges of similarly named companies, so check results

When to use it

  1. 01Use it when you need the IP ranges an organisation announces.
  2. 02Use it when you want to turn a domain into its hosting ASN and ranges.
Key featuresASN, IP, domain and org to CIDRJSON, CSV and text outputStdin and file inputIPv6 rangesGo library

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 target
    Depends

Quick start

Terminal · Go
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 review

Alternatives to asnmap

Listed tools that take the same inputs, closest match first.

asnmapOpen source · API · verified 2d ago
Visit github.com (opens in new tab)