# Describe the caller's public IP address (/api-reference/ip-lookup-api/getClientIpInfo)

Returns location, network owner, network type and proxy-list membership for the IP address the request arrives from, plus the client OS and browser and header-only automation signals. Data comes only from local datasets bundled with the API; no third-party service is called. Fields that no dataset knows are null. Rate limited to 120 requests per minute per IP address.

## GET /api/v1/ip

Describe the caller's public IP address

- Operation ID: `getClientIpInfo`

- Tags: `IP Lookup API`

Returns location, network owner, network type and proxy-list membership for the IP address the request arrives from, plus the client OS and browser and header-only automation signals. Data comes only from local datasets bundled with the API; no third-party service is called. Fields that no dataset knows are null. Rate limited to 120 requests per minute per IP address.

### Responses

- **200** — Caller IP information Error body uses the documented PublicError DTO.

  - `application/json`: #/components/schemas/ClientIpInfo

  - Example: `{
  "ip": "8.8.8.8",
  "version": 4,
  "country": {
    "code": "US",
    "name": "United States"
  },
  "continent": {
    "code": "NA",
    "name": "North America"
  },
  "city": null,
  "location": {
    "latitude": 37.751,
    "longitude": -97.822,
    "timezone": "America/Chicago"
  },
  "asn": {
    "number": 15169,
    "name": "Google LLC",
    "domain": "google.com"
  },
  "network": {
    "type": "datacenter"
  },
  "reputation": {
    "listed_as_proxy": false
  },
  "client": {
    "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36",
    "os": {
      "name": "Windows",
      "version": "10"
    },
    "browser": {
      "name": "Chrome",
      "version": "130.0.0.0",
      "engine": "Blink"
    },
    "device": {
      "type": "desktop"
    },
    "accept_language": "en-US,en;q=0.9"
  },
  "detection": {
    "verdict": "clean",
    "signals": []
  }
}`

- **400** — Client IP address could not be determined Error body uses the documented PublicError DTO.

  - `application/json`: #/components/schemas/PublicError

  - Example: `{
  "error": "Request failed",
  "code": "VALIDATION_ERROR",
  "message": "Client IP address could not be determined Error body uses the documented PublicError DTO.",
  "requestId": "req_01J2QG"
}`

- **429** — Rate limit exceeded Error body uses the documented PublicError DTO.

  - `application/json`: #/components/schemas/PublicError

  - Example: `{
  "error": "Request failed",
  "code": "RATE_LIMIT",
  "message": "Rate limit exceeded Error body uses the documented PublicError DTO.",
  "requestId": "req_01J2QG"
}`

### Referenced OpenAPI components

#### `#/components/schemas/ClientIpInfo`

```json

{
  "allOf": [
    {
      "$ref": "#/components/schemas/IpInfo"
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "client",
        "detection"
      ],
      "properties": {
        "client": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "user_agent",
            "os",
            "browser",
            "device",
            "accept_language"
          ],
          "description": "Client parsed from the request User-Agent; Chromium Client Hints are only cross-checked.",
          "properties": {
            "user_agent": {
              "type": [
                "string",
                "null"
              ]
            },
            "os": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": false,
              "required": [
                "name",
                "version"
              ],
              "properties": {
                "name": {
                  "type": "string"
                },
                "version": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            },
            "browser": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": false,
              "required": [
                "name",
                "version",
                "engine"
              ],
              "properties": {
                "name": {
                  "type": "string"
                },
                "version": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "engine": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Rendering engine, for example Blink, Gecko or WebKit."
                }
              }
            },
            "device": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "desktop, mobile, tablet or tv when known."
                }
              }
            },
            "accept_language": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        },
        "detection": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "verdict",
            "signals"
          ],
          "description": "Header-only automation and spoofing signals. headless_user_agent: the User-Agent names a headless browser. unknown_browser: no browser could be identified. missing_accept_language and missing_sec_fetch_headers: headers every modern browser sends are absent. client_hints_missing: a Chromium User-Agent arrived without Sec-CH-UA. client_hints_browser_mismatch, client_hints_platform_mismatch and client_hints_mobile_mismatch: Sec-CH-UA, Sec-CH-UA-Platform or Sec-CH-UA-Mobile contradict the User-Agent. language_country_mismatch: the region of the first Accept-Language entry differs from the IP country.",
          "properties": {
            "verdict": {
              "type": "string",
              "enum": [
                "clean",
                "suspicious"
              ]
            },
            "signals": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "headless_user_agent",
                  "unknown_browser",
                  "missing_accept_language",
                  "missing_sec_fetch_headers",
                  "client_hints_missing",
                  "client_hints_browser_mismatch",
                  "client_hints_platform_mismatch",
                  "client_hints_mobile_mismatch",
                  "language_country_mismatch"
                ]
              }
            }
          }
        }
      }
    }
  ]
}

```

