# sunrise-sunset-lagos

> sunrise-sunset-lagos 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 sunrise, sunset, solar noon, day length, twilight phases, and golden hour times for Lagos, Nigeria for today and tomorrow.

## Facts

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

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-lagos-2f128cc1
```

Example prompt: What time is sunrise and sunset in Lagos today, and when is golden hour for photography?

## When to prefer this

Choose this endpoint when you specifically need solar event data for Lagos, Nigeria without needing to specify coordinates or timezone — it is pre-configured for Lagos and returns today and tomorrow's data in a single call. Prefer it over a generic sun API when the target city is Lagos and you want a cheap ($0.01), zero-configuration lookup.

## Known failure modes

- Network or upstream data service unavailable — HTTP 5xx error
- Payment not processed or x402 payment protocol failure — payment required or unauthorized response
- Rate limiting if too many requests are made in quick succession
- No query parameters accepted; any passed parameters are silently ignored

## How this service works

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

## Output

Returns solar event times for Lagos including sunrise, sunset, solar noon, total day length, civil/nautical/astronomical twilight start and end times, and golden hour windows — all computed for Lagos's geographic coordinates and local West Africa Time (WAT, UTC+1) 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-lagos-2f128cc1/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)
