Skip to content

WhatIsMyIp

airvpn.api.whatismyip

WhatIsMyIp

Your IP address, and a check if you are reaching API from our VPN or not.

Access type

Public, no API KEY required.

fetch() -> IpInfo

Fetch the current IP address and geolocation info.

Returns:

Type Description
IpInfo

An IpInfo object containing the detected IP, IP version flags, AirVPN status, and geolocation details.

Raises:

Type Description
RateLimited

If too many requests go through.

APIError

If the request results in an error.