whois

Returns the WHOIS information by WHOIS ASN.

The IPinfo WHOIS API lookup via ASN provides in-depth WHOIS information associated with a specific Autonomous System Number (ASN). Querying ASN reveals critical data, including the organization's name, the allocated IP range, and the country of operation. The response includes administrative and technical contact information, highlighting the contact person along with their address and phone number. Additionally, the API provides details for abuse reporting, including a dedicated email for abuse contacts. This comprehensive dataset is essential for network administrators, security professionals, and organizations needing to investigate ASN ownership and maintain network integrity.

get/whois/net/AS{asn}

Request

Path parameters

asninteger required

an ASN number.

Query parameters

pageinteger

The page query parameter can be used to go through paginated records. page starts at 0 and the parameter is part of the response when included in request.

whoissource'arin' | 'ripe' | 'afrinic' | 'apnic' | 'lacnic'

Source query parameter to filter records by provided Whois source.

Response

WHOIS ASN response.

netstring
totalinteger
pageinteger

Example response

{
  "net": "AS9541",
  "total": 47,
  "page": 0,
  "records": [
    {
      "range": "58.65.203.0/24",
      "id": "CYBERNET",
      "name": "Broadband Services",
      "country": "PK",
      "org": null,
      "status": "ALLOCATED NON-PORTABLE",
      "admin": "POC object or null",
      "abuse": "POC object or null",
      "tech": "POC object or null",
      "maintainer": "POC object or null",
      "updated": "2021-01-27",
      "source": "apnic",
      "raw": "<raw data>"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.