# An IPv6 Address (HTTP 400)

An IPv6 address (ip=2001:4860:4860::8888, Google Public DNS): the API answered HTTP 400, "The given input is not a valid IP."

Source: https://docs.deepinfo.com/reference/lookup/ip-whois/examples/ipv6/

Last updated: 2026-09-24

---
`GET https://api.deepinfo.com/v1/lookup/ip-whois?ip=2001%3A4860%3A4860%3A%3A8888`

An IPv6 address (ip=2001:4860:4860::8888, Google Public DNS): the API answered HTTP 400, "The given input is not a valid IP."

Example 2 of 8 · [IP WHOIS Examples](/reference/lookup/ip-whois/examples/) · endpoint: [IP WHOIS](/reference/lookup/ip-whois/)

Tags: `param` `ip` · `value` `2001:4860:4860::8888`

Asks for the IP WHOIS record of `2001:4860:4860::8888`, the IPv6 address of Google Public DNS.

The reference describes `ip` as an IPv4 or IPv6 address, but on September 24, 2026 the API answered HTTP 400 for every IPv6 address we tried, in short and in full notation: `code` `10400`, and for the parameter `ip` the subcode `12000` with "The given input is not a valid IP.". Until IPv6 addresses are accepted, look up IPv4 addresses only.

## Request

| Parameter | In | Value |
|---|---|---|
| `ip` | query | `2001:4860:4860::8888` |

```bash
curl 'https://api.deepinfo.com/v1/lookup/ip-whois?ip=2001%3A4860%3A4860%3A%3A8888' \
  -H 'apikey: YOUR_API_KEY' \
  -H 'Accept: application/json'
```

## Response

### 400 · Bad Request

`Content-Type: application/json` · `ratelimit-limit: 1` · `ratelimit-remaining: 0` · `ratelimit-reset: 1` · `x-ratelimit-limit-second: 1` · `x-ratelimit-remaining-second: 0` · `deepinfo-request-id: 5f0c6a8e-1b2d-4c3e-9f4a-7b8c9d0e1f2a`

```json
{
  "code": 10400,
  "parameters": [
    {
      "param": "ip",
      "subcode": 12000,
      "details": [
        "The given input is not a valid IP."
      ]
    }
  ],
  "solution": "https://docs.deepinfo.com/reference/"
}
```

## Related Examples

- [Google Public DNS (ARIN)](/reference/lookup/ip-whois/examples/arin-google-dns/)
- [Quad9 DNS (ARIN)](/reference/lookup/ip-whois/examples/arin-quad9/)
- [A Cloudflare Web Address (ARIN)](/reference/lookup/ip-whois/examples/arin-cloudflare/)
- [Cloudflare DNS (APNIC)](/reference/lookup/ip-whois/examples/apnic-cloudflare-dns/)
- [Yandex DNS (RIPE NCC)](/reference/lookup/ip-whois/examples/ripe-yandex-dns/)
- [A Brazilian DNS Server (LACNIC)](/reference/lookup/ip-whois/examples/lacnic-nic-br/)
