Planet Position
Credits Required: 30 for English, 60 for other languages - Get planet position
Parameter planets is optional and by default the api returns all planets excluding URANUS, NEPTUNE and PLUTO.
List of Planets and their ID's
| Planet Name | Planet ID |
|---|---|
| SUN | 0 |
| MOON | 1 |
| MERCURY | 2 |
| VENUS | 3 |
| MARS | 4 |
| JUPITER | 5 |
| SATURN | 6 |
| URANUS | 7 |
| NEPTUNE | 8 |
| PLUTO | 9 |
| ASCENDANT | 100 |
| RAHU | 101 |
| KETU | 102 |
Request
- Base URLhttps://api.prokerala.com/v2
- AuthOAuth 2Client credentialsToken URLhttps://api.prokerala.com/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The value for ayanamsa parameter is 1 for Lahiri, 3 for Raman, 5 for KP astrology and 45 for kp-new.
Location is accepted in the form of latitude and longitude eg: 10.214747,78.097626.
Date and time should be in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ eg:2004-02-12T15:19:21%2B05:30. Please note that when using "+" as a URL parameter value, it will be interpreted as a space. To prevent this, you need to encode the datetime parameter before sending the API request.
(Optional) Coma separted list of planet ids. eg: 0,1,100,102
Language code for the response. If omitted, English (en) is used. This endpoint supports 20+ languages including English (en), Hindi (hi), Tamil (ta), Telugu (te), Malayalam (ml), Kannada (kn), Bengali (bn), Marathi (mr), Gujarati (gu), Punjabi (pa), and more. See the complete list of supported language codes at <a href="/docs#tag/Languages">https://api.prokerala.com/docs#tag/Languages</a>
Response
OK
Changes
No recorded changes to this operation across all 2 revisions of this API.