IP Geolocated Weather
A 3-step recipe with WeatherAPI. We can help you get access.
Recipe · 3 steps
IP Geolocated Weather
with WeatherAPI
Geolocate an IP and return current weather plus a forecast for it.
- Geolocate the supplied IP address to a latitude and longitude plus timezone.
- Fetch current weather for the geolocated coordinate using the lat,lon query form.
- Fetch a short forecast for the same geolocated coordinate.
What you'll need to have ready
- ip: IPv4, IPv6 address, or auto:ip to geolocate.
- days: Number of forecast days to return (1-14, plan dependent).
For your developer
Arazzo workflow weatherapi:ip-geolocated-weather, 3 operations: ipLookup → getCurrentWeather → getForecast. Specs on APIs.io.