# sunrise-sunset-cologne

> sunrise-sunset-cologne 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 sunrise, sunset, solar noon, day length, twilight times (civil/nautical/astronomical), and golden hour for Cologne, Germany for today and tomorrow.

## Facts

- Endpoint: GET https://data.intel.rallylive.ca/data/sun/cologne?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-cologne-afa4f1c6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sB-5nOqVPJG4AxNyuH7pB

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-cologne-afa4f1c6
```

Example prompt: What time is sunrise, sunset, and golden hour in Cologne today? I also need civil and nautical twilight times for tomorrow.

## When to prefer this

Use this endpoint when you specifically need solar event times for Cologne, Germany — including advanced twilight categories (civil, nautical, astronomical) and golden hour, not just basic sunrise/sunset. Prefer this over generic sun-time APIs when you need Cologne-specific data with local timezone accuracy and don't want to handle coordinate lookups or timezone conversions yourself.

## Known failure modes

- Service unavailable or upstream computation error returns a non-200 HTTP response
- Payment failure (x402 payment required but not fulfilled) results in a 402 status
- Rate limiting or quota exhaustion returns an error response
- Stale or cached data if the server's clock is misconfigured relative to the local timezone

## How this service works

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

## Output

A JSON response containing precise times (in local Cologne timezone) for sunrise, sunset, solar noon, day length, civil twilight start/end, nautical twilight start/end, astronomical twilight start/end, and golden hour windows for today and tomorrow, computed from Cologne's geographic coordinates.

## 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-cologne-afa4f1c6/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)
