# Sindri Astronomy Ephemeris

> Sindri Astronomy Ephemeris is a paid API for AI agents from x402.outpimp.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns sunrise, sunset, solar noon, day length, and moon phase for a given latitude, longitude, and date using precise astronomical algorithms.

## Facts

- Endpoint: POST https://x402.outpimp.com/astronomyEphemeris
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sindri-astronomy-ephemeris-b7efd6de
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S_YuZ2KocaofnXNXh6JpC

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 sindri-astronomy-ephemeris-b7efd6de -d '<json body>'
```

Example prompt: What time is sunrise, sunset, and solar noon in Denver, Colorado (39.7392° N, 104.9903° W) on July 4th, 2025, and what's the moon phase that day?

## When to prefer this

Use this endpoint when you need precise, mathematically-computed solar or lunar data for a specific location and date — especially when accuracy matters for photography, navigation, religious observances, or event planning. Prefer this over asking an LLM directly, since LLMs cannot reliably compute exact astronomical times from solar position equations. This endpoint is ideal for single-point ephemeris lookups rather than bulk or real-time tracking.

## Known failure modes

- Invalid or out-of-range latitude/longitude returns a validation error
- Malformed ISO date string causes a 400-level error
- Polar regions during midnight sun or polar night may return unusual or null sunrise/sunset values
- Network timeout or service unavailability returns a 5xx error
- Missing required fields (latitude, longitude, or date) results in a bad request error

## How this service works

Sunrise, sunset, solar noon, day length, and moon phase for a given latitude/longitude/date, computed via the suncalc library (standard solar/lunar position algorithms) — precise astronomical math an LLM cannot reliably compute mentally.

## Output

Returns precise astronomical event times (sunrise, sunset, solar noon) in UTC or local time, total day length in hours/minutes, and current moon phase (e.g. waxing crescent, full moon, new moon) for the given coordinates and date.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "date": {
   "type": "string",
   "description": "ISO date string, e.g. \"2024-06-21\"."
  },
  "latitude": {
   "type": "number",
   "description": "Latitude in degrees (-90 to 90)."
  },
  "longitude": {
   "type": "number",
   "description": "Longitude in degrees (-180 to 180)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sindri-astronomy-ephemeris-b7efd6de/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.outpimp.com](https://www.zero.xyz/host/x402.outpimp.com/llms.txt)
