---
title: "Main door pada and its result"
method: POST
path: "/vastu/entrance"
tags: ["Vastu Shastra"]
---

# Main door pada and its result

`POST /vastu/entrance`

## Request

- Base URL: `https://api.astroway.info/v1`
- URL: `https://api.astroway.info/v1/vastu/entrance`
- Auth: API key in header `X-Api-Key`

Which of the 32 outer padas a main door sits in, its deity in both schools, and the result Brihat Samhita 53.72-75 gives for a door there. Send the pada (N3) or the wall and the door centre as a fraction of it; two ways of fitting 8 doors onto a 9-cell wall are offered, and a door near a pada edge is flagged.

## Query parameters

- `fields` string
- `precision` integer

## Request body

- VastuEntranceInput
  - `side` 'E' | 'S' | 'W' | 'N'
  - `position` number
  - `pada` string
  - `method` 'eight-per-side' | 'mandala-cells'

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `side` string, nullable
    - `position` number, nullable
    - `pada` string, nullable
    - `devata` string, nullable
    - `devataMayamata` string, nullable
    - `effect` string, nullable
    - `verdict` string, nullable
    - `source` string, nullable
    - `edgeDistance` number, nullable
    - `method` string, nullable
    - `warnings` unknown[], nullable
      - unknown
    - `notes` string[], nullable

## Other responses

- `400`: Validation error
- `401`: Missing or invalid API key

## Changes

- **2026-10-20** `85702f4e35b0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/astroway/apis/astroway-calculation-api/changes/vastu/entrance/post.md)

---

[API](https://skmtc.dev/astroway/apis/astroway-calculation-api.md) · [All operations](https://skmtc.dev/astroway/apis/astroway-calculation-api/llms.txt) · [OpenAPI document](https://skmtc.dev/astroway/apis/astroway-calculation-api/revisions/593d763ba9a5?raw)
