# Solar Position & Day Length Oracle

> Solar Position & Day Length Oracle is a paid API for AI agents from store.cryptotradecalc.com, paid per call via x402, $0.006/call, status unknown (last checked 2026-09-14).

Returns geocoded sunrise/sunset times, solar declination, and UTC day-of-year for any named city

## Facts

- Endpoint: GET https://store.cryptotradecalc.com/api/solar-position
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solar-position-day-length-oracle-5e59e928
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-i7aIO5oeMe41I-5o7xd2

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 solar-position-day-length-oracle-5e59e928
```

Example prompt: What are the sunrise and sunset times, solar declination, and total day length for Paris today? Give me the full solar position data including UTC day-of-year.

## When to prefer this

Use this endpoint when you need structured solar position metrics (sunrise, sunset, declination, day-of-year) for a named city without providing coordinates yourself — it handles geocoding internally. Prefer this over generic weather APIs when the specific output needed is solar timing and astronomical data rather than temperature or precipitation forecasts.

## Known failure modes

- City name not recognized or geocoding fails — returns error or empty result
- Missing required 'city' query parameter — returns validation error
- Ambiguous city name with multiple matches — may return data for the most populous match
- Network timeout or upstream geocoding service unavailable

## How this service works

solar-position-oracle: Solar Position & Day Length Oracle – geocoded sunrise/sunset, declination, and UTC day-of-year for any city.

## Output

Returns geocoded solar position data for the specified city, including sunrise time, sunset time, solar declination angle, day length duration, and the UTC day-of-year number.

## 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": {
      "city": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solar-position-day-length-oracle-5e59e928/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from store.cryptotradecalc.com](https://www.zero.xyz/host/store.cryptotradecalc.com/llms.txt)
