This query returns times for all sunrise and sunsets for a specified location that day.
- API endpoint slug
- sunrise_sunset_org.sunrise_and_sunset
- Runtime method
- performQuery("sunrise_sunset_org.sunrise_and_sunset")
Query fields
- Label
- What latitude?
- Helper text
- e.g. 37.78
- Slug
- latitude
- Required
- true
- Can have default value
- true
- Label
- What longitude?
- Helper text
- e.g. -122.40
- Slug
- longitude
- Required
- true
- Can have default value
- true
- Label
- What day do you want data for?
- Helper text
- If left blank data will be for current date. Format YYYY-MM-DD
- Slug
- data_date
- Required
- false
- Can have default value
- true
Ingredients
- Slug
- sunrise
- Filter code
- SunriseSunsetOrg.sunriseAndSunset.Sunrise
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- sunset
- Filter code
- SunriseSunsetOrg.sunriseAndSunset.Sunset
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- solar_noon
- Filter code
- SunriseSunsetOrg.sunriseAndSunset.SolarNoon
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- day_length
- Filter code
- SunriseSunsetOrg.sunriseAndSunset.DayLength
- Type
- String
- Example
- https://sunrise-sunset.org/api
- Slug
- civil_sunrise
- Filter code
- SunriseSunsetOrg.sunriseAndSunset.FirstLight
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- civil_sunset
- Filter code
- SunriseSunsetOrg.sunriseAndSunset.LastLight
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- nautical_sunrise
- Filter code
- SunriseSunsetOrg.sunriseAndSunset.NauticalSunrise
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- nautical_sunset
- Filter code
- SunriseSunsetOrg.sunriseAndSunset.NauticalSunset
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- astronomical_sunrise
- Filter code
- SunriseSunsetOrg.sunriseAndSunset.AstronomicalSunrise
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- astronomical_sunset
- Filter code
- SunriseSunsetOrg.sunriseAndSunset.AstronomicalSunset
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- date
- Filter code
- SunriseSunsetOrg.sunriseAndSunset.Date
- Type
- Date (ISO8601)
- Example
- 2020-07-07