Overview
Moon phase and moonrise/moonset for Madrid, Spain: returns the moonrise, moonset, illumination percentage and phase name (new, crescent, quarter, gibbous, full) for Madrid (40.42°N, 3.70°W) on a requested date (default: today in Madrid). Use it to plan night photography, stargazing or tide-aware activities in Madrid. Computed locally from astronomical algorithms; no external data.
Protocol
x402
Price
$0.0050
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
media/images
Provider
cities-factory-live
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
Output Schema
{
"example": {
"alwaysDown": false,
"alwaysUp": false,
"city": {
"country": "Spain",
"countryCode": "ES",
"dataSource": {
"license": "CC BY 4.0",
"name": "GeoNames geographical database (cities15000)",
"url": "https://www.geonames.org",
"via": "GeoNames"
},
"name": "Madrid",
"population": 3255944,
"slug": "madrid",
"timezone": "Europe/Madrid"
},
"date": "2026-11-10",
"disclaimer": "Computed times are astronomical predictions for the given coordinates; local horizon and weather can shift what is actually visible.",
"illumination": 0.0172,
"illuminationPercent": 2,
"latitude": 40.4165,
"longitude": -3.70256,
"moonrise": "2026-11-10T08:19:14.960Z",
"moonset": "2026-11-10T17:24:41.618Z",
"phase": 0.0418,
"phaseName": "Waxing Crescent",
"source": {
"name": "Computed locally from astronomical algorithms (SunCalc method)",
"url": null,
"via": "No external data source"
}
},
"type": "json"
}