Sunrise sunset times
Sunrise sunset times. Computes sunrise, sunset, solar noon, day length (seconds), and civil / nautical / astronomical twilight begin & end for any latitude/longitude on any date. Also covers golden hour, dawn / dusk, and full astronomy-times. UTC ISO8601 strings. Wraps sunrise-sunset.org's public API — no auth, commercial-OK.
Answeringour last check, 2026-09-24
1 of 1checks answered this week
18 msmedian answer time
$0.005listed price per call
$0.005price 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://x402.agentutility.ai/astro-times
| Category | Everything else |
|---|---|
| Provider host | x402.agentutility.ai |
| Networks | eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| 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-09-24 | valid payment request | 402 | $0.005 | 18 ms |
Example input (from the provider)
{
"body": {
"latitude": 37.7749,
"longitude": -122.4194
},
"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": {
"description": "Date in YYYY-MM-DD. Defaults to today (UTC) if omitted.",
"type": "string"
},
"latitude": {
"description": "Decimal degrees, range [-90, 90]. Positive north.",
"type": "number"
},
"longitude": {
"description": "Decimal degrees, range [-180, 180]. Positive east.",
"type": "number"
}
},
"required": [
"latitude",
"longitude"
]
},
"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": {
"properties": {
"date": {
"type": "string"
},
"location": {
"properties": {
"lat": {
"type": "number"
},
"lon": {
"type": "number"
}
},
"type": "object"
},
"source": {
"type": "string"
},
"times": {
"properties": {
"astronomical_twilight_begin": {
"type": "string"
},
"astronomical_twilight_end": {
"type": "string"
},
"civil_twilight_begin": {
"type": "string"
},
"civil_twilight_end": {
"type": "string"
},
"day_length_seconds": {
"type": "integer"
},
"nautical_twilight_begin": {
"type": "string"
},
"nautical_twilight_end": {
"type": "string"
},
"solar_noon": {
"type": "string"
},
"sunrise": {
"type": "string"
},
"sunset": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}