Vastu Plot Analysis
POSTAvailable
https://api.96astroapi.com/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.
- Credits
- 1 credit
- Input
- Specific input
- Output
- JSON
- Delivery
- Direct response
- 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 plot's outline in order round the shape, in plan coordinates (x to the right, y down the page, as in a drawing). Limits: 3 to 500 items |
north_degreesnumberOptional | Bearing of true north, clockwise from the top of the plan: 0 = north is up, 90 = north is right. For a magnetic reading, use vastu-analyse, which corrects for declination. Default: Limits: minimum 0, less than 360 Example: |
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 |
slopeobject | nullOptional | Default: |
slope.falls_towardstringRequired | The direction the ground falls toward (downhill), as a compass direction. Allowed values: NNEESESSWWNW Example: |
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: |
roadsarray of objectsOptional | The roads that meet the plot. Limits: at most 8 items |
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: |
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: |
waterarray of objectsOptional | Water on or near the plot. Limits: at most 20 items |
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: |
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.
shape· objectratio· objectnorth_degrees· numberbounding_rectangle· objectarea· objectcuts· array of objectextensions· arrayextensions_and_cuts_method· stringslope· objectroads· array of objectplot_facing· stringplot_facing_note· stringwater· array of objectfindings· array of objectsummary· objectcitations· array of object
Example request
curl -X POST https://api.96astroapi.com/v1/vastu/vastu-plot-analysis \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"boundary": [
[
0,
0
],
[
8,
0
],
[
8,
3
],
[
12,
3
],
[
12,
9
],
[
0,
9
]
],
"units": "m",
"north_degrees": 0,
"slope": {
"falls_toward": "NE",
"gradient_percent": 2
},
"roads": [
{
"side": "E"
}
],
"water": [
{
"kind": "borewell",
"direction": "NE"
}
]
}'Example response
{
"data": {
"shape": {
"name": "gaumukhi",
"quality": "best",
"verdict": "Gaumukhi shape — front narrow, back wide. Highly auspicious for residence. (Avoid for commercial/shop.)",
"corners": 6,
"basis": "plot_shape"
},
"ratio": {
"long_to_short": 1.33,
"band": "rectangular",
"long_side": {
"plan_units": 12,
"metres": 12
},
"short_side": {
"plan_units": 9,
"metres": 9
},
…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.

