geolocation from ip
This block is part of the value group and was last modified in core v14.0.3.
geolocation from ip v14.0.3 Retrieves location data (city, province, country, continent, timezone) from an IPv4/IPv6 address using a geo database. No coordinates are returned
- value required
valueThe IPv4 or IPv6 to geolocate from
- success
conditionIndicates if the lookup succeeded
- city
valueCity nearby the IP
- province
valueProvince nearby the IP
- country
valueCountry of the resident of the IP
- continent
valueContinent of the resident of the IP
- timezone
valueTimezone of the country
- Accuracy
numberAccuracy Radius in km
- error
valueShown error if the lookup failed
Resolves an IP to city, province, country, continent, timezone and accuracy_radius (km); NO latitude/longitude outputs exist. An empty ip is looked up as 0.0.0.0. On any failure success stays false, the location pins stay nil, and error carries INVALID_IP, GEOLOCATOR_NOT_AVAILABLE, LOOKUP_FAILED or NOT_FOUND.
A typical wiring for geolocation from IP: value feeds the ip pin; the success out pin feeds branch.
Version history
Introduced in v14.0.3.
Back to
value Return to the main group to view all sub-groups Back to custom Return to the group to view all blocks within this group 