# sunrise-sunset-amsterdam

> sunrise-sunset-amsterdam 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 today's (and tomorrow's) sunrise, sunset, solar noon, day length, twilight times, and golden hour for Amsterdam, computed for the city's coordinates and local timezone.

## Facts

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

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-amsterdam-79bae26a
```

Example prompt: What time is sunrise, sunset, and golden hour in Amsterdam today, including civil and nautical twilight?

## When to prefer this

Choose this endpoint when you need precise, precomputed solar event data specifically for Amsterdam without having to supply coordinates or timezone yourself. It covers all major solar events (twilight phases, golden hour, solar noon) in one call at a very low cost, making it ideal for photography planning, outdoor scheduling, or prayer-time helpers scoped to Amsterdam. Prefer a general solar API if you need solar data for arbitrary locations.

## Known failure modes

- Service unavailable (5xx) if the upstream solar computation or data source is down
- Stale data if cached results are not refreshed at midnight Amsterdam time
- Payment failure if the x402 payment of $0.01 USDC is not properly submitted
- No query parameters supported — city and timezone are hardcoded to Amsterdam

## How this service works

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

## Output

A JSON object containing today's and tomorrow's solar event times for Amsterdam, including sunrise, sunset, solar noon, day length (in seconds/human-readable), civil twilight start/end, nautical twilight start/end, astronomical twilight start/end, and golden hour windows, all in Amsterdam'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-amsterdam-79bae26a/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)
