# SYNTHORA Solar Daylight & Astronomy Times

> SYNTHORA Solar Daylight & Astronomy Times is a paid API for AI agents from solar-daylight-astronomy.hergertsynthora.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns sunrise, sunset, daylight duration, sunshine duration, and max UV index for a given latitude/longitude coordinate using Open-Meteo's forecast API with automatic timezone detection.

## Facts

- Endpoint: POST https://solar-daylight-astronomy.hergertsynthora.com/service
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/synthora-solar-daylight-astronomy-times-b4fa31b3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Sp92zaTdCj4vO3Byb_ZD0

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability synthora-solar-daylight-astronomy-times-b4fa31b3 -d '<json body>'
```

Example prompt: What time does the sun rise and set today at latitude 52.52 and longitude 13.42, and how many hours of daylight will there be — also give me the max UV index?

## When to prefer this

Choose this endpoint when an agent needs precise daily solar timing data (sunrise, sunset, daylight/sunshine duration, UV index) for any global coordinate without managing timezone conversion manually. It is ideal for solar energy scheduling, agriculture, smart lighting, and outdoor activity planning agents that need lightweight, per-call solar forecasts. Prefer this over generic weather APIs when the specific output needed is solar-event timing rather than temperature or precipitation data.

## Known failure modes

- Invalid or out-of-range latitude/longitude values may return an error or unexpected results
- Network timeout if the upstream Open-Meteo API is unavailable
- Missing required fields (latitude or longitude) will likely cause a 400-level error
- Extreme polar coordinates may return edge-case values for polar day or polar night conditions

## How this service works

Returns daily sunrise, sunset, daylight duration, sunshine duration and max UV index for any coordinate from Open-Meteo's forecast API with automatic timezone. Autonomous solar-energy, lighting, agriculture and scheduling agents consume it for A2A daylight optimization and agent-to-agent solar planning. Ranking surface: sunrise sunset API, daylight duration, solar times, golden hour, daylight forecast. First 3 calls FREE per wallet — send header X-WALLET: 0x<addr>. No charge on upstream failure.

## Output

A JSON object containing: ok (boolean), the request niche label, and a result object with sunrise (ISO datetime string), sunset (ISO datetime string), latitude, longitude, timezone (IANA string, auto-detected), uv_index_max (number), daylight_duration_seconds (float), and sunshine_duration_seconds (float). Also includes provenance metadata indicating the upstream Open-Meteo API source.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "latitude": {
   "type": "number",
   "description": "latitude"
  },
  "longitude": {
   "type": "number",
   "description": "longitude"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "niche": "solar-daylight-astronomy",
  "result": {
   "sunset": "2026-07-11T21:26",
   "sunrise": "2026-07-11T04:57",
   "latitude": 52.52,
   "timezone": "Europe/Berlin",
   "longitude": 13.419998,
   "uv_index_max": 6,
   "daylight_duration_seconds": 59361.4,
   "sunshine_duration_seconds": 55524.34
  },
  "provenance": {
   "url": "https://api.open-meteo.com/v1/forecast",
   "source": "Solar Daylight & Astronomy Times"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/synthora-solar-daylight-astronomy-times-b4fa31b3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from solar-daylight-astronomy.hergertsynthora.com](https://www.zero.xyz/host/solar-daylight-astronomy.hergertsynthora.com/llms.txt)