#### `#/components/schemas/PublicError`

```json

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "error",
    "code",
    "message",
    "requestId"
  ],
  "properties": {
    "error": {
      "type": "string"
    },
    "code": {
      "type": "string",
      "description": "Stable public error code. PROXY_QUOTE_EXPIRED means the optional quote_version supplied at admission is no longer current; refresh the pricing view and submit again."
    },
    "message": {
      "type": "string"
    },
    "requestId": {
      "type": "string"
    }
  }
}

```

#### `#/components/schemas/IpInfo`

```json

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "ip",
    "version",
    "country",
    "continent",
    "city",
    "location",
    "asn",
    "network",
    "reputation"
  ],
  "properties": {
    "ip": {
      "type": "string",
      "description": "Looked-up IP address in canonical form."
    },
    "version": {
      "type": "integer",
      "enum": [
        4,
        6
      ]
    },
    "country": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": false,
      "required": [
        "code",
        "name"
      ],
      "properties": {
        "code": {
          "type": "string",
          "description": "ISO 3166-1 alpha-2 country code."
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "continent": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": false,
      "required": [
        "code",
        "name"
      ],
      "properties": {
        "code": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "city": {
      "type": [
        "string",
        "null"
      ]
    },
    "location": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": false,
      "required": [
        "latitude",
        "longitude",
        "timezone"
      ],
      "properties": {
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        },
        "timezone": {
          "type": [
            "string",
            "null"
          ],
          "description": "IANA time zone name."
        }
      }
    },
    "asn": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": false,
      "required": [
        "number",
        "name",
        "domain"
      ],
      "properties": {
        "number": {
          "type": "integer"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "domain": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "network": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "datacenter",
            "residential",
            null
          ],
          "description": "Network class; null when the bundled datasets cannot classify the address."
        }
      }
    },
    "reputation": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "listed_as_proxy"
      ],
      "properties": {
        "listed_as_proxy": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Whether the address appears in a known proxy list; null when the list is unavailable."
        }
      }
    }
  }
}

```

### Complete operation object

```json

{
  "operationId": "getClientIpInfo",
  "tags": [
    "IP Lookup API"
  ],
  "summary": "Describe the caller's public IP address",
  "description": "Returns location, network owner, network type and proxy-list membership for the IP address the request arrives from, plus the client OS and browser and header-only automation signals. Data comes only from local datasets bundled with the API; no third-party service is called. Fields that no dataset knows are null. Rate limited to 120 requests per minute per IP address.",
  "security": [],
  "x-mcp-exclude": true,
  "responses": {
    "200": {
      "description": "Caller IP information Error body uses the documented PublicError DTO.",
      "headers": {
        "Cache-Control": {
          "schema": {
            "type": "string",
            "enum": [
              "no-store"
            ]
          }
        }
      },
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/ClientIpInfo"
          },
          "example": {
            "ip": "8.8.8.8",
            "version": 4,
            "country": {
              "code": "US",
              "name": "United States"
            },
            "continent": {
              "code": "NA",
              "name": "North America"
            },
            "city": null,
            "location": {
              "latitude": 37.751,
              "longitude": -97.822,
              "timezone": "America/Chicago"
            },
            "asn": {
              "number": 15169,
              "name": "Google LLC",
              "domain": "google.com"
            },
            "network": {
              "type": "datacenter"
            },
            "reputation": {
              "listed_as_proxy": false
            },
            "client": {
              "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36",
              "os": {
                "name": "Windows",
                "version": "10"
              },
              "browser": {
                "name": "Chrome",
                "version": "130.0.0.0",
                "engine": "Blink"
              },
              "device": {
                "type": "desktop"
              },
              "accept_language": "en-US,en;q=0.9"
            },
            "detection": {
              "verdict": "clean",
              "signals": []
            }
          }
        }
      }
    },
    "400": {
      "description": "Client IP address could not be determined Error body uses the documented PublicError DTO.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PublicError"
          },
          "example": {
            "error": "Request failed",
            "code": "VALIDATION_ERROR",
            "message": "Client IP address could not be determined Error body uses the documented PublicError DTO.",
            "requestId": "req_01J2QG"
          }
        }
      },
      "x-docs-retryable": false
    },
    "429": {
      "description": "Rate limit exceeded Error body uses the documented PublicError DTO.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/PublicError"
          },
          "example": {
            "error": "Request failed",
            "code": "RATE_LIMIT",
            "message": "Rate limit exceeded Error body uses the documented PublicError DTO.",
            "requestId": "req_01J2QG"
          }
        }
      },
      "x-docs-retryable": true
    }
  },
  "servers": [
    {
      "url": "https://api.runharvester.com",
      "description": "RunHarvester public API"
    }
  ]
}

```