Skip to content
96Astro API

Vastu Category Heatmap

POSTAvailable

POSThttps://api.96astroapi.com/v1/vastu/vastu-heatmap

Sampled points across the floor, each scored for one life goal with its zone.

Credits
3 credits
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 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: 0

Limits: minimum 0, less than 360

Example: 0

north.referencestringOptional

What the reading is relative to. A magnetic reading with a site is corrected to true north.

Default: unknown

Allowed values: magnetictrueunknown

Example: true

north.declination_degreesnumber | nullOptional

Magnetic declination, east positive.

Default: null

Limits: minimum -90, maximum 90

north.uncertainty_degreesnumber | nullOptional

How far the reading may be off.

Default: null

Limits: minimum 0, maximum 45

north.measured_onstring | nullOptional

Day the reading was taken (for the declination model).

Default: null

Limits: format date

north.siteobject | nullOptional

Where the property is; used to look up the declination.

Default: null

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

centre[number, number] | nullOptional

The plan's centre (Brahmasthan); defaults to the centre of the outline's bounding box.

Default: null

Limits: exactly 2 items

roomsarray of objectsOptional

Limits: at most 80 items

rooms[].namestringRequired

Limits: 1 to 120 characters

Example: Kitchen

rooms[].typestring | nullOptional

Room use; omitted = untyped (reported, not scored).

Default: null

Allowed values:
32 valueskitchenmaster_bedroomchildren_bedroomguest_bedroompoojatoiletbathroomstudyliving_roomdiningstore_roomstairsmain_entrancewater_tank_undergroundwater_tank_overheadswimming_poolseptic_tankborewellgaragebalconycorridorcash_counterowner_seatreceptionmachinerygodown_storageraw_materialfinished_goodsstaffpantryshowroomfurnace_boiler

Example: kitchen

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

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

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

Allowed values: perimetermanasara

ayadi.length_mnumber | nullOptional

Length in metres; needed by `manasara`.

Default: null

Limits: greater than 0, maximum 5000

ayadi.breadth_mnumber | nullOptional

Breadth in metres; needed by `manasara`.

Default: null

Limits: greater than 0, maximum 5000

ayadi.unitstringOptional

Default: kishku_hasta

Allowed values: kishku_hastakerala_kolcustom

ayadi.custom_unit_metresnumber | nullOptional

Default: null

Limits: minimum 0.1, maximum 2

ayadi.owner_nakshatrastring | nullOptional

Owner's birth star; enables Tara-bala.

Default: null

Allowed values: AshwiniBharaniKrittikaRohiniMrigashiraArdraPunarvasuPushyaAshleshaMaghaPurva PhalguniUttara PhalguniHastaChitraSwatiVishakhaAnuradhaJyeshthaMulaPurva AshadhaUttara AshadhaShravanaDhanishtaShatabhishaPurva BhadrapadaUttara BhadrapadaRevati

categorystringRequired

Life goal to weight the field for.

Allowed values: careermarriagewealthspiritualhealtheducationpeacechildrenpropertyromancefameforeigntravelpoliticsarts

Example: career

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

Options (15)
ValueMeaning
careerCareer
marriageMarriage
wealthWealth
spiritualSpiritual
healthHealth
educationEducation
peacePeace of mind
childrenChildren
propertyProperty
romanceRomance
fameFame
foreignForeign settlement
travelTravel
politicsPolitics
artsArts

Response · fields in data

Measured from 3 real answers to different inputs: a required field was in every one.

  • category · string
  • grid_size · number
  • bbox · array of number
  • samples · array of object
  • basis · string

Try in Playground →Capability overview

Example request

Example response

200application/json
{
  "data": {
    "category": "career",
    "grid_size": 24,
    "bbox": [
      0,
      0,
      12
    ],
    "samples": [
      {
        "point": [
          0,
          0
        ],
        "score": 75,
        "zone": "NW"
      },
      {
        "point": [
  …

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?