Sunrise, sunset, solar noon, day length and the civil, nautical and astronomical
Sunrise, sunset, solar noon, day length and the civil, nautical and astronomical twilights for any point and date, plus the sun's elevation and azimuth at a given time. Computed with the NOAA solar equations; times are UTC, good to about a minute away from the poles. Says so when the sun stays up or down all day.
Answeringour last check, 2026-11-28
7 of 7checks answered this week
355 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://agent402.tools/api/sun-times
| Category | Everything else |
|---|---|
| Provider host | agent402.tools |
| Networks | algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73k, eip155:10, eip155:1329, eip155:137, eip155:143, eip155:42161, eip155:42220, eip155:43114, eip155:4663, eip155:5042, eip155:57073, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp, stellar:pubnet |
| Payment schemes | exact, upto |
| 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-11-28 | valid payment request | 402 | $0.001 | 355 ms |
| 2026-11-27 | valid payment request | 402 | $0.001 | 322 ms |
| 2026-11-26 | valid payment request | 402 | $0.001 | 371 ms |
| 2026-11-25 | valid payment request | 402 | $0.001 | 370 ms |
| 2026-11-24 | valid payment request | 402 | $0.001 | 387 ms |
| 2026-11-23 | valid payment request | 402 | $0.001 | 304 ms |
| 2026-11-22 | valid payment request | 402 | $0.001 | 348 ms |
| 2026-11-21 | valid payment request | 402 | $0.001 | 356 ms |
| 2026-11-20 | valid payment request | 402 | $0.001 | 304 ms |
| 2026-11-19 | valid payment request | 402 | $0.001 | 342 ms |
| 2026-11-18 | valid payment request | 402 | $0.001 | 375 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"date": "2026-06-21",
"lat": 40.7128,
"lon": -74.006,
"time": "2026-06-21T16:00:00Z"
},
"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": {
"type": "string"
},
"lat": {
"type": "number"
},
"lon": {
"type": "number"
},
"time": {
"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"
}