# sunrise-sunset-amman

> sunrise-sunset-amman 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-19).

Returns today's and tomorrow's sunrise, sunset, solar noon, day length, twilight times, and golden hour for Amman, Jordan.

## Facts

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

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-amman-e8692eca
```

Example prompt: What time is sunrise, sunset, and golden hour in Amman today? I also need tomorrow's times for planning an outdoor photo session.

## When to prefer this

Choose this endpoint when you need precise solar event times specifically for Amman, Jordan, including twilight phases and golden hour — particularly for photography scheduling, outdoor event planning, or prayer-time reference. It covers today and tomorrow in one call at very low cost ($0.01), making it ideal for lightweight, single-city lookups without needing a full astronomy API subscription.

## Known failure modes

- Service unavailable or upstream compute error — returns a non-200 HTTP status
- Payment not fulfilled via x402 protocol — request rejected before data is returned
- Stale or cached data if the service fails to recompute for the current date

## How this service works

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

## Output

Returns computed solar event times for Amman including sunrise, sunset, solar noon, day length in hours/minutes, civil twilight start/end, nautical twilight start/end, astronomical twilight start/end, and golden hour windows — all expressed in Amman's local timezone, for both today and tomorrow.

## 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-amman-e8692eca/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)
