---
title: "Get client IP and user agent"
method: GET
path: "/ip"
tags: ["IP"]
---

# Get client IP and user agent

`GET /ip`

## Request

- Base URL: `https://dummyjson.com`
- URL: `https://dummyjson.com/ip`
- Auth: none required

## Response `200`

Client info

- ClientInfo
  - `ip` string
  - `userAgent` string

---

[API](https://skmtc.dev/dummyjson/apis/dummyjson-api.md) - [All operations](https://skmtc.dev/dummyjson/apis/dummyjson-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dummyjson/apis/dummyjson-api/revisions/5e704f33a559?raw)
