ASN Lookup API and Network Intelligence

ASN API provides a simple way to retrieve accurate information about an Autonomous System Number (ASN) and its associated IPv4 and IPv6 address ranges. Knowledge of internet traffic patterns, ASN peering, upstream providers, and downstream ASNs is essential for network engineers, security professionals, and anyone interested in the structure of the internet. The API further enables IP-to-ASN lookups, which return ASN network details, including the Autonomous System Organization associated with a given IP address.

    • stringip:"216.73.216.213",
    • objectasn:Object,
      • stringas_number:"AS16509",
      • stringorganization:"Amazon.com, Inc.",
      • stringcountry:"US",
      • stringtype:"HOSTING",
      • stringdomain:"amazon.com",
      • stringdate_allocated:"2012-03-02",
      • stringasn_name:"AMAZON-02",
      • stringallocation_status:"",
      • stringnum_of_ipv4_routes:"14219",
      • stringnum_of_ipv6_routes:"5424",
      • stringrir:"ARIN",
      • downstreams:Array[99],
        • objectdownstreams[0]:Object,
          • stringas_number:"AS54920",
          • stringdescription:"Phaedon Acquisition, Inc.",
          • stringcountry:"US",
        • objectdownstreams[1]:Object,
          • stringas_number:"AS216096",
          • stringdescription:"Alex Terrats Ciberseguretat SLU",
          • stringcountry:"AD",
        • objectdownstreams[2]:Object,
          • stringas_number:"AS139216",
          • stringdescription:"Htroy Network Research Limited",
          • stringcountry:"CN",
        • objectdownstreams[3]:Object,
          • stringas_number:"AS214160",
          • stringdescription:"Shreejal Maharjan",
          • stringcountry:"GB",
        • objectdownstreams[4]:Object,
          • stringas_number:"AS213151",
          • stringdescription:"Christian Elsen",
          • stringcountry:"DE",
        • objectdownstreams[5]:Object,
          • stringas_number:"AS401106",
          • stringdescription:"Techies365",
          • stringcountry:"US",
        • objectdownstreams[6]:Object,
          • stringas_number:"AS153661",
          • stringdescription:"EVERLIGHT RADIOLOGY LIMITED",
          • stringcountry:"AU",
        • objectdownstreams[7]:Object,
          • stringas_number:"AS36262",
          • stringdescription:"HashTable, Inc.",
          • stringcountry:"US",
        • objectdownstreams[8]:Object,
          • stringas_number:"AS401041",
          • stringdescription:"Axis Security",
          • stringcountry:"US",
        • objectdownstreams[9]:Object,
          • stringas_number:"AS401181",
          • stringdescription:"Cordial",
          • stringcountry:"US",
        • ... and 89 more
      • upstreams:Array[186],
        • objectupstreams[0]:Object,
          • stringas_number:"AS12552",
          • stringdescription:"GlobalConnect AB",
          • stringcountry:"SE",
        • objectupstreams[1]:Object,
          • stringas_number:"AS5511",
          • stringdescription:"Orange S.A.",
          • stringcountry:"FR",
        • objectupstreams[2]:Object,
          • stringas_number:"AS6762",
          • stringdescription:"TELECOM ITALIA SPARKLE S.p.A.",
          • stringcountry:"IT",
        • objectupstreams[3]:Object,
          • stringas_number:"AS39249",
          • stringdescription:"Netassist International EOOD",
          • stringcountry:"BG",
        • objectupstreams[4]:Object,
          • stringas_number:"AS29695",
          • stringdescription:"Lyse Tele AS",
          • stringcountry:"NO",
        • objectupstreams[5]:Object,
          • stringas_number:"AS286",
          • stringdescription:"GTT Communications Inc.",
          • stringcountry:"US",
        • objectupstreams[6]:Object,
          • stringas_number:"AS23520",
          • stringdescription:"Columbus Networks USA, Inc.",
          • stringcountry:"US",
        • objectupstreams[7]:Object,
          • stringas_number:"AS1273",
          • stringdescription:"Vodafone Group PLC",
          • stringcountry:"NL",
        • objectupstreams[8]:Object,
          • stringas_number:"AS15943",
          • stringdescription:"wilhelm.tel GmbH",
          • stringcountry:"DE",
        • objectupstreams[9]:Object,
          • stringas_number:"AS56655",
          • stringdescription:"Gigahost AS",
          • stringcountry:"NO",
        • ... and 176 more
      • peers:Array[766],
        • objectpeers[0]:Object,
          • stringas_number:"AS216096",
          • stringdescription:"Alex Terrats Ciberseguretat SLU",
          • stringcountry:"AD",
        • objectpeers[1]:Object,
          • stringas_number:"AS5511",
          • stringdescription:"Orange S.A.",
          • stringcountry:"FR",
        • objectpeers[2]:Object,
          • stringas_number:"AS214160",
          • stringdescription:"Shreejal Maharjan",
          • stringcountry:"GB",
        • objectpeers[3]:Object,
          • stringas_number:"AS28792",
          • stringdescription:"Public Internet Ltd",
          • stringcountry:"GB",
        • objectpeers[4]:Object,
          • stringas_number:"AS40994",
          • stringdescription:"Hohl IT e.U.",
          • stringcountry:"AT",
        • objectpeers[5]:Object,
          • stringas_number:"AS38880",
          • stringdescription:"Micron21 Datacentre Pty Ltd",
          • stringcountry:"AU",
        • objectpeers[6]:Object,
          • stringas_number:"AS266409",
          • stringdescription:"SECW TELECOM",
          • stringcountry:"BR",
        • objectpeers[7]:Object,
          • stringas_number:"AS198150",
          • stringdescription:"SIACOM JSC",
          • stringcountry:"GE",
        • objectpeers[8]:Object,
          • stringas_number:"AS401181",
          • stringdescription:"Cordial",
          • stringcountry:"US",
        • objectpeers[9]:Object,
          • stringas_number:"AS24953",
          • stringdescription:"NETPLANET GmbH",
          • stringcountry:"AT",
        • ... and 756 more
      • stringwhois_response:" # # ARIN WHOIS data and services are subject to the Terms of Use # available at: https://www.arin.n...",
  • ASN Lookup

    Look up an ASN or IP address to gain comprehensive insights through our API. It analyzes key information such as the country of registration, owning organization, ASN classification (e.g., ISP, hosting provider, enterprise, education), peering relationships, upstream and downstream providers, and WHOIS data. The ASN Lookup API offers a complete overview of the ASN, including its allocation date and current status.

    Request
    curl -X GET 'https://api.ipgeolocation.io/v3/asn?apiKey=API_KEY&asn=1'
    Response
    1{
    2  "asn": {
    3    "as_number": "AS1",
    4    "organization": "Level 3 Parent, LLC",
    5    "country": "US",
    6    "asn_name": "LVLT-1",
    7    "type": "BUSINESS",
    8    "domain": "level3.com",
    9    "date_allocated": "",
    10    "allocation_status": "assigned",
    11    "num_of_ipv4_routes": "137",
    12    "num_of_ipv6_routes": "0",
    13    "rir": "ARIN"
    14  }
    15}

    Peer Relationships

    One of the core features provided by the IP and ASN information API is the listing of network peers. Peers are AS organizations that connect directly to exchange traffic without intermediaries. Peering details of any network give insight into its connectivity strength and efficiency. This information is crucial for network operators, content delivery networks (CDNs), and cybersecurity teams. Analyzing the peering relationships of specific AS organizations helps determine the quality of routing paths and optimize latency-sensitive services. A network that peers with multiple global ISPs generally offers fast and reliable access across different regions.

    Request
    curl -X GET 'https://api.ipgeolocation.io/v3/asn?apiKey=API_KEY&asn=1&include=peers'
    Response
    1{
    2  "asn": {
    3    "as_number": "AS1",
    4    "organization": "Level 3 Parent, LLC",
    5    "country": "US",
    6    "...":"..."
    7    "peers": [
    8      {
    9        "as_number": "AS25139",
    10        "description": "TVCABO - Comunicacoes Multimedia, Lda",
    11        "country": "MZ"
    12      },
    13      {
    14        "as_number": "AS7046",
    15        "description": "Verizon Business",
    16        "country": "US"
    17      },
    18      "...":"..."
    19    ]
    20  }
    21}

    Downstream ASNs

    Downstream organizations are the networks or customers that receive internet access from a given ASN. Obtain the list of downstream ASNs of a primary ASN to understand the network's customer base and how it distributes its internet access. This information is useful for understanding the influence and reach of a network. It is also helpful in security operations, where tracking a suspicious IP through its downstream path can assist in identifying the origin of a threat.

    Request
    curl -X GET 'https://api.ipgeolocation.io/v3/asn?apiKey=API_KEY&asn=1&include=downstreams'
    Response
    1{
    2  "asn": {
    3    "as_number": "AS1",
    4    "organization": "Level 3 Parent, LLC",
    5    "country": "US",
    6    "...":"..."
    7    "downstreams": [
    8      {
    9        "as_number": "AS25139",
    10        "description": "TVCABO - Comunicacoes Multimedia, Lda",
    11        "country": "MZ"
    12      }
    13    ]
    14  }
    15}'

    Upstream Providers

    The upstream providers of a target AS organization are the networks that supply its internet connectivity and routing. Knowing the transit providers of an ASN helps in understanding how traffic enters the network and which providers it relies on for connectivity. Understanding upstream relationships helps in making improved backup strategies if an upstream provider goes down or experiences difficulties.

    Request
    curl -X GET 'https://api.ipgeolocation.io/v3/asn?apiKey=API_KEY&asn=1&include=upstreams'
    Response
    1{
    2  "asn": {
    3    "as_number": "AS1",
    4    "organization": "Level 3 Parent, LLC",
    5    "country": "US",
    6    "...":"..."
    7    "upstreams": [
    8      {
    9        "as_number": "AS7046",
    10        "description": "Verizon Business",
    11        "country": "US"
    12      },
    13      {
    14        "as_number": "AS51925",
    15        "description": "NUVEI BULGARIA EOOD",
    16        "country": "BG"
    17      },
    18      "...":"..."
    19    ]
    20  }
    21}

    Routes

    The information returned by ASN Lookup API includes extensive details of the IPv4 and IPv6 routes controlled by a given Autonomous System. These routes represent the IP prefixes announced by the ASN to the global internet routing table. A large number of routes shows that network infrastructure is complex and has regional or global influence. Network engineers, CDNs and cyber security experts use this information for different purposes such as route filtering, threat intelligence correlation, and traffic engineering.

    Request
    curl -X GET 'https://api.ipgeolocation.io/v3/asn?apiKey=API_KEY&asn=1&include=routes'
    Response
    1{
    2  "asn": {
    3    "as_number": "AS1",
    4    "organization": "Level 3 Parent, LLC",
    5    "country": "US",
    6    ...
    7    "routes": [
    8      "63.215.98.24/29",
    9      "8.45.82.48/29",
    10      "8.13.224.128/27",
    11      ...
    12    ]
    13  }
    14}

    Whois Details

    The WHOIS response in the ASN API provides essential registration details about the Autonomous System, including the AS number, name, allocation status, registration and update dates, and the organization responsible for managing the network. This data is useful for network administrators and security teams when communicating with network operators regarding issues. It is available in the WHOIS response field of the API.

    Request
    curl -X GET 'https://api.ipgeolocation.io/v3/asn?apiKey=API_KEY&asn=1&include=whois_response'
    Response
    1{
    2  "asn": {
    3    "as_number": "AS1",
    4    "organization": "Level 3 Parent, LLC",
    5    "country": "US",
    6    "...":"..."
    7    "whois_response": "\n\n\nASNumber:       1\nASName:         LVLT-1\nASHandle:       AS1\nRegDate:        2001-09-20\nUpdated:        2024-06-18 ..."
    8  }
    9}

    Response in Multiple Languages

    You can retrieve the geolocation information for an IP address in the following languages:

    • English FlagEnglish
    • German FlagGerman
    • Russian FlagRussian
    • Japanese FlagJapanese
    • French FlagFrench
    • Chinese Simplified FlagChinese Simplified
    • Spanish FlagSpanish
    • Czech Republic FlagCzech Republic
    • Italian FlagItalian
    • Korean FlagKorean
    • Persian FlagPersian
    • Portuguese FlagPortuguese
    • Standard Arabic FlagStandard Arabic

    Use Cases

    Cybersecurity and Threat Detection

    ASN data helps security teams identify the source of malicious network activity with greater precision. By continuously monitoring ASN-related patterns, security professionals can detect anomalies more quickly and mitigate emerging threats before they escalate. Leveraging this intelligence allows them to make smarter, data-driven decisions, and proactively defend their infrastructure.

    cybersecurity

    Network Performance and Routing Optimization

    Network engineers can analyze ASN data to optimize routing paths and reduce latency. An understanding of peering relationships between ASNs helps them identify the optimal path for data packets, ensuring efficient data delivery and an improved user experience. Additionally, by utilizing peering information, ISPs can bypass transit providers and reduce operational costs.

    route-optimization

    Business and Market Analysis

    By understanding where internet connections are coming from (geolocation) and which network they belong to (ASN information), businesses can get a much clearer and more accurate picture of where their customers are, which internet companies or organizations they use, and how people in different areas are using their services. This deeper understanding enables the creation of more effective marketing strategies, make customer interactions feel more personal, and really focus on reaching the right people to get the best results.

    business-analysis

    Fraud Detection and Prevention

    Financial institutions and e-commerce platforms can use ASN finder tools to identify suspicious transactions and activities originating from high-risk ASNs. By pinpointing these potential threats early, organizations can make smarter decisions, such as implementing additional verification steps, monitoring high-risk traffic more closely, and proactively preventing fraudulent activities. This not only strengthens security measures but also builds greater trust with customers by safeguarding their financial and personal information.

    fraud-prevention

    Network Infrastructure Planning

    By observing ASN peering relationships, upstream providers, and downstream organizations, ISPs can strategically plan which ASes they should connect to in order to make optimal decisions for their network infrastructure. Through careful analysis of traffic patterns, capacity demands, and geographic distribution, ISPs can design a more efficient, resilient, and cost-effective network. This proactive approach improves overall network performance, reduces latency, and minimizes dependency on costly transit providers, ensuring better service quality for end users.

    network-infra

    Ready to get started? Get Started with ASN Lookup API Today

    Enrich every request with precise geolocation and real-time threat intelligence, delivered on a global edge with a 99.99% uptime SLA. Start free and scale when you’re ready.

    CTA Illustration
    CTA Illustration

    Subscribe Our Newsletter

    Get the latest in geolocation tech, straight to your inbox.