# sunrise-sunset-berlin

> sunrise-sunset-berlin is a paid API for AI agents from data.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-21).

Returns today's and tomorrow's sunrise, sunset, solar noon, day length, and twilight times for Berlin, Germany, in the city's local timezone.

## Facts

- Endpoint: GET https://data.intel.rallylive.ca/data/sun/berlin?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sunrise-sunset-berlin-fff209cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bODJKZWg3uwxIFPwo5Vf_

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 sunrise-sunset-berlin-fff209cd
```

Example prompt: What time is sunrise, sunset, and golden hour in Berlin today, and how many hours of daylight are there?

## When to prefer this

Choose this endpoint when you specifically need Berlin solar timing data — sunrise, sunset, twilight phases, golden hour, or day length — for today or tomorrow, without needing to specify coordinates or dates manually. It is pre-configured for Berlin's exact coordinates and timezone, making it faster and simpler than a general-purpose solar API that requires location inputs.

## Known failure modes

- Service unavailable or network timeout — no solar data returned
- Unexpected server error (5xx) if the upstream computation fails
- Stale or cached data if the service does not refresh at midnight Berlin time
- No query parameters accepted, so no ability to request a custom date beyond today/tomorrow

## How this service works

Sunrise, sunset, solar noon, day length, civil/nautical/astronomical twilight and golden hour for Berlin today (and tomorrow), computed for the city's coordinates and local timezone. Photography, outdoor scheduling and prayer-time helpers for Berlin. $0.01 per call.

## Output

A JSON response containing today's and tomorrow's sunrise time, sunset time, solar noon, total day length, golden hour windows, and civil, nautical, and astronomical twilight times, all expressed in Berlin's local timezone (Europe/Berlin).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sunrise-sunset-berlin-fff209cd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data.intel.rallylive.ca](https://www.zero.xyz/host/data.intel.rallylive.ca/llms.txt)
