Skip to content
96Astro API

Vastu Plot Analysis

POSTAvailable

POSThttps://api.96astroapi.com/v1/vastu/vastu-plot-analysis

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.

Credits
1 credit
Input
Specific input
Output
JSON
Delivery
Direct response
Languages
26 languages; translated term names with labels
Headers
HeaderValue and description
AuthorizationRequiredBearer YOUR_API_KEY

Your sandbox (sk_test_...) or live (sk_live_...) key. X-API-Key: <key> is accepted instead.

Content-TypeRequiredapplication/json

The 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)

Body · application/json
FieldDescription
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: 0

Limits: minimum 0, less than 360

Example: 0

unitsstring | nullOptional

The unit the coordinates are in, if they are real lengths.

Default: null

Allowed values: mcmmmftinyd

Example: m

scaleobject | nullOptional

For a drawing in pixels: a length on the plan and its real length.

Default: null

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: null

slope.falls_towardstringRequired

The direction the ground falls toward (downhill), as a compass direction.

Allowed values: NNEESESSWWNW

Example: NE

slope.gradient_percentnumber | nullOptional

How steep: metres of fall per 100 metres. Under 1 is level, to 5 gentle, beyond steep.

Default: null

Limits: minimum 0, maximum 100

Example: 2

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: E

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: false

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: borewell

water[].directionstringRequired

Where it is, in the plot's own compass.

Allowed values: NNEESESSWWNW

Example: NE

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 · object
  • ratio · object
  • north_degrees · number
  • bounding_rectangle · object
  • area · object
  • cuts · array of object
  • extensions · array
  • extensions_and_cuts_method · string
  • slope · object
  • roads · array of object
  • plot_facing · string
  • plot_facing_note · string
  • water · array of object
  • findings · array of object
  • summary · object
  • citations · array of object

Try in Playground →Capability overview

Example request

Example response

200application/json
{
  "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.

Was this page helpful?

Send us feedback

What is it about?