GET
/v1/sweph/sun-times

Sun Times

Sunrise, sunset, solar noon times.

Response Example

{
  "message": "Detailed endpoint documentation is available in progress. Validate request/response in Swagger UI for live schema."
}

Code Examples

cURL
curl -X GET 'https://api.astro-fusion.com/v1/sweph/sun-times' \
  -H 'Authorization: Bearer YOUR_API_KEY'
JavaScript
const response = await fetch('https://api.astro-fusion.com/v1/sweph/sun-times', {
  method: 'GET',
  headers: { Authorization: 'Bearer YOUR_API_KEY' }
});
Python
import requests

response = requests.get('https://api.astro-fusion.com/v1/sweph/sun-times', headers={'Authorization': 'Bearer YOUR_API_KEY'})