← API reference

Vastu: zone ids, feature ids and the rules the analysis checks

POST /v1/vastu/analyze takes a floor plan as a map from zone to features - {"NE": ["pooja"], "SE": ["kitchen"]} - and reports each zone's status and any doshas. These are the ids it accepts.

Updated · values generated from the engine

What this catalog is

The request needs facing (N, NE, E, SE, S, SW, W or NW) and kind (home, apartment, plot, office or shop), and takes zones and an optional doorPosition (1-8 along the facing side).

Unknown zone ids, unknown feature ids and an empty layout are rejected with 400 VALIDATION_ERROR.

Zones

Vastu zones with element, deity, planet and uses
zoneelementDeity (dikpala)PlanetClassical useModern use
"N""water"KuberaMercury-wealth, careers, entrances
"NE""water"ĪśānaJupiterDeva apartment / poojapooja, water, kept open & light
"E""air"IndraSun-entrances, light, mornings
"SE""fire"AgniVenusKitchenkitchen, fire, electricals
"S""fire"YamaMars-bedrooms, heavier use
"SW""earth"NairṛtiRahuHousehold-utensils room / storagemaster bedroom, heavy storage
"W""water"VaruṇaSaturn-dining, children, study
"NW""air"VāyuMoonTreasury + granaryguest room, storage, movement
"center"null----
  • Classical use - set only where the classical text fixes one; elsewhere null, and the analysis reports a neutral status for most placements there.
  • Element, deity and planet - the widely used mapping, not tied to a single verse.

Features

Vastu feature ids and their weight
Feature idLabelWeightWaterFire
entranceMain entrance"neutral"nono
kitchenKitchen"neutral"noyes
master_bedroomMaster bedroom"heavy"nono
bedroomBedroom"neutral"nono
poojaPooja / prayer room"light"nono
toiletToilet"neutral"yesno
bathroomBathroom"neutral"yesno
staircaseStaircase"heavy"nono
water_tank_overheadOverhead water tank"heavy"yesno
water_tank_undergroundUnderground water tank"light"yesno
borewellBorewell / well"light"yesno
livingLiving room"neutral"nono
diningDining"neutral"nono
studyStudy"light"nono
storeStore room"heavy"nono
cash_lockerCash / locker"heavy"nono
open_spaceOpen space"light"nono
septicSeptic tank"neutral"yesno
  • Weight - heavy features favour the south-west and south, light ones the north-east and east; water and fire features have their own favoured zones.

Parsing notes

  • The analysis checks 7 rules: brahmasthan-built, ne-fire, ne-heavy, ne-defiled, kitchen-misplaced, water-misplaced, door-at-corner. Each dosha in the response names the rule, the reason and the source it rests on.
  • Vastu is a traditional design system, not engineering or structural advice. Show the response's disclaimer with the result.

In a real response

POST /v1/vastu/analyze - Recorded POST /v1/vastu/analyze response (zones cut to two).

json
{
  "data": {
    "facing": "E",
    "kind": "home",
    "zones": [
      {
        "zone": "N",
        "element": "water",
        "devatas": [
          "Diti",
          "Aditi"
        ],
        "classicalUse": null,
        "placed": [
          "living"
        ],
        "status": "neutral",
        "note": "No classical placement signal for what's here."
      },
      {
        "zone": "NE",
        "element": "water",
        "devatas": [
          "Agni",
          "Āpa"
        ],
        "classicalUse": "Deva apartment / pooja",
        "placed": [
          "pooja",
          "open_space"
        ],
        "status": "aligned",
        "note": "pooja in NE matches BS v.118."
      }
    ]
  }
}

Questions

Which endpoints does this page apply to?
1 endpoint: Vastu Analysis (POST /v1/vastu/analyze).

In the API

Endpoints that return these values