---
title: "Get a random public IP address."
method: GET
path: "/random/ip/"
tags: ["Random"]
---

# Get a random public IP address.

`GET /random/ip/`

Returns a random public IP address.

## Query parameters

- `version` string

## Response `200`

Success

- ResultStr
  - `result` string

## Other responses

- `400` — Invalid IP protocol version.

## Changes

- **2022-05-27** `d707d70e97da` — 1 info
  - endpoint added
- **2022-04-29** `320f28510c71` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/elmasy-com/apis/elmasy-api/changes/random/ip/get.md)

---

[API](https://skmtc.dev/elmasy-com/apis/elmasy-api.md) · [All operations](https://skmtc.dev/elmasy-com/apis/elmasy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/elmasy-com/elmasy-api/revisions/7e77337b2cee/schema)
