ToolAssay

Sunrise, sunset, solar noon, day length and the sun's elevation at noon for any

Sunrise, sunset, solar noon, day length and the sun's elevation at noon for any latitude, longitude and date, computed with the NOAA solar algorithm (accurate to about a minute; times in UTC; polar day and night handled). Use it for solar panel and lighting schedules, photography, outdoor work planning and daylight-dependent automations.

Answeringour last check, 2026-10-18
1 of 1checks answered this week
290 msmedian answer time
$0.001listed price per call
$0.001price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://opendata402.com/v1/sun

CategoryEverything else
Provider hostopendata402.com
Networkseip155:137, eip155:42161, eip155:8453
Payment schemesexact
Self-reported calls, 30 days2 from 2 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-10-18 valid payment request 402$0.001 290 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "date": "2026-12-21",
    "lat": "52.3676",
    "lon": "4.9041"
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "date": {
              "description": "YYYY-MM-DD (default today, UTC).",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "type": "string"
            },
            "lat": {
              "description": "Latitude -90..90.",
              "pattern": "^-?\\d{1,2}(\\.\\d+)?$",
              "type": "string"
            },
            "lon": {
              "description": "Longitude -180..180.",
              "pattern": "^-?\\d{1,3}(\\.\\d+)?$",
              "type": "string"
            }
          },
          "required": [
            "lat",
            "lon"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON