---
title: "Returns the WHOIS information by WHOIS IP address or IP address range."
method: GET
path: "/whois/net/{whoisip}"
tags: ["whois"]
---

# Returns the WHOIS information by WHOIS IP address or IP address range.

`GET /whois/net/{whoisip}`

## Request

- Base URL: `https://ipinfo.io`
- URL: `https://ipinfo.io/whois/net/{whoisip}`
- 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/:whoisip/get.ts> (a function with typed inputs; its response is checked against the schema)

The WHOIS API lookup via IP address provides WHOIS information based on a specific IP address or IP address range.
The response contains detailed information about the organization associated with the IP, including the range of addresses, organization name, administrative contacts, abuse contacts, and additional metadata such as the country and contact details for both technical and administrative support.

## Path parameters

- `whoisip` string, required

## Query parameters

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

## Response `200`

WHOIS IP  and IP range response.

- WhoisIpResponse
  - `net` string
  - `total` integer
  - `page` integer
  - `records` object[]
    - `range` string
    - `id` string
    - `name` string
    - `country` string
    - `org` 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)
