Skip to content

Find your ISP from your IP address with curl

To find the ISP behind your IP address, run curl ipconfig.io/asn-org — it returns the name of the network your traffic exits from, such as Comcast Cable Communications, LLC, which on normal broadband is your ISP (internet service provider). For the network's number instead of its name, run curl ipconfig.io/asn. Both come from the same place: the ASN that owns the IP block your address sits in.

Maintained by the ipconfig.io team · Reviewed 17 June 2026

How do I find my ISP from my IP address?

Run curl ipconfig.io/asn-org and you get your ISP's name as plain text. The service reads the ASN that owns your public IP and returns the organization behind it:

sh
curl ipconfig.io/asn-org      # Comcast Cable Communications, LLC

Want the network's number too? asn-org is the human-readable name; asn is the machine-readable ID:

sh
curl ipconfig.io/asn          # AS7922
curl ipconfig.io/asn-org      # Comcast Cable Communications, LLC

Or read both, alongside everything else, from the JSON record:

sh
curl -s ipconfig.io/json | jq -r '"\(.asn) — \(.asn_org)"'
# AS7922 — Comcast Cable Communications, LLC

The relevant JSON fields are asn (the number) and asn_org (the name). There is no separate "isp" field — your ISP is the asn_org.

Why does my ISP come from the ASN and not a dedicated field?

Your ISP is whoever operates the network your IP belongs to, and that operator is identified by an ASN (Autonomous System Number). Every public IP address sits inside a block announced to the internet by exactly one autonomous system — a network that runs its own routing. That network's owner is your ISP.

So asn_org is not a guess about your provider; it's the registered operator of the network your address is part of. The five Regional Internet Registries record who owns each ASN, which is why a name like Comcast Cable Communications, LLC is reliable. For the full picture of what an ASN is and how networks use them, see what an ASN is and how to find yours.

Is asn_org always my ISP?

Usually, but not always — asn_org is the operator of the network your traffic exits from, which is your ISP in the common case but can be something else depending on how you connect:

How you connectWhat asn-org shows
Home or office broadbandYour ISP (e.g. Comcast, BT, Telstra)
Mobile dataThe carrier — sometimes its core/backbone network, not the retail brand
Behind a VPN or proxyThe VPN or proxy provider, not your home ISP
Corporate or campus networkThe organization that runs the network, or its upstream provider

That last row is just an observation, not a recommendation: when your traffic is routed through a VPN, the exit IP belongs to the VPN provider's network, so asn-org returns their name. Run curl ipconfig.io/asn-org with and without the VPN connected and you'll watch the value change.

How do I find the ISP of someone else's IP address?

Append ?ip= to look up the operator of any public address instead of your own:

sh
curl ipconfig.io/asn-org?ip=8.8.8.8    # Google LLC
curl ipconfig.io/asn?ip=8.8.8.8        # AS15169

This is how you tell whether an address belongs to a residential ISP, a hosting company, or a cloud provider — useful for reading logs, vetting a connection, or checking where an email originated. The same ?ip= parameter works on every endpoint, so you can pull just the country or the full JSON for the same address:

sh
curl -s ipconfig.io/json?ip=8.8.8.8 | jq -r '.asn_org'
# Google LLC

What is the difference between asn and asn_org?

asn is the network's number; asn_org is the same network's name. They always describe the same operator — one is for machines, one is for people:

  • asn — the AS number, like AS7922. AS numbers come from a fixed range: originally 16-bit (065535), extended to 32-bit by RFC 6793. Of those, roughly 79,000 are visible in the global BGP routing table today (CIDR Report, 2026).
  • asn_org — the registered name of the organization that owns that ASN, like Comcast Cable Communications, LLC — what most people mean by "my ISP."

Use asn when you need a stable identifier to match against allow-lists or abuse data; use asn_org when you want a readable name.

Frequently asked questions

How do I find my ISP from my IP address? Run curl ipconfig.io/asn-org. It returns your network operator's name, normally your ISP. Use curl ipconfig.io/asn for the AS number, or /json for both.

Is asn_org always my ISP? Usually. It's the operator of the network your traffic exits from — your ISP on broadband, but the carrier on mobile and the VPN provider behind a VPN.

How do I find the ISP of another IP address? Append ?ip= — for example curl ipconfig.io/asn-org?ip=8.8.8.8 returns Google LLC. It works for any public IP address.

Next steps

Look up your own provider now with curl ipconfig.io/asn-org, read what an ASN is and how to find yours to understand the network layer behind it, or learn how to find your public IP from the terminal.

Geolocation by MaxMind GeoLite2. No tracking, no keys.