← All endpoints / Vastu

Brahmasthan Analysis

POST/api/v1/vastu/brahmasthan
POSThttps://vedintelastroapi.com/api/v1/vastu/brahmasthan

Identifies the central Brahmasthan zone of a plot and checks for room obstructions, then evaluates applicable Vastu rules. Returns brahmasthan geometry, is_obstructed flag, and rule_evaluation.

Request Body (application/json)

FieldRequiredTypeDescription
api_keyNostringVedIntel API key (or use X-API-Key header)
plotYesstringPlot polygon: array of {x, y} vertices (min 3; open or closed — a last vertex equal to the first is accepted)
roomsNostringRoom polygons: array of {name: string, polygon: Point[]}. Used to detect Brahmasthan obstructions.
north_angleNonumberTrue North bearing (degrees clockwise) of your plan +Y axis. Every bearing is converted with true bearing = bearing + north_angle, and polygons are rotated into a True North frame. Default: 0
langNostringResponse language code. Default: en

Example Request

curl -X POST "https://vedintelastroapi.com/api/v1/vastu/brahmasthan" \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_API_KEY",
  "plot": "VALUE",
  "rooms": "VALUE",
  "north_angle": 0,
  "lang": "en"
}'

Example Response

{
  "status": 200,
  "response": {
    "calculation": {
      "brahmasthan": {
        "polygon": [
          {
            "x": 6.666667,
            "y": 3.333333
          },
          {
            "x": 13.333333,
            "y": 3.333333
          },
          {
            "x": 13.333333,
            "y": 6.666667
          },
          {
            "x": 6.666667,
            "y": 6.666667
          }
        ],
        "area": 22.22,
        "plot_fraction": 0.1111,
        "is_obstructed": false,
        "room_obstructions": []
      }
    },
    "rule_evaluation": {
      "findings": [
        {
          "rule_id": "brahmasthan-clear-positive",
          "subject": "brahmasthan",
          "category": "brahmasthan",
          "predicate": "brahmasthan-clear",
          "outcome": "positive",
          "severity": "major",
          "source_type": "classical",
          "source_text": "Manasara",
          "source_verification_status": "tradition_dependent",
          "interpretive_confidence": "high",
          "description": "Brahmasthan (central Brahma zone of the 81-pada Mandala) kept free of heavy structures.",
          "trigger": "Brahmasthan (central zone) is unobstructed"
        }
      ],
      "positive_count": 1,
      "negative_count": 0,
      "critical_count": 0,
      "rules_version": "1.0.0"
    },
    "interpretation": null,
    "metadata": {
      "geometry_engine_version": "1.0.0",
      "vastu_rules_version": "1.0.0",
      "coordinate_system": "cartesian_true_north",
      "north_reference": "true_north",
      "north_angle_applied_deg": 0,
      "precision": {
        "bearing_dp": 2,
        "area_dp": 2,
        "overlap_pct_dp": 2,
        "units": "same as input polygon coordinates",
        "rounding_method": "round half away from zero",
        "internal_precision": "double"
      },
      "ayanamsa": null
    }
  },
  "remaining_api_calls": 4998
}
← Back to all endpointsInteractive Docs
Get a free API key →