Skip to content
Get API key
VedicSandbox

Vedic Planetary Strength API

"operation": "vedic-strength"

Compare strengths across planets.

POST/v1/astrology/calculate
  • 500 free calls a month
  • No card needed
  • Failed calculations are free

Request

Make a calculation

Send "operation": "vedic-strength" to POST /v1/astrology/calculate from your server with your API key.

Send these sample parameters under parameters: year, month, day, hour, minute, lat, lng, tz_str, ayanamsha, house_system, node_type. Use the birth shape shown in the request. For split fields, year/month/day are local calendar integers and hour/minute are local 24-hour time. lat/lng are decimal degrees and tz_str is an IANA time zone or AUTO where shown. Nested datetime and location objects follow the sample. The request uses synthetic inputs where applicable. The sample includes optional settings when relevant.

request.sh
curl -X POST "$MANTRILO_API_URL/v1/astrology/calculate" \
  -H "Authorization: Bearer $MANTRILO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"parameters":{"year":1995,"month":6,"day":20,"hour":12,"minute":30,"lat":28.6139,"lng":77.209,"tz_str":"Asia/Kolkata","ayanamsha":"lahiri","house_system":"whole_sign","node_type":"mean"},"operation":"vedic-strength"}'

Response

What comes back.

Illustrative response excerpt

/v1/astrology/calculate200 OK
{
  "data": {
    "operation": "vedic-strength",
    "result": {
      "shadbala": {},
      "ashtakavarga": {
        "sarvashtakavarga": {}
      }
    }
  },
  "calculated": true
}

Vedic

Build with the result

Render the planetary strength measures from data.result. Example field: data.result.shadbala.

A successful call uses one content request. Sandbox and live requests have separate usage totals. Failed calculations are refunded.