---
title: "Returns the WHOIS information by Net ID lookup."
method: GET
path: "/whois/net/{whoisnetid}"
tags: ["whois"]
---

# Returns the WHOIS information by Net ID lookup.

`GET /whois/net/{whoisnetid}`

## Request

- Base URL: `https://ipinfo.io`
- URL: `https://ipinfo.io/whois/net/{whoisnetid}`
- Auth: one of:
  - HTTP basic
  - HTTP bearer
  - API key in query parameter `token`
- TypeScript: <https://skmtc.dev/ipinfo/apis/ipinfo-io-openapi-specification/docs/whois/net/:whoisnetid/get.ts> (a function with typed inputs; its response is checked against the schema)

This API endpoint allows users to retrieve WHOIS information based on a specified Net ID.
The response includes details such as the IP address range, organization name, country, and various administrative information related to the network.

## Path parameters

- `whoisnetid` string, required

## Query parameters

- `page` integer
- `whoissource` 'arin' | 'ripe' | 'afrinic' | 'apnic' | 'lacnic'

## Response `200`

WHOIS Network (NET) ID response.

- WhoisNetIdResponse
  - `net` string
  - `total` integer
  - `page` integer
  - `records` object[]
    - `range` string
    - `id` string
    - `name` string
    - `country` string
    - `org` string
    - `admin` string
    - `abuse` string
    - `tech` string
    - `maintainer` string
    - `updated` string, date
    - `status` string
    - `source` string
    - `raw` string

---

[API](https://skmtc.dev/ipinfo/apis/ipinfo-io-openapi-specification.md) - [All operations](https://skmtc.dev/ipinfo/apis/ipinfo-io-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/ipinfo/apis/ipinfo-io-openapi-specification/revisions/c63f11e4f26e?raw)
