---
title: "Get current IP"
method: GET
path: "/api/user/current-ip"
tags: ["User"]
---

# Get current IP

`GET /api/user/current-ip`

## Request

- Base URL: `https://demo.hitkeep.com`
- URL: `https://demo.hitkeep.com/api/user/current-ip`
- Auth: API key in cookie `hk_token`

Returns the resolved client IP and single-host CIDR for quick exclusion setup.

## Response `200`

Current IP

- object
  - `cidr` string, required
  - `ip` string, required

---

[API](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api.md) · [All operations](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hitkeep/apis/hitkeep-rest-api/revisions/bb2df36ab2a4?raw)
