# Daylight Hours & Solar Events API

> Daylight Hours & Solar Events API is a paid API for AI agents from clonecho.builda.company, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns sunrise, sunset, solar noon, twilight windows, and day length for any location and date given latitude, longitude, and date.

## Facts

- Endpoint: POST https://clonecho.builda.company/x402/daylight-hours
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/daylight-hours-solar-events-api-6b54a95d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h6XnL-mk8UjDffgcFVQBz

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 daylight-hours-solar-events-api-6b54a95d -d '<json body>'
```

Example prompt: What are the sunrise, sunset, solar noon, and total daylight hours for New York City (lat 40.7128, lon -74.0060) on June 21, 2025?

## When to prefer this

Use this endpoint when you need precise solar event times (sunrise, sunset, solar noon, twilight) for any geographic coordinate and specific date, particularly for logistics, scheduling, outdoor planning, photography, or energy applications requiring daylight window data.

## Known failure modes

- Missing or invalid latitude/longitude returns an error
- Invalid or missing date parameter causes a bad request response
- Out-of-range coordinates (e.g. lat > 90) return validation error
- Network or service unavailability returns a 5xx error
- Date far outside supported range may return no data or error

## How this service works

LOGISTICS: sunrise/sunset, solar noon, twilight windows & day length for a location (?lat=&lon=&date=). Returns JSON.

## Output

A JSON object containing sunrise time, sunset time, solar noon, civil/nautical/astronomical twilight start and end times, and total day length for the specified latitude, longitude, and date.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/daylight-hours-solar-events-api-6b54a95d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clonecho.builda.company](https://www.zero.xyz/host/clonecho.builda.company/llms.txt)
