Sunrise, sunset, solar noon, civil dawn/dusk, morning and evening golden hour an
Sunrise, sunset, solar noon, civil dawn/dusk, morning and evening golden hour and day length for any coordinates and date, in the place's local time zone; polar day/night flagged. Offline astronomy. For travel, tourism, photography, events and outdoor-planning agents.
Answeringour last check, 2026-10-31
1 of 1checks answered this week
1103 msmedian answer time
$0.01listed price per call
$0.01price 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
POST https://api.facts402.com/sun
| Category | Everything else |
|---|---|
| Provider host | api.facts402.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-31 | valid payment request | 402 | $0.01 | 1103 ms |
Example input (from the provider)
{
"body": {
"date": "2026-12-21",
"lat": 41.9029,
"lon": 12.4534
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"date": {
"anyOf": [
{
"format": "date",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "YYYY-MM-DD; default: today locally",
"title": "Date"
},
"lat": {
"description": "Latitude in decimal degrees (WGS84)",
"maximum": 90,
"minimum": -90,
"title": "Lat",
"type": "number"
},
"lon": {
"description": "Longitude in decimal degrees (WGS84)",
"maximum": 180,
"minimum": -180,
"title": "Lon",
"type": "number"
}
},
"required": [
"lat",
"lon"
],
"title": "SunRequest",
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}