🌍 Astrocartography API and βœ‹ Palmistry API are now live. Ship them in your app today.Get Started

Planet Panchang for sunrise

The planet_panchang/sunrise API returns the current location and astrological information of the sun, moon, and other planets such as Mars, Mercury, Jupiter, Venus, Saturn, Rahu, and Ketu. The response includes the name of the planet, its degree, retrograde status, sign, sign lord, nakshatra, and nakshatra lord.
POSThttps://json.astrologyapi.com/v1/planet_panchang/sunrise

Authentication

x-astrologyapi-keystringrequired

API access token used to authenticate requests. Send your access token in this custom header.

Accept-Languagestring

Preferred language for the response content. Supported: English - en.

Body parameters

dayintrequired

Date, eg: 10

monthintrequired

Month, eg: 5

yearintrequired

Year, eg: 1990

hourintrequired

Hour, eg: 19

minintrequired

Minute, eg: 55

latfloatrequired

Latitude, eg: 19.2056

lonfloatrequired

Longitude, eg: 25.2056

tzonefloatrequired

Timezone, eg: 5.5

curl --location 'https://json.astrologyapi.com/v1/planet_panchang/sunrise' \
  --header 'Content-Type: application/json' \
  --header 'x-astrologyapi-key: <YOUR_ACCESS_TOKEN>' \
  --data '{
    "day": 10,
    "month": 5,
    "year": 1990,
    "hour": 19,
    "min": 55,
    "lat": 19.2056,
    "lon": 25.2056,
    "tzone": 5.5
}'
Try it

Runs with sample data β€” no API key needed

[
  {
    "id": 0,
    "name": "Sun",
    "fullDegree": 71.77888666545658,
    "normDegree": 11.778886665456582,
    "speed": 0.9537760063015251,
    "isRetro": "false",
    "sign": "Gemini",
    "sign_lord": "Mercury",
    "nakshatra": "Ardra",
    "nakshatra_lord": "Rahu",
    "nakshatra_pad": 2,
    "house": 1
  },
  {
    "id": 1,
    "name": "Moon",
    "fullDegree": 5.772492183288483,
    "normDegree": 5.772492183288483,
    "speed": 13.723199197888567,
    "isRetro": "false",
    "sign": "Aries",
    "sign_lord": "Mars",
    "nakshatra": "Ashwini",
    "nakshatra_lord": "Ketu",
    "nakshatra_pad": 2,
    "house": 11
  },
  {
    "id": 2,
    "name": "Mars",
    "fullDegree": 73.13356346586944,
    "normDegree": 13.133563465869443,
    "speed": 0.6652114715776548,
    "isRetro": "false",
    "sign": "Gemini",
    "sign_lord": "Mercury",
    "nakshatra": "Ardra",
    "nakshatra_lord": "Rahu",
    "nakshatra_pad": 2,
    "house": 1
  },
  {
    "id": 3,
    "name": "Mercury",
    "fullDegree": 85.61233222576432,
    "normDegree": 25.61233222576432,
    "speed": -0.26550052294800686,
    "isRetro": "true",
    "sign": "Gemini",
    "sign_lord": "Mercury",
    "nakshatra": "Punarvasu",
    "nakshatra_lord": "Jupiter",
    "nakshatra_pad": 2,
    "house": 1
  },
  {
    "id": 4,
    "name": "Jupiter",
    "fullDegree": 35.4387277189646,
    "normDegree": 5.4387277189646,
    "speed": 0.21242948526338745,
    "isRetro": "false",
    "sign": "Taurus",
    "sign_lord": "Venus",
    "nakshatra": "Krittika",
    "nakshatra_lord": "Sun",
    "nakshatra_pad": 3,
    "house": 12
  },
  {
    "id": 5,
    "name": "Venus",
    "fullDegree": 76.04268457565463,
    "normDegree": 16.042684575654633,
    "speed": 1.2289417860718146,
    "isRetro": "false",
    "sign": "Gemini",
    "sign_lord": "Mercury",
    "nakshatra": "Ardra",
    "nakshatra_lord": "Rahu",
    "nakshatra_pad": 3,
    "house": 1
  },
  {
    "id": 6,
    "name": "Saturn",
    "fullDegree": 32.350023938414004,
    "normDegree": 2.3500239384140045,
    "speed": 0.10945194691552036,
    "isRetro": "false",
    "sign": "Taurus",
    "sign_lord": "Venus",
    "nakshatra": "Krittika",
    "nakshatra_lord": "Sun",
    "nakshatra_pad": 2,
    "house": 12
  },
  {
    "id": 7,
    "name": "Rahu",
    "fullDegree": 91.78207756744874,
    "normDegree": 1.782077567448738,
    "speed": -0.05299201912835434,
    "isRetro": "true",
    "sign": "Cancer",
    "sign_lord": "Moon",
    "nakshatra": "Punarvasu",
    "nakshatra_lord": "Jupiter",
    "nakshatra_pad": 4,
    "house": 2
  },
  {
    "id": 8,
    "name": "Ketu",
    "fullDegree": 271.7820775674487,
    "normDegree": 1.7820775674487095,
    "speed": -0.05299201912835434,
    "isRetro": "true",
    "sign": "Capricorn",
    "sign_lord": "Saturn",
    "nakshatra": "Uttra Shadha",
    "nakshatra_lord": "Sun",
    "nakshatra_pad": 2,
    "house": 8
  },
  {
    "id": 9,
    "name": "Ascendant",
    "fullDegree": 70.81609396397643,
    "normDegree": 10.816093963976428,
    "speed": 0,
    "isRetro": false,
    "sign": "Gemini",
    "sign_lord": "Mercury",
    "nakshatra": "Ardra",
    "nakshatra_lord": "Rahu",
    "nakshatra_pad": 2,
    "house": 1
  }
]