Reset Password
Check your e-mail for further instructions.
Reset
Name
getip
Auth
No
Description
Get the IP address of the remote device from which the user connects to the API.
URL
https://api.pcloud.com/getip
Output
Returns ip - the remote address of the user that is connecting to the API.
Also, returns country - lowercase two-letter code of the country that is defined according to the remote address. If the country could not be defined, then this fields is false.
Example
{ "result": 0, "ip": "127.0.0.1", "country": "gb" ] }