{"api":{"id":"api_a9c98b63a9c6663aecc8e9dc","slug":"sunrise-sunset-times","name":"Sunrise & Sunset Times API","description":"Daylight times for any latitude and longitude on any list of dates: sunrise, sunset, solar noon, day length and civil, nautical and astronomical twilight, in UTC. Built for tour operators, photographers and event planners.","kind":"ready_made","visibility":"public","domain":"sunrise-sunset.org","source_url":"https://sunrise-sunset.org/api","category":"public_data","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":14,"created_at":"2026-12-06T03:57:27.712Z","updated_at":"2026-12-06T03:57:27.712Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"Latitude, longitude and date joined, unique for each record.","required":true,"coverage":1,"example":"43.65,-79.38,2026-12-21"},{"name":"date","type":"date","description":"The day the times are for.","required":false,"coverage":1,"example":"2026-12-21"},{"name":"latitude","type":"number","description":"Latitude asked for.","required":false,"coverage":1,"example":43.65},{"name":"longitude","type":"number","description":"Longitude asked for.","required":false,"coverage":1,"example":-79.38},{"name":"sunrise","type":"datetime","description":"Sunrise (UTC).","required":false,"coverage":1,"example":"2026-12-21T12:47:46.000Z"},{"name":"sunset","type":"datetime","description":"Sunset (UTC).","required":false,"coverage":1,"example":"2026-12-21T21:43:36.000Z"},{"name":"solar_noon","type":"datetime","description":"Solar noon (UTC).","required":false,"coverage":1,"example":"2026-12-21T17:15:41.000Z"},{"name":"day_length_seconds","type":"integer","description":"Length of daylight in seconds.","required":false,"coverage":1,"example":32150},{"name":"civil_twilight_begin","type":"datetime","description":"Start of civil twilight (UTC).","required":false,"coverage":1,"example":"2026-12-21T12:15:02.000Z"},{"name":"civil_twilight_end","type":"datetime","description":"End of civil twilight (UTC).","required":false,"coverage":1,"example":"2026-12-21T22:16:20.000Z"},{"name":"nautical_twilight_begin","type":"datetime","description":"Start of nautical twilight (UTC).","required":false,"coverage":1,"example":"2026-12-21T11:38:43.000Z"},{"name":"nautical_twilight_end","type":"datetime","description":"End of nautical twilight (UTC).","required":false,"coverage":1,"example":"2026-12-21T22:52:39.000Z"},{"name":"astronomical_twilight_begin","type":"datetime","description":"Start of astronomical twilight (UTC).","required":false,"coverage":1,"example":"2026-12-21T11:03:46.000Z"},{"name":"astronomical_twilight_end","type":"datetime","description":"End of astronomical twilight (UTC).","required":false,"coverage":1,"example":"2026-12-21T23:27:36.000Z"}],"inputs":[{"name":"latitude","type":"string","description":"Latitude in decimal degrees, such as 43.65.","example":"43.65","required":true},{"name":"longitude","type":"string","description":"Longitude in decimal degrees, such as -79.38.","example":"-79.38","required":true},{"name":"dates","type":"array","description":"Dates as yyyy-mm-dd, such as [\"2026-12-21\"].","example":["2026-12-21"],"required":true}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"astronomical_twilight_begin":{"description":"Start of astronomical twilight (UTC).","format":"date-time","type":"string"},"astronomical_twilight_end":{"description":"End of astronomical twilight (UTC).","format":"date-time","type":"string"},"civil_twilight_begin":{"description":"Start of civil twilight (UTC).","format":"date-time","type":"string"},"civil_twilight_end":{"description":"End of civil twilight (UTC).","format":"date-time","type":"string"},"date":{"description":"The day the times are for.","format":"date","type":"string"},"day_length_seconds":{"description":"Length of daylight in seconds.","type":"integer"},"id":{"description":"Latitude, longitude and date joined, unique for each record.","type":"string"},"latitude":{"description":"Latitude asked for.","type":"number"},"longitude":{"description":"Longitude asked for.","type":"number"},"nautical_twilight_begin":{"description":"Start of nautical twilight (UTC).","format":"date-time","type":"string"},"nautical_twilight_end":{"description":"End of nautical twilight (UTC).","format":"date-time","type":"string"},"solar_noon":{"description":"Solar noon (UTC).","format":"date-time","type":"string"},"sunrise":{"description":"Sunrise (UTC).","format":"date-time","type":"string"},"sunset":{"description":"Sunset (UTC).","format":"date-time","type":"string"}},"required":["id"],"title":"Sunrise & Sunset Times API","type":"object"},"samples":[{"id":"43.65,-79.38,2026-12-21","date":"2026-12-21","latitude":43.65,"longitude":-79.38,"sunrise":"2026-12-21T12:47:46.000Z","sunset":"2026-12-21T21:43:36.000Z","solar_noon":"2026-12-21T17:15:41.000Z","day_length_seconds":32150,"civil_twilight_begin":"2026-12-21T12:15:02.000Z","civil_twilight_end":"2026-12-21T22:16:20.000Z","nautical_twilight_begin":"2026-12-21T11:38:43.000Z","nautical_twilight_end":"2026-12-21T22:52:39.000Z","astronomical_twilight_begin":"2026-12-21T11:03:46.000Z","astronomical_twilight_end":"2026-12-21T23:27:36.000Z"},{"id":"43.65,-79.38,2026-12-22","date":"2026-12-22","latitude":43.65,"longitude":-79.38,"sunrise":"2026-12-22T12:48:15.000Z","sunset":"2026-12-22T21:44:07.000Z","solar_noon":"2026-12-22T17:16:11.000Z","day_length_seconds":32152,"civil_twilight_begin":"2026-12-22T12:15:31.000Z","civil_twilight_end":"2026-12-22T22:16:51.000Z","nautical_twilight_begin":"2026-12-22T11:39:13.000Z","nautical_twilight_end":"2026-12-22T22:53:10.000Z","astronomical_twilight_begin":"2026-12-22T11:04:16.000Z","astronomical_twilight_end":"2026-12-22T23:28:06.000Z"},{"id":"43.65,-79.38,2026-12-23","date":"2026-12-23","latitude":43.65,"longitude":-79.38,"sunrise":"2026-12-23T12:48:42.000Z","sunset":"2026-12-23T21:44:40.000Z","solar_noon":"2026-12-23T17:16:41.000Z","day_length_seconds":32158,"civil_twilight_begin":"2026-12-23T12:15:58.000Z","civil_twilight_end":"2026-12-23T22:17:24.000Z","nautical_twilight_begin":"2026-12-23T11:39:40.000Z","nautical_twilight_end":"2026-12-23T22:53:42.000Z","astronomical_twilight_begin":"2026-12-23T11:04:43.000Z","astronomical_twilight_end":"2026-12-23T23:28:39.000Z"}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"astronomical_twilight_begin":1,"astronomical_twilight_end":1,"civil_twilight_begin":1,"civil_twilight_end":1,"date":1,"day_length_seconds":1,"id":1,"latitude":1,"longitude":1,"nautical_twilight_begin":1,"nautical_twilight_end":1,"solar_noon":1,"sunrise":1,"sunset":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_a9c98b63a9c6663aecc8e9dc/run","openapi":"https://pullrow.dev/v1/apis/api_a9c98b63a9c6663aecc8e9dc/openapi.json","contract":"https://pullrow.dev/v1/apis/api_a9c98b63a9c6663aecc8e9dc/contract.json","page":"https://pullrow.dev/catalog/sunrise-sunset-times"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["One request per date, so a long list of dates takes time: requests are spaced about 1 second apart.","Times are returned in UTC (ISO 8601); the local time zone is carried in time_zone only as the name you asked for.","In polar regions on days without a sunrise, sunset or twilight, those fields are empty.","Data comes from sunrise-sunset.org, which asks that you show a visible attribution link to sunrise-sunset.org when you publish it.","At most 366 dates per run."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"Latitude, longitude and date joined, unique for each record.","group":"Technical","shown":false,"written":false},{"name":"date","label":"Date","description":"The day the times are for.","group":"Dates","shown":true,"written":false},{"name":"latitude","label":"Latitude","description":"Latitude asked for.","group":"Location","shown":true,"written":false},{"name":"longitude","label":"Longitude","description":"Longitude asked for.","group":"Location","shown":true,"written":false},{"name":"sunrise","label":"Sunrise (UTC)","description":"","group":"Dates","shown":true,"written":false},{"name":"sunset","label":"Sunset (UTC)","description":"","group":"Dates","shown":true,"written":false},{"name":"solar_noon","label":"Solar noon (UTC)","description":"","group":"Dates","shown":true,"written":false},{"name":"day_length_seconds","label":"Day length (seconds)","description":"Length of daylight in seconds.","group":"Basics","shown":true,"written":false},{"name":"civil_twilight_begin","label":"Civil twilight begin","description":"Start of civil twilight (UTC).","group":"Dates","shown":true,"written":false},{"name":"civil_twilight_end","label":"Civil twilight end","description":"End of civil twilight (UTC).","group":"Dates","shown":true,"written":false},{"name":"nautical_twilight_begin","label":"Nautical twilight begin","description":"Start of nautical twilight (UTC).","group":"Dates","shown":true,"written":false},{"name":"nautical_twilight_end","label":"Nautical twilight end","description":"End of nautical twilight (UTC).","group":"Dates","shown":true,"written":false},{"name":"astronomical_twilight_begin","label":"Astronomical twilight begin","description":"Start of astronomical twilight (UTC).","group":"Dates","shown":true,"written":false},{"name":"astronomical_twilight_end","label":"Astronomical twilight end","description":"End of astronomical twilight (UTC).","group":"Dates","shown":true,"written":false}],"inputs":[{"name":"latitude","label":"Latitude","help":"Latitude in decimal degrees, such as 43.65.","example":"43.65","written":false},{"name":"longitude","label":"Longitude","help":"Longitude in decimal degrees, such as -79.38.","example":"-79.38","written":false},{"name":"dates","label":"Dates","help":"Dates as yyyy-mm-dd, such as [\"2026-12-21\"].","example":"2026-12-21","written":false}]}},"incidents":[]}