Panchang & timing
Sign changes
POST/v1/transits/dates
Exact moments planets change sidereal sign between two dates, including retrograde re-entries.
- Up to 10 years at a time; up to 92 days for the Moon.
- Rahu and Ketu are mean nodes.
Request
| Field | Type | Description |
|---|---|---|
| from | stringrequired | First date, YYYY-MM-DD |
| to | stringrequired | Last date, YYYY-MM-DD |
| planet | string | One planet; default all except the Moon |
| tz | string | IANA zone or offset for dates and times; default UTC |
| ayanamsa | string | lahiri (default) | raman | krishnamurti |
Example
curl -X POST "https://api.bestastroapi.in/v1/transits/dates" \
-H "x-api-key: $BESTASTRO_KEY" \
-H "content-type: application/json" \
-d '{"from":"2026-01-01","to":"2026-12-31","planet":"jupiter","tz":"Asia/Kolkata"}'Response
[]is a list.{key}is a key that varies.- Times carry the UTC offset of the place. A time after midnight has the next date.
| Field | Type | Meaning |
|---|---|---|
| from | stringYYYY-MM-DD | First date |
| to | stringYYYY-MM-DD | Last date |
| tz | string | Zone of the dates and times |
| ayanamsa | string | Ayanamsa usedlahiri | raman | krishnamurti |
| node | string | Always mean |
| planets | object[] | One row per planet |
| planets[].planet | string | Name |
| planets[].id | string | Stable id |
| planets[].sign_at_start | Sign | Sign at the start of from |
| planets[].changes | object[] | Sign changes in time order. Can be empty |
| planets[].changes[].at | stringISO 8601 | Moment of the change |
| planets[].changes[].from_sign | Sign | Sign it leaves |
| planets[].changes[].to_sign | Sign | Sign it enters |
| planets[].changes[].retrograde | boolean | Moving backward at the change |
Objects used above
Sign A zodiac sign (rashi).
| Field | Type | Meaning |
|---|---|---|
| number | integer | 1 = Aries to 12 = Pisces |
| name | string | English name |
| rashi | string | Sanskrit name, for example Mesha |
| lord | string | Planet that rules the sign |
Raw sample
200 application/json
{
"ayanamsa": "lahiri",
"from": "2026-01-01",
"node": "mean",
"planets": [
{
"changes": [
{
"at": "2026-06-02T01:50:02+05:30",
"from_sign": {
"lord": "Mercury",
"name": "Gemini",
"number": 3,
"rashi": "Mithuna"
},
"retrograde": false,
"to_sign": {
"lord": "Moon",
"name": "Cancer",
"number": 4,
"rashi": "Karka"
}
},
{
"at": "2026-10-31T12:02:17+05:30",
"from_sign": {
"lord": "Moon",
"name": "Cancer",
"number": 4,
"rashi": "Karka"
},
"retrograde": false,
"to_sign": {
"lord": "Sun",
"name": "Leo",
"number": 5,
"rashi": "Simha"
}
}
],
"id": "jupiter",
"planet": "Jupiter",
"sign_at_start": {
"lord": "Mercury",
"name": "Gemini",
"number": 3,
"rashi": "Mithuna"
}
}
],
"to": "2026-12-31",
"tz": "Asia/Kolkata"
}Real output for the example request above.
Errors use one format. See error codes. Also in openapi.json.