Basic Vedic Chart
Basic Vedic Chart
/api/v2/vedic/chartCalculate the calibrated V2 sidereal D1 chart with ascendant, graha placements, houses, Nakshatras, and Sade Sati context.
Authentication: send x-api-key.
Full URL
https://api.freeastroapi.com/api/v2/vedic/chartSafe 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
A clean V2 chart payload built for production apps: ascendant, planets, houses, Sade Sati, and metadata that records the ayanamsha, house system, node type, timezone, and ruleset used.
Example Request
curl -X POST "https://api.freeastroapi.com/api/v2/vedic/chart" \
-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"
}'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"
}Real Response Example
This is a real production response for the example payload. Large arrays are intentionally shown as returned by the API.
{
"ascendant": {
"degree": 58.7441,
"sign": "Taurus",
"sign_id": 2,
"nakshatra": {
"id": 5,
"name": "Mrigashira",
"pada": 2,
"lord": "Mars"
}
},
"planets": [
{
"name": "Sun",
"absolute_degree": 155.9362,
"sign": "Virgo",
"sign_id": 6,
"degree_in_sign": 5.9362,
"house": 5,
"is_retrograde": false,
"nakshatra": "Uttara Phalguni",
"nakshatra_id": 12,
"pada": 3,
"nakshatra_lord": "Sun"
},
{
"name": "Moon",
"absolute_degree": 56.0529,
"sign": "Taurus",
"sign_id": 2,
"degree_in_sign": 26.0529,
"house": 1,
"is_retrograde": false,
"nakshatra": "Mrigashira",
"nakshatra_id": 5,
"pada": 1,
"nakshatra_lord": "Mars"
},
{
"name": "Mars",
"absolute_degree": 211.8965,
"sign": "Scorpio",
"sign_id": 8,
"degree_in_sign": 1.8965,
"house": 7,
"is_retrograde": false,
"nakshatra": "Vishakha",
"nakshatra_id": 16,
"pada": 4,
"nakshatra_lord": "Jupiter"
},
{
"name": "Mercury",
"absolute_degree": 139.8928,
"sign": "Leo",
"sign_id": 5,
"degree_in_sign": 19.8928,
"house": 4,
"is_retrograde": false,
"nakshatra": "Purva Phalguni",
"nakshatra_id": 11,
"pada": 2,
"nakshatra_lord": "Venus"
},
{
"name": "Jupiter",
"absolute_degree": 288.6611,
"sign": "Capricorn",
"sign_id": 10,
"degree_in_sign": 18.6611,
"house": 9,
"is_retrograde": true,
"nakshatra": "Shravana",
"nakshatra_id": 22,
"pada": 3,
"nakshatra_lord": "Moon"
},
{
"name": "Venus",
"absolute_degree": 198.4909,
"sign": "Libra",
"sign_id": 7,
"degree_in_sign": 18.4909,
"house": 6,
"is_retrograde": false,
"nakshatra": "Swati",
"nakshatra_id": 15,
"pada": 4,
"nakshatra_lord": "Rahu"
},
{
"name": "Saturn",
"absolute_degree": 354.4198,
"sign": "Pisces",
"sign_id": 12,
"degree_in_sign": 24.4198,
"house": 11,
"is_retrograde": true,
"nakshatra": "Revati",
"nakshatra_id": 27,
"pada": 3,
"nakshatra_lord": "Mercury"
},
{
"name": "Rahu",
"absolute_degree": 145.2107,
"sign": "Leo",
"sign_id": 5,
"degree_in_sign": 25.2107,
"house": 4,
"is_retrograde": true,
"nakshatra": "Purva Phalguni",
"nakshatra_id": 11,
"pada": 4,
"nakshatra_lord": "Venus"
},
{
"name": "Ketu",
"absolute_degree": 325.2107,
"sign": "Aquarius",
"sign_id": 11,
"degree_in_sign": 25.2107,
"house": 10,
"is_retrograde": true,
"nakshatra": "Purva Bhadrapada",
"nakshatra_id": 25,
"pada": 2,
"nakshatra_lord": "Jupiter"
}
],
"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
}
],
"sade_sati": {
"active": false,
"phase": null,
"description": "Sade Sati not active"
},
"metadata": {
"endpoint_version": "v2",
"ruleset_version": "classical_chart_v1",
"ayanamsha": "lahiri",
"house_system": "whole_sign",
"node_type": "mean",
"timezone_used": "Asia/Kolkata"
}
}FAQ
Can the Vedic Chart API return Avastha planet age state?
Yes. Set include_avastha to true to add planets[].avastha with Baladi Avastha age state for each returned graha. The default response omits this field for backward compatibility.
Does this endpoint return Shadbala or Ishta/Kashta Phala?
No. Use the Vedic Strength endpoint for Shadbala. Ishta/Kashta Phala is not currently returned by the API.