capabilities.work

IP Geolocated Weather

A 3-step recipe with WeatherAPI. We can help you get access.

Recipe · 3 steps

IP Geolocated Weather

Geolocate an IP and return current weather plus a forecast for it.

  1. Geolocate the supplied IP address to a latitude and longitude plus timezone.
  2. Fetch current weather for the geolocated coordinate using the lat,lon query form.
  3. 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.