# Vibesprings Solar Calculator & Radiation Forecast

> Vibesprings Solar Calculator & Radiation Forecast is a paid API for AI agents from vibesprings.net, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Returns daily solar cycle data (sunrise/sunset, twilights, solar noon, day length, UV index, shortwave radiation) for any global location, optionally up to 7 days ahead.

## Facts

- Endpoint: GET https://vibesprings.net/api/solar
- 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/vibesprings-net-93f35d25
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_POA_7kPS2agkJ_onX1ncA

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 vibesprings-net-93f35d25
```

Example prompt: Can you pull the solar cycle data for Denver, Colorado starting July 15 for the next 5 days — I need sunrise, sunset, solar noon, UV index, and shortwave radiation levels for each day?

## When to prefer this

Use this endpoint when you need precise astronomical solar timing data combined with radiation/UV forecasting for a specific location. Ideal for solar panel yield prediction, agriculture light planning, photography golden-hour scheduling, or outdoor activity UV tracking. Prefer over general weather endpoints when solar radiation (MJ/m²) and exact twilight phases are required rather than just basic cloud/temperature forecasts.

## Known failure modes

- Invalid or unrecognized location string — returns error or empty result
- Date out of supported range — may return error
- days parameter outside 1-7 range — validation error
- Missing required location parameter — 400 bad request
- Network or payment authorization failure — 402 or 5xx response

## How this service works

Astronomical solar calculator and solar radiation forecast database. Returns highly accurate daily solar cycles: sunrise/sunset times, astronomical/civil/nautical twilights, precise solar noon, day length, maximum UV index, and shortwave solar radiation levels (MJ/m²) for any location globally. Crucial for solar panel yield forecasting, photography timing, agriculture, and outdoor wellness tracking.

## Output

Returns a structured daily breakdown per requested day including: sunrise and sunset times, solar noon, astronomical/civil/nautical twilight windows, total day length, maximum UV index, and shortwave solar radiation in MJ/m² — all calculated for the specified location and date range.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "date": "2024-01-15",
   "days": 3,
   "location": "London"
  }
 }
}
```

## 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",
     "required": [
      "location"
     ],
     "properties": {
      "date": {
       "type": "string",
       "description": "Start date in YYYY-MM-DD format (defaults to current date)"
      },
      "days": {
       "type": "number",
       "description": "Number of daily projections to return, from 1 to 7 days (default is 1)"
      },
      "location": {
       "type": "string",
       "description": "City name, region, or coordinate pairs (e.g. 'Reykjavik', 'Honolulu', '64.1466,-21.9426')"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "date": "2024-06-21",
    "sunset_utc": "2024-06-22T00:03:00Z",
    "sunrise_utc": "2024-06-21T02:54:00Z",
    "uv_index_max": 4.5,
    "solar_noon_utc": "2024-06-21T13:28:00Z",
    "day_length_seconds": 76140,
    "shortwave_radiation_sum_mj_m2": 24.5
   }
  ],
  "latitude": 64.1,
  "location": "Reykjavik, Iceland",
  "timezone": "Atlantic/Reykjavik",
  "longitude": -21.9
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vibesprings-net-93f35d25/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vibesprings.net](https://www.zero.xyz/host/vibesprings.net/llms.txt)
