Skip to content

Whats My Ip


This endpoint returns the IP address of the requester.

/data/whats-my-ip/data.json
Try it

Parameters

KeyValueInfoRequired
---

Data Output

KeyInfo
ipcontains the requester's IP address

Code Examples

bash
curl --location --request GET "https://stat.ripe.net/data/whats-my-ip/data.json"
js
const requestOptions = {
	method: 'GET',
};

fetch("https://stat.ripe.net/data/whats-my-ip/data.json", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));

Available versions for this endpoint:

0.1 (current)