---
title: "Get Your Public IP"
method: GET
path: "/v1/ip"
tags: ["IP Lookup"]
---

# Get Your Public IP

`GET /v1/ip`

## Request

- Base URL: `https://api.edgegap.com`
- URL: `https://api.edgegap.com/v1/ip`
- Auth: API key in header `authorization`

Retrieve your public IP address.

## Response `200`

Success

- IPAddressResponse
  - `public_ip` string, required: Public IP Address

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/edgegap/apis/edgegap-v1.md) · [All operations](https://skmtc.dev/edgegap/apis/edgegap-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/edgegap/apis/edgegap-v1/revisions/9fa2b393a6be?raw)
