# Vastu API

Floor-plan Vastu analysis, Ayadi, comparisons, heatmaps and reference tables.

## Capabilities

- [Vastu Floor Analysis](https://96astroapi.com/apis/vastu/vastu-analyse.md): Vastu analysis of one floor from its marked-up plan: overall and category scores, zones, rooms, brahmasthan, marma, devatas, defects with remedies, Ayadi and a checklist. `POST /v1/vastu/vastu-analyse`, 3 credits
- [Vastu Category Heatmap](https://96astroapi.com/apis/vastu/vastu-heatmap.md): Sampled points across the floor, each scored for one life goal with its zone. `POST /v1/vastu/vastu-heatmap`, 3 credits
- [Compare Two Properties](https://96astroapi.com/apis/vastu/vastu-compare.md): Two plans analysed side by side: each one's scores and defects, the winner per category with reasons, and the overall winner. `POST /v1/vastu/vastu-compare`, 3 credits
- [Ayadi Calculation](https://96astroapi.com/apis/vastu/vastu-ayadi.md): Ayadi factors (aya-vyaya, yoni, nakshatra, vara) for given dimensions, how many are favourable, and the nearest all-favourable size. `POST /v1/vastu/vastu-ayadi`, 1 credit
- [Vastu + City Score](https://96astroapi.com/apis/vastu/vastu-combined-with-city.md): Combines Vastu category scores with a city's location-astrology scores: a combined score and diagnosis per category, and an average. `POST /v1/vastu/vastu-combined-with-city`, 1 credit
- [Remedy Timing](https://96astroapi.com/apis/vastu/vastu-auspicious-times.md): Auspicious days in a range for carrying out a Vastu remedy, optionally for a deity: each day's tier, score, reasons, nakshatra and Brahma and Abhijit muhurta. `POST /v1/vastu/vastu-auspicious-times`, 1 credit
- [DXF Floor-Plan Import](https://96astroapi.com/apis/vastu/vastu-import-dxf.md): Reads an ASCII DXF drawing into a reviewable plan (boundary, north, rooms, scale) with the drawing units and notes. `POST /v1/vastu/vastu-import-dxf`, 1 credit
- [Vastu Plan Templates](https://96astroapi.com/apis/vastu/vastu-templates.md): Lists the starter floor-plan templates with their rooms. `POST /v1/vastu/vastu-templates`, 1 credit
- [Vastu Plan Template](https://96astroapi.com/apis/vastu/vastu-template.md): One starter template scaled to the given canvas size. `POST /v1/vastu/vastu-template`, 1 credit
- [Vastu Reference Tables](https://96astroapi.com/apis/vastu/vastu-reference.md): The 16 Vastu zones the analysis scores: each with its deity, element, planet, chakra, what it governs and what it suits. `POST /v1/vastu/vastu-reference`, 1 credit
- [Vastu Entrance Pada](https://96astroapi.com/apis/vastu/vastu-entrance-pada.md): The pada of a door among the 32 on the boundary, from its wall and position or its bearing: the deity, whether it is traditionally favoured, and what it is linked with. Lists all 32. `POST /v1/vastu/vastu-entrance-pada`, 1 credit
- [Vastu Room Placement Reading](https://96astroapi.com/apis/vastu/vastu-room-placement.md): A written reading for one room in one of the 16 zones, the centre or a boundary pada: its grade, why (the zone's deity and element, the room's element and weight), the traditional effect, better zones, and remedies with what to do, why it helps and the effort. With no zone, the room in every zone. `POST /v1/vastu/vastu-room-placement`, 1 credit
- [Vastu 81-Pada Grid](https://96astroapi.com/apis/vastu/vastu-pada-grid.md): The 9 by 9 Paramasayika grid of 45 deities, to draw the mandala, and the pada under any point on a plan. `POST /v1/vastu/vastu-pada-grid`, 1 credit
- [Vastu Plot Analysis](https://96astroapi.com/apis/vastu/vastu-plot-analysis.md): The plot on its own, from its outline: shape and side ratio, extensions and cuts with their direction and size, the fall of the ground, the roads that meet it and water on or near it. Every finding carries a basis: classical, a synthesis of the texts, or a convention. `POST /v1/vastu/vastu-plot-analysis`, 1 credit
- [Vastu Remedies, Colours and Elements by Room and Zone](https://96astroapi.com/apis/vastu/vastu-zone-remedies.md): Remedies, colours and elements for a room in a zone, a zone alone (its element, colours to use and avoid, the rooms it suits and the ones it does not) or a room across all 16 zones and the centre. Remedies come ranked: free first, then small objects, then building work. `POST /v1/vastu/vastu-zone-remedies`, 1 credit
- [Griha-Pravesh and Foundation Muhurta](https://96astroapi.com/apis/vastu/vastu-muhurta.md): The best days in a range to enter a finished home (griha-pravesh) or to break the ground and lay the foundation stone (Bhoomi Pujan, Shilanyas), with each day's tithi, nakshatra, yoga, why it was chosen and its clear windows. The days ruled out are counted, and listed on request. `POST /v1/vastu/vastu-muhurta`, 1 credit
- [Vastu Zone and Defect Overlay Image](https://96astroapi.com/apis/vastu/vastu-overlay-image.md): A picture of a plan analysis drawn on the plan itself: the 16 zones coloured by element, each room outlined by its grade, the Brahmasthan, a numbered marker on every defect, a north arrow and a legend. The same image the Vastu PDF report prints. `POST /v1/vastu/vastu-overlay-image`, 3 credits
- [Vastu Report](https://96astroapi.com/apis/vastu/vastu-report.md): A full Vastu report for one floor plan: scores, the plot read on its own, every room's placement, numbered defects with their remedies by tier, colours and remedies by room and zone, Ayadi and the buyer's checklist, and a table of where each rule comes from. As a PDF it carries the coloured zone and defect overlay. `POST /v1/vastu/vastu-report`, 10 credits
- [Vastu Sources and Conventions](https://96astroapi.com/apis/vastu/vastu-sources.md): Where each kind of Vastu verdict comes from: the texts named, and whether each topic is classical, a synthesis of several texts, or a modern convention, with the reference where it is known and a plain statement where it is not. `POST /v1/vastu/vastu-sources`, 1 credit
- [Vastu Rule Packs](https://96astroapi.com/apis/vastu/vastu-rule-packs.md): The named rule packs (home, shop, office, factory, hotel, warehouse) and, for each, the placement rule of every room type it covers: ideal, good and avoid zones with the reason. Commercial types (cash counter, owner's seat, reception, machinery, godown or storage, raw material, finished goods, staff area, pantry, showroom, furnace or boiler) are accepted by vastu-analyse and vastu-room-placement. Every rule is labelled `basis: convention`: modern practitioner teaching, not a classical verse. `POST /v1/vastu/vastu-rule-packs`, 1 credit
- [Vastu Plan Geometry Check](https://96astroapi.com/apis/vastu/vastu-validate-geometry.md): Every geometry fault of a plan in one answer: a boundary, room, structure or courtyard that crosses itself or has no area, courtyards outside the outline or overlapping, rooms that overlap (a warning from 10% of the smaller room, an error from 60%), a room outside the outline, rooms that add up to more than the plot, and a unit or scale that makes the plot implausible. Also states the plan's centre convention and what it means on an L- or U-shaped plot. `POST /v1/vastu/vastu-validate-geometry`, 1 credit
- [Vastu Corrected Layout](https://96astroapi.com/apis/vastu/vastu-corrected-layout.md): For the rooms that fail their placement rule (score under 50; optionally those that warn), a proposed zone and position snapped to the zones that room type allows, returned as data beside the original plan, with the rooms that cannot move and why (fixed, tied to the plot, no rule, or no free space). Optionally a DXF with PASS, WARN, FAIL and PROPOSED layers, drawn in your plan's units. A sketch to start a designer's conversation, labelled `basis: convention`. `POST /v1/vastu/vastu-corrected-layout`, 3 credits
- [Custom Ayadi (user constants)](https://96astroapi.com/apis/vastu/ayadi-custom.md): (measure x multiplier) mod divisor for each factor you give, with the quotient and remainder, using exact decimal arithmetic. Not a classical profile. `POST /v1/vastu/ayadi-custom`, 1 credit
- [Full Ayadi, Utpala and Samarangana (convention)](https://96astroapi.com/apis/vastu/ayadi-full.md): The full seven-factor Ayadi for a plot's length and breadth: Utpala (Aya, Vyaya, Yoni, Riksha, Vara, Tithi, Ayu) or the later Samarangana version (Aya, Vyaya, Yoni, Nakshatra, Tithi, Vara, Ayu), with the working for each factor. `POST /v1/vastu/ayadi-full`, 1 credit
