🌍 Astrocartography API, 🔷 Human Design API and ✋ Palmistry API are now live. Ship them in your app today.

Planet Panchang

The planet_panchang API returns the position and information about the celestial bodies in the solar system, including their degrees, signs, and nakshatras. The response includes details of the Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, Ketu, and the Ascendant.
POSThttps://json.astrologyapi.com/v1/planet_panchang

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, Hindi - hi, Marathi - ma, Bengali - bn, Tamil - ta, Telugu - te, Malayalam - ml, Kannada - kn.

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' \
  --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": 252.09460460591438,
    "normDegree": 12.094604605914384,
    "speed": 1.0193591661518109,
    "isRetro": "false",
    "sign": "Sagittarius",
    "signLord": "Jupiter",
    "nakshatra": "Mool",
    "nakshatra_lord": "Ketu",
    "nakshatra_pad": 4,
    "house": 8
  },
  {
    "id": 1,
    "name": "Moon",
    "fullDegree": 270.5122653639715,
    "normDegree": 0.512265363971494,
    "speed": 11.825128877575814,
    "isRetro": "false",
    "sign": "Capricorn",
    "signLord": "Saturn",
    "nakshatra": "Uttra Shadha",
    "nakshatra_lord": "Sun",
    "nakshatra_pad": 2,
    "house": 9
  },
  {
    "id": 2,
    "name": "Mars",
    "fullDegree": 188.3815319262027,
    "normDegree": 8.381531926202712,
    "speed": 0.5887946253305186,
    "isRetro": "false",
    "sign": "Libra",
    "signLord": "Venus",
    "nakshatra": "Swati",
    "nakshatra_lord": "Rahu",
    "nakshatra_pad": 1,
    "house": 6
  },
  {
    "id": 3,
    "name": "Mercury",
    "fullDegree": 253.0225800960178,
    "normDegree": 13.022580096017805,
    "speed": 1.5996369506881676,
    "isRetro": "false",
    "sign": "Sagittarius",
    "signLord": "Jupiter",
    "nakshatra": "Mool",
    "nakshatra_lord": "Ketu",
    "nakshatra_pad": 4,
    "house": 8
  },
  {
    "id": 4,
    "name": "Jupiter",
    "fullDegree": 38.72221374275588,
    "normDegree": 8.722213742755883,
    "speed": -0.09338056617041195,
    "isRetro": "true",
    "sign": "Taurus",
    "signLord": "Venus",
    "nakshatra": "Krittika",
    "nakshatra_lord": "Sun",
    "nakshatra_pad": 4,
    "house": 1
  },
  {
    "id": 5,
    "name": "Venus",
    "fullDegree": 297.99666783266633,
    "normDegree": 27.996667832666333,
    "speed": 1.1216268488510852,
    "isRetro": "false",
    "sign": "Capricorn",
    "signLord": "Saturn",
    "nakshatra": "Dhanishtha",
    "nakshatra_lord": "Mars",
    "nakshatra_pad": 2,
    "house": 9
  },
  {
    "id": 6,
    "name": "Saturn",
    "fullDegree": 30.93943500416237,
    "normDegree": 0.9394350041623696,
    "speed": -0.05047862107117041,
    "isRetro": "true",
    "sign": "Taurus",
    "signLord": "Venus",
    "nakshatra": "Krittika",
    "nakshatra_lord": "Sun",
    "nakshatra_pad": 2,
    "house": 1
  },
  {
    "id": 7,
    "name": "Rahu",
    "fullDegree": 82.06172359607255,
    "normDegree": 22.061723596072554,
    "speed": -0.052992016996976136,
    "isRetro": "true",
    "sign": "Gemini",
    "signLord": "Mercury",
    "nakshatra": "Punarvasu",
    "nakshatra_lord": "Jupiter",
    "nakshatra_pad": 1,
    "house": 2
  },
  {
    "id": 8,
    "name": "Ketu",
    "fullDegree": 262.06172359607257,
    "normDegree": 22.061723596072568,
    "speed": -0.052992016996976136,
    "isRetro": "true",
    "sign": "Sagittarius",
    "signLord": "Jupiter",
    "nakshatra": "Purva Shadha",
    "nakshatra_lord": "Venus",
    "nakshatra_pad": 3,
    "house": 8
  },
  {
    "id": 9,
    "name": "Ascendant",
    "fullDegree": 47.8718183438523,
    "normDegree": 17.871818343852297,
    "speed": 0,
    "isRetro": false,
    "sign": "Taurus",
    "signLord": "Venus",
    "nakshatra": "Rohini",
    "nakshatra_lord": "Moon",
    "nakshatra_pad": 3,
    "house": 1
  }
]