← Back to directory

Sunrise, sunset and twilight times for Casablanca, Morocco: returns the sunrise,...

https://cities-factory-live.wuryan529.workers.dev/cities/casablanca/sun-times

Overview

Sunrise, sunset and twilight times for Casablanca, Morocco: returns the sunrise, sunset, solar noon, day length and civil, nautical and astronomical dawn and dusk for Casablanca (33.59°N, 7.61°W) on a requested date (default: today in Casablanca). Use it to answer 'when does the sun set in Casablanca', or to plan shoots, outdoor work and travel days. Computed locally from astronomical algorithms; no external data.

Protocol x402
Price $0.0050
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider cities-factory-live
Source bazaar
Indexed 2026-11-13 12:08:19

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "date": "2026-11-10" }, "type": "http" }

Output Schema

{ "example": { "city": { "country": "Morocco", "countryCode": "MA", "dataSource": { "license": "CC BY 4.0", "name": "GeoNames geographical database (cities15000)", "url": "https://www.geonames.org", "via": "GeoNames" }, "name": "Casablanca", "population": 3665954, "slug": "casablanca", "timezone": "Africa/Casablanca" }, "date": "2026-11-10", "dawn": "2026-11-10T06:32:26.885Z", "dayLengthSeconds": 38053, "disclaimer": "Computed times are astronomical predictions for the given coordinates; local horizon and weather can shift what is actually visible.", "dusk": "2026-11-10T17:58:56.728Z", "latitude": 33.58831, "longitude": -7.61138, "nauticalDawn": "2026-11-10T06:02:40.077Z", "nauticalDusk": "2026-11-10T18:28:43.537Z", "night": "2026-11-10T18:58:03.719Z", "nightEnd": "2026-11-10T05:33:19.895Z", "solarNoon": "2026-11-10T12:15:41.807Z", "source": { "name": "Computed locally from astronomical algorithms (SunCalc method)", "url": null, "via": "No external data source" }, "sunrise": "2026-11-10T06:58:35.175Z", "sunset": "2026-11-10T17:32:48.439Z" }, "type": "json" }