# Vastu Floor Analysis API

Vastu analysis of one floor from its marked-up plan: overall and category scores, zones, rooms, brahmasthan, marma, devatas, defects with remedies, Ayadi and a checklist.

- Endpoint: `POST https://api.96astroapi.com/v1/vastu/vastu-analyse`
- Family: [Vastu](https://96astroapi.com/apis/vastu.md)
- Input: Specific input
- Cost: 3 credits per successful call (sandbox keys are free)
- Status: available
- Delivery: Direct response
- Output languages: en, hi, mr, bn, gu, ta, te, ml, kn, pa, ur, ne, or, as, si, fr, es, pt, de, it, nl, pl, tr, ru, ko, ja
- Web page: https://96astroapi.com/apis/vastu/vastu-analyse

## Example request

```bash
curl https://api.96astroapi.com/v1/vastu/vastu-analyse \
  -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]]}]}'
```

## Response

Every response is `{ "data": …, "meta": { "request_id", "credits_used", "warnings", "language" } }`.
The full request and response schema, with a captured example, is in the OpenAPI document: https://api.96astroapi.com/v1/openapi.json (path `/v1/vastu/vastu-analyse`).
