# sunrise-sunset-oslo

> sunrise-sunset-oslo 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 phases, and golden hour times for Oslo today and tomorrow, computed from the city's coordinates and local timezone.

## Facts

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

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-oslo-90398036
```

Example prompt: What time is sunrise and golden hour in Oslo today, and when does the sun set tomorrow?

## When to prefer this

Choose this endpoint when you specifically need solar event data for Oslo without needing to specify coordinates or date — it is pre-configured for Oslo's location and timezone, making it faster and simpler than a generic solar API. Ideal for photography apps, outdoor scheduling tools, and prayer-time calculators operating in or targeting Oslo. For other cities, use the corresponding city-specific sibling endpoint.

## Known failure modes

- Service unavailable or timeout — retry after a short delay
- Payment not processed (x402 protocol issue) — ensure wallet has sufficient USDC balance
- Stale or cached data returned if backend solar computation service is temporarily down
- No input schema variation supported — city is fixed to Oslo; requesting other cities returns an error or incorrect data

## How this service works

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

## Output

A structured response containing today's and tomorrow's solar event times for Oslo, including sunrise, sunset, solar noon, day length in hours/minutes, start and end times for civil, nautical, and astronomical twilight, and golden hour windows — all in Oslo local time with UTC offset.

## 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-oslo-90398036/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)
