# Suverse Sunrise-Sunset API

> Suverse Sunrise-Sunset API is a paid API for AI agents from proxy.suverse.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Returns UTC sunrise, sunset, and twilight times for a given latitude and longitude using the Sunrise-Sunset API without requiring an API key.

## Facts

- Endpoint: POST https://proxy.suverse.io/v1/data/suverse-sunrise-sunset
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/suverse-sunrise-sunset-api-620b6676
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yU2nmFd-1IHmWuGx3xyuE

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 suverse-sunrise-sunset-api-620b6676 -d '<json body>'
```

Example prompt: What time does the sun rise and set tomorrow at latitude 40.7128, longitude -74.0060? Give me the UTC times for sunrise, sunset, and civil twilight.

## When to prefer this

Choose this endpoint when you need accurate solar event times (sunrise, sunset, twilight phases) for any geographic coordinate without managing your own Sunrise-Sunset API integration or key. Ideal for agents that need no-auth solar data on demand, paid per-call via USDC micro-payment, especially in scheduling, photography planning, and energy optimization workflows.

## Known failure modes

- Invalid or out-of-range latitude/longitude values (e.g. lat > 90 or lon > 180) may return an error or null times
- Polar regions during midnight sun or polar night may return null for sunrise/sunset
- Network or upstream API outage at Sunrise-Sunset API returns a 5xx error
- Malformed request body returns a 400 validation error
- Payment failure via x402 protocol blocks the request before it reaches the upstream API

## How this service works

Sunrise, sunset, and twilight times for a latitude and longitude from the Sunrise-Sunset API, no key. Returns UTC times for solar events. For AI agents in scheduling, photography, and energy planning.

## Output

A JSON object containing UTC timestamps for key solar events at the requested coordinates and date, including sunrise, sunset, solar noon, day length, astronomical twilight begin/end, nautical twilight begin/end, and civil twilight begin/end times.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "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/suverse-sunrise-sunset-api-620b6676/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from proxy.suverse.io](https://www.zero.xyz/host/proxy.suverse.io/llms.txt)
