# Sindri Astronomy Ephemeris

> Sindri Astronomy Ephemeris is a paid API for AI agents from ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Computes sunrise, sunset, solar noon, day length, and moon phase for a given latitude, longitude, and date using precise solar/lunar position algorithms.

## Facts

- Endpoint: POST https://ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws/astronomyEphemeris?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sindri-astronomy-ephemeris-a6206df8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5QCv8rRquWVf2SAvmIDaG

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-a6206df8 -d '<json body>'
```

Example prompt: What time does the sun rise and set in Paris on June 21, 2025, and what's the moon phase that day?

## When to prefer this

Use this endpoint when you need precise, mathematically computed astronomical data (sunrise, sunset, solar noon, day length, moon phase) for any geographic coordinate and date — especially when LLM reasoning alone would be unreliable for exact times. Prefer this over general-purpose time APIs that don't include moon phase, or over weather APIs that approximate solar data.

## Known failure modes

- Invalid or out-of-range latitude/longitude returns an error
- Malformed or missing date string causes a validation error
- Locations near the poles during polar day/night may return null sunrise/sunset times
- Network timeout on the Lambda cold start

## 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 data for the given location and date, including sunrise time, sunset time, solar noon time, total day length in hours/minutes, and moon phase (e.g. waxing crescent, full moon, percentage illuminated), all computed from standard solar/lunar position algorithms.

## 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-a6206df8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws](https://www.zero.xyz/host/ppu43fkyhimq5fiqpmo42eh5ri0yypid.lambda-url.us-east-1.on.aws/llms.txt)
