# Golden Hour & Sunrise/Sunset Calculator

> Golden Hour & Sunrise/Sunset Calculator is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Computes precise sunrise, sunset, solar noon, and golden-hour timing for any latitude/longitude and date, with no external lookup delay.

## Facts

- Endpoint: POST https://x402.forgemesh.io/golden-hour-calculator
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/golden-hour-sunrise-sunset-calculator-54ed7b3b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_voq2I43g-BD3v-DdjtYjs

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 golden-hour-sunrise-sunset-calculator-54ed7b3b -d '<json body>'
```

Example prompt: What's the exact sunrise, solar noon, and evening golden hour timing for coordinates 47.6062° N, 122.3321° W on July 15?

## When to prefer this

When an agent needs precise, computed solar timing data (sunrise, sunset, solar noon, golden hour) for a specific coordinate and date, especially for photography scheduling, outdoor event planning, or solar energy estimation — and needs the result in real-time without an external geocoder or weather API round-trip.

## Known failure modes

- Invalid or out-of-range latitude/longitude values — returns validation error
- Malformed date string (not ISO format) — returns parsing error
- Missing required latitude or longitude — returns 400-style error
- Payment not fulfilled (x402 protocol) — returns 402 Payment Required

## How this service works

Returns sunrise, sunset, solar noon, and evening golden-hour timing for any latitude/longitude and date, computed directly with no external lookup delay. Useful for photography scheduling, solar panel estimation, and outdoor-event agents that need precise light timing rather than a rough sunrise/sunset guess.

## Output

Returns precise times for sunrise, sunset, solar noon, and evening golden-hour window for the specified coordinates and date, computed directly without external lookup delay.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "date": {
   "type": "string",
   "description": "ISO date, default today"
  },
  "latitude": {
   "type": "string"
  },
  "longitude": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "sunset": "2026-07-16T01:24:00.000Z",
  "moonset": "2026-07-16T02:44:50.146Z",
  "sunrise": "2026-07-15T11:26:00.000Z",
  "moonrise": "2026-07-16T13:57:29.603Z",
  "moon_phase": "new moon",
  "next_new_moon": "2026-08-13",
  "next_full_moon": "2026-07-30",
  "moon_illumination": 0.02
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/golden-hour-sunrise-sunset-calculator-54ed7b3b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
