Sunrise, sunset, solar noon (paid: 0.001 RLUSD / 0.001 USDC on Base / 0.001 RLUSD on Base via x402)
solar_timesPaid: 0.001 RLUSD per call via x402 on XRPL mainnet (xrpl:0), or 0.001 USDC on Base (eip155:8453). Pay per call, solves one question: When are sunrise, solar noon and sunset at this point on this date? Sunrise, solar noon and sunset as explicit UTC instants, computed locally from the published NOAA/GML solar-calculator equations (after Meeus), with stated accuracy (about 1 minute within 72 degrees latitude, up to 10 minutes beyond). A calculation, not an observation; not NOAA data and not endorsed by NOAA. Without payment this returns isError with the x402 PaymentRequired object (fresh invoiceId); retry with the signed payload in _meta["x402/payment"] or the payment_signature argument. Unpaid calls cost nothing.
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": {
"lat": "<lat>",
"lon": "<lon>",
"date": "<date>"
},
"name": "solar_times"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | decimal degrees, -90..90 | |
| lon | Yes | decimal degrees, -180..180, east positive | |
| date | Yes | YYYY-MM-DD (local mean solar date at the longitude) | |
| payment_signature | No | Optional. Base64 x402 PAYMENT-SIGNATURE value (signed RLUSD or USDC PaymentPayload) for hosts that cannot set _meta["x402/payment"]. Omit on the first call to receive the payment requirements. |