Divisional Charts
Divisional Charts
/api/v2/vedic/vargasCalculate Vedic divisional charts from birth details, with ascendant, planetary placements, and houses for each requested division.
Authentication: send x-api-key.
Full URL
https://api.freeastroapi.com/api/v2/vedic/vargasSafe retries with Idempotency-Key
Authenticated, billable astrology POST requests accept the optional header Idempotency-Key: <client-generated unique operation key>. Reuse the same key only when retrying the exact same method, path, query string, and JSON body after a timeout or network failure.
A completed replay returns the first response with Idempotency-Replayed: true, does not rerun the calculation, and does not consume extra quota. Keys are retained for about 24 hours.
Reusing a key with a changed request returns 409 idempotency_key_reused. A duplicate while the first request is still running returns 409 request_in_progress with Retry-After.
What It Returns
Requested charts are returned under vargas, keyed by division label (D1, D4, D9, etc.). Each chart includes ascendant, planets, houses, row sign ids, and calibration flags. Use the divisions parameter to select one or more supported charts.
Example Request
curl -X POST "https://api.freeastroapi.com/api/v2/vedic/vargas" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"year": 1997,
"month": 9,
"day": 22,
"hour": 23,
"minute": 25,
"city": "Mumbai",
"lat": 19.391928,
"lng": 72.839732,
"tz_str": "Asia/Kolkata",
"ayanamsha": "lahiri",
"house_system": "whole_sign",
"node_type": "mean",
"divisions": [
1,
4,
9
]
}'Request Parameters
Provide either city or both lat and lng. Coordinates are recommended for stable production results.
Response Shape
Real Request Example
This request was captured from the live production endpoint and is the same payload used in the code tabs.
{
"year": 1997,
"month": 9,
"day": 22,
"hour": 23,
"minute": 25,
"city": "Mumbai",
"lat": 19.391928,
"lng": 72.839732,
"tz_str": "Asia/Kolkata",
"ayanamsha": "lahiri",
"house_system": "whole_sign",
"node_type": "mean",
"divisions": [
1,
4,
9
]
}Real Response Example
V2This is a real production response for the example payload. Large arrays are intentionally shown as returned by the API.
{
"vargas": {
"D1": {
"division": 1,
"name": "Rashi",
"calibrated": true,
"house_basis": "whole_sign",
"ascendant": {
"degree": 58.7441,
"sign": "Taurus",
"sign_id": 2,
"house": 1
},
"planets": [
{
"name": "Sun",
"sign": "Virgo",
"sign_id": 6,
"house": 5
},
{
"name": "Moon",
"sign": "Taurus",
"sign_id": 2,
"house": 1
},
{
"name": "Mars",
"sign": "Scorpio",
"sign_id": 8,
"house": 7
},
{
"name": "Mercury",
"sign": "Leo",
"sign_id": 5,
"house": 4
},
{
"name": "Jupiter",
"sign": "Capricorn",
"sign_id": 10,
"house": 9
},
{
"name": "Venus",
"sign": "Libra",
"sign_id": 7,
"house": 6
},
{
"name": "Saturn",
"sign": "Pisces",
"sign_id": 12,
"house": 11
},
{
"name": "Rahu",
"sign": "Leo",
"sign_id": 5,
"house": 4
},
{
"name": "Ketu",
"sign": "Aquarius",
"sign_id": 11,
"house": 10
}
],
"houses": [
{
"house": 1,
"sign": "Taurus",
"sign_id": 2,
"degree_cusp": 0
},
{
"house": 2,
"sign": "Gemini",
"sign_id": 3,
"degree_cusp": 0
},
{
"house": 3,
"sign": "Cancer",
"sign_id": 4,
"degree_cusp": 0
},
{
"house": 4,
"sign": "Leo",
"sign_id": 5,
"degree_cusp": 0
},
{
"house": 5,
"sign": "Virgo",
"sign_id": 6,
"degree_cusp": 0
},
{
"house": 6,
"sign": "Libra",
"sign_id": 7,
"degree_cusp": 0
},
{
"house": 7,
"sign": "Scorpio",
"sign_id": 8,
"degree_cusp": 0
},
{
"house": 8,
"sign": "Sagittarius",
"sign_id": 9,
"degree_cusp": 0
},
{
"house": 9,
"sign": "Capricorn",
"sign_id": 10,
"degree_cusp": 0
},
{
"house": 10,
"sign": "Aquarius",
"sign_id": 11,
"degree_cusp": 0
},
{
"house": 11,
"sign": "Pisces",
"sign_id": 12,
"degree_cusp": 0
},
{
"house": 12,
"sign": "Aries",
"sign_id": 1,
"degree_cusp": 0
}
],
"row_sign_ids": {
"Ascendant": 2,
"Sun": 6,
"Moon": 2,
"Mars": 8,
"Mercury": 5,
"Jupiter": 10,
"Venus": 7,
"Saturn": 12,
"Rahu": 5,
"Ketu": 11
}
},
"D4": {
"division": 4,
"name": "Chaturthamsha",
"calibrated": true,
"house_basis": "whole_sign_from_varga_ascendant",
"ascendant": {
"degree": null,
"sign": "Aquarius",
"sign_id": 11,
"house": 1
},
"planets": [
{
"name": "Sun",
"sign": "Virgo",
"sign_id": 6,
"house": 8
},
{
"name": "Moon",
"sign": "Aquarius",
"sign_id": 11,
"house": 1
},
{
"name": "Mars",
"sign": "Scorpio",
"sign_id": 8,
"house": 10
},
{
"name": "Mercury",
"sign": "Aquarius",
"sign_id": 11,
"house": 1
},
{
"name": "Jupiter",
"sign": "Cancer",
"sign_id": 4,
"house": 6
},
{
"name": "Venus",
"sign": "Aries",
"sign_id": 1,
"house": 3
},
{
"name": "Saturn",
"sign": "Sagittarius",
"sign_id": 9,
"house": 11
},
{
"name": "Rahu",
"sign": "Taurus",
"sign_id": 2,
"house": 4
},
{
"name": "Ketu",
"sign": "Scorpio",
"sign_id": 8,
"house": 10
}
],
"houses": [
{
"house": 1,
"sign": "Aquarius",
"sign_id": 11,
"degree_cusp": null
},
{
"house": 2,
"sign": "Pisces",
"sign_id": 12,
"degree_cusp": null
},
{
"house": 3,
"sign": "Aries",
"sign_id": 1,
"degree_cusp": null
},
{
"house": 4,
"sign": "Taurus",
"sign_id": 2,
"degree_cusp": null
},
{
"house": 5,
"sign": "Gemini",
"sign_id": 3,
"degree_cusp": null
},
{
"house": 6,
"sign": "Cancer",
"sign_id": 4,
"degree_cusp": null
},
{
"house": 7,
"sign": "Leo",
"sign_id": 5,
"degree_cusp": null
},
{
"house": 8,
"sign": "Virgo",
"sign_id": 6,
"degree_cusp": null
},
{
"house": 9,
"sign": "Libra",
"sign_id": 7,
"degree_cusp": null
},
{
"house": 10,
"sign": "Scorpio",
"sign_id": 8,
"degree_cusp": null
},
{
"house": 11,
"sign": "Sagittarius",
"sign_id": 9,
"degree_cusp": null
},
{
"house": 12,
"sign": "Capricorn",
"sign_id": 10,
"degree_cusp": null
}
],
"row_sign_ids": {
"Ascendant": 11,
"Sun": 6,
"Moon": 11,
"Mars": 8,
"Mercury": 11,
"Jupiter": 4,
"Venus": 1,
"Saturn": 9,
"Rahu": 2,
"Ketu": 8
}
},
"D9": {
"division": 9,
"name": "Navamsha",
"calibrated": true,
"house_basis": "whole_sign_from_varga_ascendant",
"ascendant": {
"degree": null,
"sign": "Virgo",
"sign_id": 6,
"house": 1
},
"planets": [
{
"name": "Sun",
"sign": "Aquarius",
"sign_id": 11,
"house": 6
},
{
"name": "Moon",
"sign": "Leo",
"sign_id": 5,
"house": 12
},
{
"name": "Mars",
"sign": "Cancer",
"sign_id": 4,
"house": 11
},
{
"name": "Mercury",
"sign": "Virgo",
"sign_id": 6,
"house": 1
},
{
"name": "Jupiter",
"sign": "Gemini",
"sign_id": 3,
"house": 10
},
{
"name": "Venus",
"sign": "Pisces",
"sign_id": 12,
"house": 7
},
{
"name": "Saturn",
"sign": "Aquarius",
"sign_id": 11,
"house": 6
},
{
"name": "Rahu",
"sign": "Scorpio",
"sign_id": 8,
"house": 3
},
{
"name": "Ketu",
"sign": "Taurus",
"sign_id": 2,
"house": 9
}
],
"houses": [
{
"house": 1,
"sign": "Virgo",
"sign_id": 6,
"degree_cusp": null
},
{
"house": 2,
"sign": "Libra",
"sign_id": 7,
"degree_cusp": null
},
{
"house": 3,
"sign": "Scorpio",
"sign_id": 8,
"degree_cusp": null
},
{
"house": 4,
"sign": "Sagittarius",
"sign_id": 9,
"degree_cusp": null
},
{
"house": 5,
"sign": "Capricorn",
"sign_id": 10,
"degree_cusp": null
},
{
"house": 6,
"sign": "Aquarius",
"sign_id": 11,
"degree_cusp": null
},
{
"house": 7,
"sign": "Pisces",
"sign_id": 12,
"degree_cusp": null
},
{
"house": 8,
"sign": "Aries",
"sign_id": 1,
"degree_cusp": null
},
{
"house": 9,
"sign": "Taurus",
"sign_id": 2,
"degree_cusp": null
},
{
"house": 10,
"sign": "Gemini",
"sign_id": 3,
"degree_cusp": null
},
{
"house": 11,
"sign": "Cancer",
"sign_id": 4,
"degree_cusp": null
},
{
"house": 12,
"sign": "Leo",
"sign_id": 5,
"degree_cusp": null
}
],
"row_sign_ids": {
"Ascendant": 6,
"Sun": 11,
"Moon": 5,
"Mars": 4,
"Mercury": 6,
"Jupiter": 3,
"Venus": 12,
"Saturn": 11,
"Rahu": 8,
"Ketu": 2
}
}
},
"metadata": {
"endpoint_version": "v2",
"ruleset_version": "classical_varga_v1",
"ayanamsha": "lahiri",
"house_system": "whole_sign",
"node_type": "mean",
"timezone_used": "Asia/Kolkata",
"requested_divisions": [
1,
4,
9
],
"supported_divisions": [
1,
2,
3,
4,
5,
7,
9,
10,
12,
16,
20,
24,
27,
30,
40,
45,
60
],
"calibrated_divisions": [
1,
2,
3,
4,
7,
9,
10,
12,
16,
20,
24,
27,
30,
40,
45,
60
]
}
}