Vastu
AvailableVastu Zone and Defect Overlay Image API
A 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.
- POST /v1/vastu/vastu-overlay-image
- 3 credits
curl https://api.96astroapi.com/v1/vastu/vastu-overlay-image \ -H "Authorization: Bearer $ASTRO_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" }'
Overview
A 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.
Call it with POST /v1/vastu/vastu-overlay-image. Input: specific input. Output: JSON, as a direct response. Each successful call costs 3 credits.
- POST /v1/vastu/vastu-overlay-image
- 3 credits
- Specific input
Try it
Response
Ready when you are
Press Run it to see the live response here.
Example response
Fields in dataInferred from the example response: a guide to the shape, not a contract.
imagesarray of objectdefectsarray of objectcolour_keyobjectcitationsarray of object
200Example response
Captured from the live engine with a sandbox key (so credits_used is 0) and trimmed: long arrays keep their first items and image data is shortened.
Loading the example…
Request schema and every field: the Vastu reference.
Related endpoints
01What does the Vastu Zone and Defect Overlay Image API return?
A 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. The response's data object includes images, defects, colour_key and citations. See the reference for an example response.
02What input does Vastu Zone and Defect Overlay Image need?
Specific input.
03How much does a Vastu Zone and Defect Overlay Image call cost?
3 credits per successful call; a failed call is not charged. Plans and top-ups are on the pricing page.
04Can I try it before paying?
Yes. Every account gets sandbox keys and trial credits, so you can call it from your own code before choosing a plan.


