API reference
Vastu
- 24 endpoints
- POST JSON body
- Bearer key
24 endpoints. Every endpoint is POST with a JSON body and your key in the Authorization header. Request schemas and examples come from the OpenAPI document; each example response was captured from the live engine, and each endpoint says where its data fields come from: a hand-written contract, a schema measured from several real answers, or the one example.
- Vastu Floor AnalysisAvailable
POST /v1/vastu/vastu-analyseVastu 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.
- Vastu Category HeatmapAvailable
POST /v1/vastu/vastu-heatmapSampled points across the floor, each scored for one life goal with its zone.
- Compare Two PropertiesAvailable
POST /v1/vastu/vastu-compareTwo plans analysed side by side: each one's scores and defects, the winner per category with reasons, and the overall winner.
- Ayadi CalculationAvailable
POST /v1/vastu/vastu-ayadiAyadi factors (aya-vyaya, yoni, nakshatra, vara) for given dimensions, how many are favourable, and the nearest all-favourable size.
- Vastu + City ScoreAvailable
POST /v1/vastu/vastu-combined-with-cityCombines Vastu category scores with a city's location-astrology scores: a combined score and diagnosis per category, and an average.
- Remedy TimingAvailable
POST /v1/vastu/vastu-auspicious-timesAuspicious 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.
- DXF Floor-Plan ImportAvailable
POST /v1/vastu/vastu-import-dxfReads an ASCII DXF drawing into a reviewable plan (boundary, north, rooms, scale) with the drawing units and notes.
- Vastu Plan TemplatesAvailable
POST /v1/vastu/vastu-templatesLists the starter floor-plan templates with their rooms.
- Vastu Plan TemplateAvailable
POST /v1/vastu/vastu-templateOne starter template scaled to the given canvas size.
- Vastu Reference TablesAvailable
POST /v1/vastu/vastu-referenceThe 16 Vastu zones the analysis scores: each with its deity, element, planet, chakra, what it governs and what it suits.
- Vastu Entrance PadaAvailable
POST /v1/vastu/vastu-entrance-padaThe 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.
- Vastu Room Placement ReadingAvailable
POST /v1/vastu/vastu-room-placementA 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.
- Vastu 81-Pada GridAvailable
POST /v1/vastu/vastu-pada-gridThe 9 by 9 Paramasayika grid of 45 deities, to draw the mandala, and the pada under any point on a plan.
- Vastu Plot AnalysisAvailable
POST /v1/vastu/vastu-plot-analysisThe 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-zone-remediesRemedies, 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.
- Griha-Pravesh and Foundation MuhurtaAvailable
POST /v1/vastu/vastu-muhurtaThe 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.
- Vastu Zone and Defect Overlay ImageAvailable
POST /v1/vastu/vastu-overlay-imageA 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.
- Vastu ReportAvailable
POST /v1/vastu/vastu-reportA 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.
- Vastu Sources and ConventionsAvailable
POST /v1/vastu/vastu-sourcesWhere 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.
- Vastu Rule PacksAvailable
POST /v1/vastu/vastu-rule-packsThe 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. - Vastu Plan Geometry CheckAvailable
POST /v1/vastu/vastu-validate-geometryEvery 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.
- Vastu Corrected LayoutAvailable
POST /v1/vastu/vastu-corrected-layoutFor 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. - Custom Ayadi (user constants)Available
POST /v1/vastu/ayadi-custom(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-fullThe 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.


