# sunrise-sunset-stockholm

> sunrise-sunset-stockholm 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, and golden hour for Stockholm today and tomorrow

## Facts

- Endpoint: GET https://data.intel.rallylive.ca/data/sun/stockholm?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-stockholm-f05887fe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K1oNx0FfxJa5cOR_qOoBl

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-stockholm-f05887fe
```

Example prompt: What time does the sun rise and set in Stockholm today, and when is golden hour for photography?

## When to prefer this

Choose this endpoint when you specifically need solar event times for Stockholm and want a ready-computed, low-cost result without needing to provide coordinates or timezone manually. Prefer this over a generic sun API when Stockholm is the fixed target city and you need golden hour and twilight breakdowns alongside basic sunrise/sunset.

## Known failure modes

- Service unavailable or upstream data error returning 5xx
- Payment not processed correctly via x402 protocol returning 402
- Stale or cached data if provider's solar computation backend is delayed
- No query parameters supported — always returns Stockholm-specific data, cannot be parameterized for other cities

## How this service works

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

## Output

A structured response containing Stockholm's sunrise time, sunset time, solar noon, total day length, golden hour window, and civil, nautical, and astronomical twilight times for today and tomorrow, all expressed in Stockholm's local timezone.

## 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-stockholm-f05887fe/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)
