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.
Request
- Base URLhttps://ipinfo.io
- Auth
- HTTP basic
- or HTTP bearer
- or API key in query parameter token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
an ASN number.
Query parameters
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.
Source query parameter to filter records by provided Whois source.
Response
WHOIS ASN response.
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.