Sun sign API

What it returns

POST /v2/calculators/sun-sign returns the Sun sign for a birth date, time and place.

The Sun sign is tropical (the Western zodiac), so it follows the seasons: the sign most birthday-based horoscopes use. For the Vedic sign of the Moon, see Moon sign.

Try it with no key

The sandbox runs a fixed demo chart, so the response is the same whatever you send.

curl -X POST "https://api.vedika.io/sandbox/calculators/sun-sign" \
  -H "Content-Type: application/json" \
  -d '{}'

Production request

Send the birth details with your API key.

curl -X POST "https://api.vedika.io/v2/calculators/sun-sign" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "datetime": "1990-05-15T10:30:00",
    "latitude": 19.07,
    "longitude": 72.87,
    "timezone": "+05:30"
  }'

More

See the Calendar API documentation and the Calendar API overview. Run any route in the sandbox.

Ready for production?

Production calls are charged per request; see pricing. The keyless sandbox is a mock and stays free.