Sun & Weather Information via Coordinates avatar
Sun & Weather Information via Coordinates

Pricing

from $9.90 / 1,000 results

Go to Apify Store
Sun & Weather Information via Coordinates

Sun & Weather Information via Coordinates

You can check the sun and weather details for any location via its lat and long coordinates. It will provide some info, like sunrise, sunset, day length, etc. Similarly, temp, humidity, etc

Pricing

from $9.90 / 1,000 results

Rating

5.0

(3)

Developer

Acceleration

Acceleration

Maintained by Community

Actor stats

0

Bookmarked

5

Total users

4

Monthly active users

3 days ago

Last modified

Categories

Share

Sun & Weather Data via Longitude and Latitude

This actor collects sun (astronomical) and weather data for given coordinates (latitude & longitude) and outputs the results suitable for research and different analytics purposes.


Overview

Given one or more locations, this actor:

  1. Resolves city and country .
  2. Fetches sun data (sunrise, sunset, twilight, solar noon, day length).
  3. Fetches weather data (temperature, wind, humidity, precipitation, UV index).
  4. Merges sun and weather data by date.

Input

Required

FieldTypeDescription
latitudenumberLatitude (-90 to 90)
longitudenumberLongitude (-180 to 180).
daysnumberNo of days to fetch (default: 7, max: 14)

⚠️ Make sure to enter coordinates at the center of the city. For example:

Lahore, Pakistan → lat: 31.5497, lon: 74.3436 Kosti, Sudan → lat: 12.45, lon: 32.75433

Note: District and areas inside cities wise will be added soon.


Output:

Tabular Form:

datecitycountrylatitudelongitudesunrisesunsetday_lengthday_diffastronomical_twilight_startastronomical_twilight_endnautical_twilight_startnautical_twilight_endcivil_twilight_startcivil_twilight_endsolar_noondistance_mil_kmtemperatureweather_conditionfeels_likewindhumidityprecipitation_chanceprecipitation_amountuv_index
2026-01-07LahorePakistan31.549774.34367:03 am ↑ (116°)5:14 pm ↑ (244°)10:11:45+0:435:36 am6:41 pm6:06 am6:11 pm6:36 am5:41 pm12:08 pm (36.1°)91.40863 / 35 °FSunny.62 °F3 mph51%0%0.00"3 (Moderate)

JSON Form:

{
"date": "2026-01-07",
"city": "Lahore",
"country": "Pakistan",
"latitude": 31.5497,
"longitude": 74.3436,
"sunrise": "7:03 am ↑ (116°)",
"sunset": "5:14 pm ↑ (244°)",
"day_length": "10:11:45",
"day_diff": "+0:43",
"astronomical_twilight_start": "5:36 am",
"astronomical_twilight_end": "6:41 pm",
"nautical_twilight_start": "6:06 am",
"nautical_twilight_end": "6:11 pm",
"civil_twilight_start": "6:36 am",
"civil_twilight_end": "5:41 pm",
"solar_noon": "12:08 pm (36.1°)",
"distance_mil_km": "91.408",
"temperature": "63 / 35 °F",
"weather_condition": "Sunny.",
"feels_like": "62 °F",
"wind": "3 mph",
"humidity": "51%",
"precipitation_chance": "0%",
"precipitation_amount": "0.00\"",
"uv_index": "3 (Moderate)"
}

Data Sources

Our main data source is TimeAndDate.com.

Sun Data

Sun data includes:

  • Sunrise & sunset
  • Day length & daily change
  • Civil, nautical & astronomical twilight
  • Solar noon
  • Earth–Sun distance

Important: For any astronomical data (including past months or historical dates), always use the sun scraper.


Weather Data

Weather shows basic attributes, like:

  • Temperature (min/max)
  • Weather condition
  • Wind
  • Humidity
  • Precipitation chance & amount
  • UV index

Future Enhancements

Right now it gives information for next 14 days ,Historical weather & sun data support will be added in near future.


How to Use

  1. Provide latitude & longitude
  2. Run the actor
  3. Download dataset as CSV / JSON
  4. Analyze or visualize data

Use Cases

  • Climate & weather research
  • Travel & Tourism Analytics
  • Solar energy planning
  • Construction scheduling
  • Agriculture & farming
  • AI / ML feature generation
  • Location-based dashboards