# Sun Times by Coordinate

> Sun Times by Coordinate is a paid API for AI agents from mcpfax-utility.bowling-anthony.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns sunrise, sunset, solar noon, and day length for a given geographic coordinate and date.

## Facts

- Endpoint: GET https://mcpfax-utility.bowling-anthony.workers.dev/v1/sun
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sun-times-by-coordinate-aae327be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wooE7dH5RqJ2FD3qTYM5i

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 sun-times-by-coordinate-aae327be
```

Example prompt: What time is sunrise and sunset tomorrow at coordinates 34.0522° N, 118.2437° W, and how many hours of daylight will there be?

## When to prefer this

Choose this endpoint when you need precise solar event times (sunrise, sunset, solar noon, day length) for any coordinate on Earth. It's ideal for scheduling outdoor activities, photography planning, astronomical calculations, or any time-sensitive location-based task where knowing when daylight begins and ends is critical. Prefer it over weather APIs which may omit precise solar timing data.

## Known failure modes

- Invalid or out-of-range latitude/longitude returns an error
- Malformed or missing date parameter causes a bad request response
- Locations near poles during midnight sun or polar night may return special values or null times
- Network timeout from the Cloudflare Worker under high load

## How this service works

Sunrise / sunset — Sunrise, sunset, solar noon, day length by coordinate.

## Output

Returns structured data including local sunrise time, sunset time, solar noon, and total day length for the specified coordinate and date, likely also including civil/nautical/astronomical twilight 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   },
   "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/sun-times-by-coordinate-aae327be/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcpfax-utility.bowling-anthony.workers.dev](https://www.zero.xyz/host/mcpfax-utility.bowling-anthony.workers.dev/llms.txt)
