# sunrise-sunset-belgrade

> sunrise-sunset-belgrade 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-20).

Returns sunrise, sunset, solar noon, day length, twilight phases, and golden hour times for Belgrade, Serbia for today and tomorrow.

## Facts

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

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-belgrade-da1cb6f7
```

Example prompt: What time is sunrise, sunset, and golden hour in Belgrade today? I want to plan a photography session and also need to know how long daylight lasts.

## When to prefer this

Choose this endpoint when you specifically need solar event data for Belgrade, Serbia without needing to configure coordinates or timezone manually. It is ideal for simple, low-latency lookups where the city is Belgrade and the date is today or tomorrow. For other cities or arbitrary future dates, use a configurable solar API instead.

## Known failure modes

- Service unavailability returns a non-200 HTTP status
- Payment failure via x402 protocol results in 402 response requiring USDC payment
- Stale or cached data if backend solar computation service is temporarily degraded
- No query parameters accepted; city and date are hardcoded — cannot be changed per request

## How this service works

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

## Output

A structured response containing today's and tomorrow's sunrise time, sunset time, solar noon, total day length, civil twilight start/end, nautical twilight start/end, astronomical twilight start/end, and golden hour windows — all expressed in Belgrade'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-belgrade-da1cb6f7/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)
