Whats My Ip
This endpoint returns the IP address of the requester.
/data/whats-my-ip/data.json
Parameters
Key | Value | Info | Required |
---|---|---|---|
- | - | - |
Data Output
Key | Info |
---|---|
ip | contains 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));