Overview
Sunrise, sunset and twilight times for Pretoria, South Africa: returns the sunrise, sunset, solar noon, day length and civil, nautical and astronomical dawn and dusk for Pretoria (25.74°S, 28.19°E) on a requested date (default: today in Pretoria). Use it to answer 'when does the sun set in Pretoria', 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
Indexed
2026-11-13 12:08:12
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Output Schema
{
"example": {
"city": {
"country": "South Africa",
"countryCode": "ZA",
"dataSource": {
"license": "CC BY 4.0",
"name": "GeoNames geographical database (cities15000)",
"url": "https://www.geonames.org",
"via": "GeoNames"
},
"name": "Pretoria",
"population": 2112693,
"slug": "pretoria",
"timezone": "Africa/Johannesburg"
},
"date": "2026-11-10",
"dawn": "2026-11-10T02:49:57.119Z",
"dayLengthSeconds": 47758,
"disclaimer": "Computed times are astronomical predictions for the given coordinates; local horizon and weather can shift what is actually visible.",
"dusk": "2026-11-10T16:55:01.568Z",
"latitude": -25.74486,
"longitude": 28.18783,
"nauticalDawn": "2026-11-10T02:20:46.792Z",
"nauticalDusk": "2026-11-10T17:24:11.896Z",
"night": "2026-11-10T17:54:20.503Z",
"nightEnd": "2026-11-10T01:50:38.185Z",
"solarNoon": "2026-11-10T09:52:29.344Z",
"source": {
"name": "Computed locally from astronomical algorithms (SunCalc method)",
"url": null,
"via": "No external data source"
},
"sunrise": "2026-11-10T03:14:30.245Z",
"sunset": "2026-11-10T16:30:28.443Z"
},
"type": "json"
}