---
updatedAt: 2025-06-05T21:08:33.000Z
agentTools:
  projectIndex: https://docs.securitytrails.com/llms.txt
---

# Get IP Whois

Fetch current IP information for a single IPv4 address.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "SecurityTrails API",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.securitytrails.com/v1"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/ips/{ipaddress}/whois": {
      "get": {
        "summary": "Get IP Whois",
        "description": "Fetch current IP information for a single IPv4 address.",
        "operationId": "get-ip-whois-old",
        "parameters": [
          {
            "name": "ipaddress",
            "in": "path",
            "description": "The IPv4 address you want to fetch the WHOIS for.",
            "schema": {
              "type": "string",
              "default": "1.1.1.1"
            },
            "required": true
          },
          {
            "name": "apikey",
            "in": "query",
            "description": "Your SecurityTrails API key. See [authentication documentation](https://docs.securitytrails.com/docs/authentication)",
            "required": true,
            "schema": {
              "type": "string",
              "default": "your_api_key"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"endpoint\": \"/v1/ips/1.1.1.1/whois\",\n  \"record\": {\n    \"contact_email\": \"abuse@apnic.net\",\n    \"contacts\": [\n      {\n        \"city\": \"South Brisbane, QLD 4101\",\n        \"country\": \"AUSTRALIA\",\n        \"country_code\": \"AU\",\n        \"email\": \"helpdesk@apnic.net,research@apnic.net\",\n        \"fax\": \"6173858319961738583199\",\n        \"organization\": \"APNIC Research and Development\",\n        \"postal_code\": \"PO Box 3646\",\n        \"street1\": \"6 Cordelia St\",\n        \"telephone\": \"6173858310061738583188\",\n        \"type\": \"registrant\"\n      }\n    ],\n    \"ip\": \"1.1.1.1\",\n    \"source\": \"ORG-ARAD1-AP\"\n  }\n}\n"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "endpoint": {
                      "type": "string",
                      "example": "/v1/ips/1.1.1.1/whois"
                    },
                    "record": {
                      "type": "object",
                      "properties": {
                        "contact_email": {
                          "type": "string",
                          "example": "abuse@apnic.net"
                        },
                        "contacts": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "city": {
                                "type": "string",
                                "example": "South Brisbane, QLD 4101"
                              },
                              "country": {
                                "type": "string",
                                "example": "AUSTRALIA"
                              },
                              "country_code": {
                                "type": "string",
                                "example": "AU"
                              },
                              "email": {
                                "type": "string",
                                "example": "helpdesk@apnic.net,research@apnic.net"
                              },
                              "fax": {
                                "type": "string",
                                "example": "6173858319961738583199"
                              },
                              "organization": {
                                "type": "string",
                                "example": "APNIC Research and Development"
                              },
                              "postal_code": {
                                "type": "string",
                                "example": "PO Box 3646"
                              },
                              "street1": {
                                "type": "string",
                                "example": "6 Cordelia St"
                              },
                              "telephone": {
                                "type": "string",
                                "example": "6173858310061738583188"
                              },
                              "type": {
                                "type": "string",
                                "example": "registrant"
                              }
                            }
                          }
                        },
                        "ip": {
                          "type": "string",
                          "example": "1.1.1.1"
                        },
                        "source": {
                          "type": "string",
                          "example": "ORG-ARAD1-AP"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"message\": \"Invalid request\"\n}\n"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Invalid request"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```