POST/v1/vastu/analyze

Vastu Analysis API

Vastu analysis of a space - per-zone readings, detected doshas + remedies, and a 0-100 alignment score. No birth chart required.

One of 1 endpoints in the Vastu engine.

Request

Call it from curl, Node.js or Python

bash
curl -X POST 'https://api.astronode.dev/v1/vastu/analyze' \
  -H 'Authorization: Bearer aie_test_REPLACE_WITH_YOUR_API_KEY' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  --data '{
  "facing": "E",
  "kind": "home",
  "doorPosition": 4,
  "zones": {
    "NE": [
      "pooja",
      "open_space"
    ],
    "SE": [
      "kitchen"
    ],
    "SW": [
      "master_bedroom"
    ],
    "NW": [
      "bedroom",
      "toilet"
    ],
    "N": [
      "living"
    ],
    "E": [
      "entrance"
    ]
  }
}'

Free test key (aie_test_*): 1,000 requests / month.

Request schema

Fields POST /v1/vastu/analyze accepts

Request body fields for POST /v1/vastu/analyze
FieldTypeNotes
facingrequiredenum

N | NE | E | SE | S | SW | W | NW

kindrequiredenum

home | apartment | plot | office | shop

zonesobject

default {}

zones.Nenum[]-
zones.NEenum[]-
zones.Eenum[]-
zones.SEenum[]-
zones.Senum[]-
zones.SWenum[]-
zones.Wenum[]-
zones.NWenum[]-
zones.centerenum[]-
doorPositioninteger

1..8

From the OpenAPI 3.1 spec.

Response

What you get back

Returned inside the standard envelope (request_id, data, meta). This endpoint documents 200, 400, 401, 409, 429, 500.

Fields inside data

Inferred from a recorded response; fields can vary with input.

Response data fields for POST /v1/vastu/analyze
FieldTypeNotes
facingstring

e.g. E

kindstring

e.g. home

zonesobject[]-
zones[].zonestring

e.g. N

zones[].elementstring

e.g. water

zones[].devatasstring[]-
zones[].classicalUsenull | string-
zones[].placedstring[]-
zones[].statusstring

e.g. neutral

zones[].notestring

e.g. No classical placement signal for what's here.

summaryobject[]-
summary[].zonestring

e.g. N

summary[].padaCountinteger

e.g. 13

summary[].devatasstring[]-
summary[].elementstring

e.g. water

summary[].isBrahmasthanboolean

e.g. false

doshasunknown[]-
remediesunknown[]-
alignmentobject-
alignment.scoreinteger

e.g. 100

alignment.factorsobject[]-
alignment.factors[].zonestring

e.g. N

alignment.factors[].statusstring

e.g. neutral

alignment.factors[].reasonstring

e.g. No classical placement signal for what's here.

metaobject-
meta.traditionstring

e.g. vastu/classical

meta.is_traditionalboolean

e.g. true

meta.disclaimerstring

e.g. Vāstu is a traditional design system, not science. These are classical guidelines with regional variants - a leaning to…

meta.vastu_versionstring

e.g. 1.1.0

vastu_versionstring

e.g. 1.1.0

Example data for the request above (abridged)

Recorded from this call; long lists are shortened and the output abridged to 40 lines.

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

In practice

Using the Vastu Analysis API

Available on every plan, including Free. Plans and limits

Why products call it

Where it is explained and used

Questions

Which plan includes the Vastu Analysis API?
All plans, including Free.
What does POST /v1/vastu/analyze need in the request?
Required: facing and kind. Optional: zones and doorPosition.
What does POST /v1/vastu/analyze return?
facing, kind, zones, summary, doshas, remedies, alignment, meta and vastu_version, inside data.
What is the Vastu Analysis API used for?
Products such as real estate & interiors (vastu). In the real estate & interiors (vastu) build, at the "Describe the space" stage: Per-zone readings, detected doshas with their traditional remedies and sources, and a 0-100 alignment score with the factors behind it.

Ready to call POST /v1/vastu/analyze?

Free tier covers 1,000 requests / month. Razorpay-billed, GST-compliant invoices when you upgrade.

Informational, not predictive. Not medical, legal, or financial advice.