host.tools

ASN lookup

IP /api/v1/ip/asn

Resolve an IP or AS number to its autonomous system, prefixes, country.

Enter an IP or AS number (e.g. AS13335) to resolve its autonomous system.
How to use ASN lookup
  1. 1
    Paste your input

    Enter the value at the top — domain, IP, URL, email, ASN, hash, whatever fits this tool. The smart input auto-detects type.

  2. 2
    Click "Inspect"

    host.tools issues real probes (DNS, HTTP, TCP, TLS, WHOIS where applicable) and renders the result in milliseconds.

  3. 3
    Open the API tab

    Every web tool has a sibling /api/v1/ip/asn JSON endpoint with the same payload. One copy-as-curl click and you're scripting it.

Why this matters

Every IP tells a story — what network it lives on, who owns it, where it sits, whether it's been used for abuse. The smartest decisions about traffic start with a 30-second IP review.

API equivalent
/api/v1/ip/asn?q=YOUR_INPUT
curl -s '/api/v1/ip/asn?q=YOUR_INPUT'
Embed this tool
<iframe src="/ip/asn?q={INPUT}&embed=1"
  width="100%" height="600" frameborder="0"></iframe>

Drop into any HTML page. The embed=1 flag hides nav and footer.

FAQ · ASN lookup

Common questions

Is ASN lookup free?
Yes — every tool is free on the web with a 200/hour rate limit per IP. The matching API endpoint /api/v1/ip/asn is free up to 100 requests/hour, no key required.
Where does the data come from?
Real-time probes against authoritative sources (DNS root, RIRs, registries, the target server itself), plus partner data feeds from hostinfo.com (GeoIP/ASN) and hostcheck.com (reputation).
How fresh are the results?
Live by default. Cached for 5 minutes to make repeat queries instant; pass ?nocache=1 for a forced refresh.
Can I run this from the command line?
Yes — every tool ships with a copy-as-curl. There's also an official CLI: host.tools ip asn YOUR_INPUT.
Can I monitor results over time?
Pro tier lets you schedule any tool to run every 1/5/15/60 min and alert on diff. See monitors.
host.tools Pro

Run ASN lookup on a schedule. Get pinged when it changes.

Pro gets you bulk lookups, monitors, webhook alerts, history, exports and 10,000 API calls/day. $19/mo.

  • Schedule any tool — every 1, 5, 15, 60 min
  • Diff against last run, alert on change
  • Webhook + email + Slack + PagerDuty + OpsGenie
  • Bulk CSV upload, 1,000 inputs per job
  • Export results as CSV / NDJSON / Excel
  • 90-day history, comparison view