Vastu Report
POSTAvailable
https://api.96astroapi.com/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.
- Credits
- 10 credits; 130 credits as a PDF
- Input
- Specific input
- Output
- JSON
- Delivery
- Direct response (JSON); PDF via /v1/jobs/pdf; spoken MP3 via /v1/jobs/audio
- Languages
- 26 languages; translated term names with
labels
| Header | Value and description |
|---|---|
AuthorizationRequired | Bearer YOUR_API_KEYYour sandbox (sk_test_...) or live (sk_live_...) key. X-API-Key: <key> is accepted instead. |
Content-TypeRequired | application/jsonThe body is JSON. |
Idempotency-KeyOptional | <unique string>Makes retries safe: a repeated key with the same body replays the stored response and is never charged twice. (1 to 200 characters) |
| Field | Description |
|---|---|
boundaryarray of [number, number]Required | The property outline, in order round the shape. Limits: 3 to 500 items |
northobjectOptional | |
north.degreesnumberOptional | Bearing of north, clockwise from the top of the plan (smaller y): 0 = north is up, 90 = north is right. Default: Limits: minimum 0, less than 360 Example: |
north.referencestringOptional | What the reading is relative to. A magnetic reading with a site is corrected to true north. Default: Allowed values: magnetictrueunknown Example: |
north.declination_degreesnumber | nullOptional | Magnetic declination, east positive. Default: Limits: minimum -90, maximum 90 |
north.uncertainty_degreesnumber | nullOptional | How far the reading may be off. Default: Limits: minimum 0, maximum 45 |
north.measured_onstring | nullOptional | Day the reading was taken (for the declination model). Default: Limits: format date |
north.siteobject | nullOptional | Where the property is; used to look up the declination. Default: |
north.site.latitudenumberRequired | Limits: minimum -90, maximum 90 |
north.site.longitudenumberRequired | Limits: minimum -180, maximum 180 |
unitsstring | nullOptional | The unit the coordinates are in, if they are real lengths. Default: Allowed values: mcmmmftinyd Example: |
scaleobject | nullOptional | For a drawing in pixels: a length on the plan and its real length. Default: |
scale.plan_lengthnumberRequired | A length measured on the plan, in plan coordinates. Limits: greater than 0, maximum 2000000 |
scale.real_lengthnumberRequired | What that length is in reality. Limits: greater than 0, maximum 100000 |
scale.unitstringRequired | Allowed values: mcmmmftinyd |
centre[number, number] | nullOptional | The plan's centre (Brahmasthan); defaults to the centre of the outline's bounding box. Default: Limits: exactly 2 items |
roomsarray of objectsOptional | Limits: at most 80 items |
rooms[].namestringRequired | Limits: 1 to 120 characters Example: |
rooms[].typestring | nullOptional | Room use; omitted = untyped (reported, not scored). Default: Allowed values: 32 valueskitchenmaster_bedroomchildren_bedroomguest_bedroompoojatoiletbathroomstudyliving_roomdiningstore_roomstairsmain_entrancewater_tank_undergroundwater_tank_overheadswimming_poolseptic_tankborewellgaragebalconycorridorcash_counterowner_seatreceptionmachinerygodown_storageraw_materialfinished_goodsstaffpantryshowroomfurnace_boilerExample: |
rooms[].polygonarray of [number, number]Required | Limits: 3 to 200 items |
rooms[].fixedbooleanOptional | Only read by the corrected layout: true keeps the room where it is drawn. Default: |
structuresarray of objectsOptional | Limits: at most 80 items |
structures[].namestringRequired | Limits: 1 to 120 characters |
structures[].typestringRequired | Allowed values: pillarstaircaseliftmachinekitchen_pitbeamwallstairsmain_entrancewater_tank_undergroundwater_tank_overheadseptic_tankborewell |
structures[].polygonarray of [number, number]Required | Limits: 3 to 200 items |
fixturesarray of objectsOptional | Limits: at most 50 items |
fixtures[].namestringOptional | Default: Limits: at most 120 characters |
fixtures[].typestringRequired | Allowed values: bedstovedesksafewc |
fixtures[].position[number, number]Required | Limits: exactly 2 items |
fixtures[].toward[number, number]Required | A second point in the direction the fixture faces (bed: where the head rests). Limits: exactly 2 items |
holesarray of objectsOptional | Open courtyards and cut-outs. Limits: at most 20 items |
holes[].namestringOptional | Default: Limits: at most 120 characters |
holes[].kindstringRequired | Allowed values: courtyardcutout |
holes[].polygonarray of [number, number]Required | Limits: 3 to 200 items |
ayadiobject | nullOptional | Ayadi options; Ayadi needs units or a scale. Default: |
ayadi.text_familystringOptional | The text family's rule: `perimeter` (the Mayamata perimeter method, five factors, the default) or `manasara` (opt-in: length, breadth and circumference each feed their own factors; needs length_m and breadth_m). An Utpala area family and a Tithi varga are not offered: their multipliers have not been verified against a source, and are not invented. Default: Allowed values: perimetermanasara |
ayadi.length_mnumber | nullOptional | Length in metres; needed by `manasara`. Default: Limits: greater than 0, maximum 5000 |
ayadi.breadth_mnumber | nullOptional | Breadth in metres; needed by `manasara`. Default: Limits: greater than 0, maximum 5000 |
ayadi.unitstringOptional | Default: Allowed values: kishku_hastakerala_kolcustom |
ayadi.custom_unit_metresnumber | nullOptional | Default: Limits: minimum 0.1, maximum 2 |
ayadi.owner_nakshatrastring | nullOptional | Owner's birth star; enables Tara-bala. Default: Allowed values: AshwiniBharaniKrittikaRohiniMrigashiraArdraPunarvasuPushyaAshleshaMaghaPurva PhalguniUttara PhalguniHastaChitraSwatiVishakhaAnuradhaJyeshthaMulaPurva AshadhaUttara AshadhaShravanaDhanishtaShatabhishaPurva BhadrapadaUttara BhadrapadaRevati |
floorsarray of objectsOptional | Floors above or below the ground floor, in the same coordinates as the plan. Checks stairs position and direction, a toilet over the kitchen or pooja room, a heavy upper floor over an open Brahmasthan and overhead water. All `basis: convention`. Limits: at most 12 items |
floors[].levelintegerRequired | The floor's level: 1 = first floor above the ground floor, -1 = basement. The ground floor (0) is the plan's own rooms and structures. Limits: minimum -3, maximum 60 |
floors[].labelstringOptional | Default: Limits: at most 60 characters |
floors[].roomsarray of objectsOptional | Limits: at most 80 items |
floors[].rooms[].namestringRequired | Limits: 1 to 120 characters |
floors[].rooms[].typestring | nullOptional | Room use; omitted = untyped (reported, not scored). Default: Allowed values: 32 valueskitchenmaster_bedroomchildren_bedroomguest_bedroompoojatoiletbathroomstudyliving_roomdiningstore_roomstairsmain_entrancewater_tank_undergroundwater_tank_overheadswimming_poolseptic_tankborewellgaragebalconycorridorcash_counterowner_seatreceptionmachinerygodown_storageraw_materialfinished_goodsstaffpantryshowroomfurnace_boiler |
floors[].rooms[].polygonarray of [number, number]Required | Limits: 3 to 200 items |
floors[].rooms[].fixedbooleanOptional | Only read by the corrected layout: true keeps the room where it is drawn. Default: |
floors[].structuresarray of objectsOptional | Limits: at most 80 items |
floors[].structures[].namestringRequired | Limits: 1 to 120 characters |
floors[].structures[].typestringRequired | Allowed values: pillarstaircaseliftmachinekitchen_pitbeamwallstairsmain_entrancewater_tank_undergroundwater_tank_overheadseptic_tankborewell |
floors[].structures[].polygonarray of [number, number]Required | Limits: 3 to 200 items |
floors[].structures[].rise_towardstring | nullOptional | Stairs only: the direction you walk while climbing, as a 16-point compass zone. Default: Allowed values: NNNENEENEEESESESSESSSWSWWSWWWNWNWNNW |
floors[].structures[].turnstring | nullOptional | Stairs only: which way the flight turns on the way up. Default: Allowed values: clockwiseanticlockwisestraight |
rule_packstring | nullOptional | Name the kind of building (home, shop, office, factory, hotel, warehouse, clinic, school, restaurant). Reports which of the plan's room types the pack covers. Every rule is `basis: convention`. Default: Allowed values: homeshopofficefactoryhotelwarehouseclinicschoolrestaurant |
remedies_scopestringOptional | `no_demolition` drops the structural tier from the remedies (free and object remedies remain). Every defect also carries `fixable_without_construction`. Default: Allowed values: allno_demolition |
centre_methodstring | nullOptional | How the plan's centre is found when `centre` is not given: `bounding_box` (default, the centre of the outline's bounding box) or `polygon_centroid` (the outline's area centroid). On an L- or U-shaped plot the two differ and either can fall outside the outline; the result says so (`centre`). Default: Allowed values: bounding_boxpolygon_centroid |
titlestring | nullOptional | The property's name, printed on the cover. Default: Limits: at most 120 characters Example: |
prepared_forstring | nullOptional | Who the report is for, printed on the cover. Default: Limits: at most 120 characters Example: |
plot_featuresobject | nullOptional | Slope, roads and water, to judge the plot as well as the plan. Without it the report covers the plot's shape, extensions and cuts only. Default: |
plot_features.slopeobject | nullOptional | Default: |
plot_features.slope.falls_towardstringRequired | The direction the ground falls toward (downhill), as a compass direction. Allowed values: NNEESESSWWNW Example: |
plot_features.slope.gradient_percentnumber | nullOptional | How steep: metres of fall per 100 metres. Under 1 is level, to 5 gentle, beyond steep. Default: Limits: minimum 0, maximum 100 Example: |
plot_features.roadsarray of objectsOptional | Limits: at most 8 items |
plot_features.roads[].sidestringRequired | The side of the plot the road is on, or the direction a road ends at the plot from. Allowed values: NNEESESSWWNW Example: |
plot_features.roads[].ends_at_plotbooleanOptional | True for a road that ends at the plot (a T-junction facing it) rather than running along its side. Default: |
plot_features.waterarray of objectsOptional | Limits: at most 20 items |
plot_features.water[].kindstringRequired | On the plot: well, borewell, underground_tank, overhead_tank, swimming_pool, septic_tank. Near it: pond, lake, river, stream, sea, canal. Allowed values: wellborewellunderground_tankoverhead_tankswimming_poolseptic_tankpondlakeriverstreamseacanal Example: |
plot_features.water[].directionstringRequired | Where it is, in the plot's own compass. Allowed values: NNEESESSWWNW Example: |
labelsstringOptional | Optional. Adds `meta.labels`: translated display names for the identifiers in the answer. `data` is unchanged. Free. Any other code is refused with 422 unsupported_language. Allowed values: asbndeesfrguhiitjaknkomlmrnenlorpaplptrusitatetrur |
Response · fields in data
Inferred from the example response: a guide to the shape, not a contract.
disclaimer· stringsummary· objectplot· objectcategory_scores· array of objectrooms· array of objectdefects· array of objectguidance_by_room_and_zone· array of objectbrahmasthan· objectmain_entrance· objectzones· array of objectayadi· objectchecklist· objectsources_and_conventions· array of objecttwo_systems· stringcentre· objecttitle· stringprepared_for· string
Example request
curl -X POST https://api.96astroapi.com/v1/vastu/vastu-report \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"units": "m",
"north": {
"degrees": 0,
"reference": "true"
},
"boundary": [
[
0,
0
],
[
12,
0
],
[
12,
9
],
[
0,
9
]
],
"rooms": [
{
"name": "Kitchen",
"type": "kitchen",
"polygon": [
[
9,
6
],
[
12,
6
],
[
12,
9
],
[
9,
9
]
]
},
{
"name": "Master bedroom",
"type": "master_bedroom",
"polygon": [
[
0,
5
],
[
4,
5
],
[
4,
9
],
[
0,
9
]
]
},
{
"name": "Pooja",
"type": "pooja",
"polygon": [
[
10,
0
],
[
12,
0
],
[
12,
2
],
[
10,
2
]
]
},
{
"name": "Entrance",
"type": "main_entrance",
"polygon": [
[
5,
0
],
[
7,
0
],
[
7,
1
],
[
5,
1
]
]
}
],
"title": "Flat 4, Sector 21",
"prepared_for": "Asha Rao",
"plot_features": {
"slope": {
"falls_toward": "NE",
"gradient_percent": 2
},
"roads": [
{
"side": "N"
}
],
"water": [
{
"kind": "borewell",
"direction": "NE"
}
]
}
}'Example response
{
"data": {
"disclaimer": "Vastu is a traditional system of reading a building and its plot. This report describes tendencies by traditional rules, each marked as classical, a synthesis of the texts, or a convention; it is not a prediction, and it is not structural, legal, medical or financial advice.",
"summary": {
"overall_score": 61,
"score_status": "assessed",
"score_basis": "Based on 61.1% of the automatic checks.",
"plot_shape": "rectangular",
"plot_verdict": "Rectangular plot — most auspicious. Ideal sides ratio 1:1.2 to 1:1.6.",
"north": "Oriented to true north, as recorded. No declination applied.",
"defects_found": 2,
"severe_defects": 1,
"plot_area_sqm": 108
},
"plot": {
"shape": {
"name": "rectangular",
"quality": "best",
"verdict": "Rectangular plot — most auspicious. Ideal sides ratio 1:1.2 to 1:1.6.",
"corners": 4,
…Captured from the live engine with a sandbox key (so credits_used is 0) and trimmed: long arrays keep their first items.
Error responses
- 400invalid_request
- 401invalid_key, expired_key
- 402payment_required
- 403account_suspended, plan_upgrade_required, plan_family_not_included, key_scope_denied, ip_not_allowed, origin_not_allowed, publishable_key_not_allowed
- 404not_found
- 409idempotency_conflict
- 413payload_too_large
- 422invalid_request, unsupported_language
- 429rate_limited, quota_exhausted, spend_cap_reached, project_budget_exceeded
- 500computation_failed
- 502unavailable
- 503unavailable, maintenance, temporarily_unavailable
- 504deadline_exceeded
Errors are never charged. What each status means and what to do: errors.

