Compute sunrise sunset and solar position
geo-environment_sun-times-positionCompute sunrise, solar noon, sunset, day length and solar elevation/azimuth with NOAA Solar Calculator equations. Price $0.01 USDC. POST /api/v1/geo-environment/sun-times-position. An unpaid call returns the x402 payment terms and does not run.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"latitude": "<latitude>",
"longitude": "<longitude>"
},
"name": "geo-environment_sun-times-position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | date, string. Optional. | |
| instant | No | instant, string, length 10 to 40. Optional. | |
| latitude | Yes | latitude, number, from -90 to 90. Required. | |
| timeZone | No | timeZone, string, length 1 to 80. Required. | UTC |
| longitude | Yes | longitude, number, from -180 to 180. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | date. String. | |
| polar | No | polar. Null. | |
| method | No | method. String. | |
| sunset | No | sunset. String. | |
| sources | No | sources. Array. | |
| sunrise | No | sunrise. String. | |
| accuracy | No | accuracy. String. | |
| position | No | position. Object. | |
| solarNoon | No | solarNoon. String. | |
| limitations | No | limitations. Array. | |
| dayLengthMinutes | No | dayLengthMinutes. Number. |