77 Endpoints | AR/VR Ready | Manasara + Mayamata + Brihat Samhita | FREE Sandbox

Vastu Shastra API for AR/VR Apps

Mandala Projection · Floor-Plan Audit · 45-Devata Heatmap · 32-Pada Entrance · Magnetic Declination Correction

The only Vastu API built for AR/VR scanner apps. Send a plot polygon and compass bearing — get back mandala-grid coordinates in world space, ready for your AR scene. Every rule traced to verse + chapter from classical texts.

FREE Sandbox
Source-Cited Classical Texts
Plans from $12/mo

Built for AR/VR Scanner Apps

Pure-data endpoints — your app does the rendering, we do the Vastu compute

┌─────────────────────────────────────────────────────────────────────┐
│  1. App boots — fetch reference data (cache locally)                │
│     GET /v2/astrology/vastu/reference/mandala/9-zone                │
│     GET /v2/astrology/vastu/reference/mandala/45-devatas            │
└─────────────────────────────────────────────────────────────────────┘
                              ↓
┌─────────────────────────────────────────────────────────────────────┐
│  2. User starts scan — phone reads GPS + compass                    │
│     GET /v2/astrology/vastu/direction/declination?lat=&lon=         │
│     → returns true-north correction in degrees                      │
└─────────────────────────────────────────────────────────────────────┘
                              ↓
┌─────────────────────────────────────────────────────────────────────┐
│  3. Scan finishes — phone has plot polygon + room polygons          │
│     POST /v2/astrology/vastu/mandala/project/81-pada                │
│     → returns 81 cell polygons in YOUR world coordinates            │
│     → AR client renders grid directly on the scene floor            │
└─────────────────────────────────────────────────────────────────────┘
                              ↓
┌─────────────────────────────────────────────────────────────────────┐
│  4. User tags rooms                                                  │
│     POST /v2/astrology/vastu/audit/floor-plan-detailed              │
│     → returns score 0-100 + per-cell defects + remedies             │
│     → AR client colours each cell red/yellow/green                  │
└─────────────────────────────────────────────────────────────────────┘
                              ↓
┌─────────────────────────────────────────────────────────────────────┐
│  5. User taps door position                                          │
│     POST /v2/astrology/vastu/entrance/pada                          │
│     → returns 32-pada classification (deity + auspiciousness)       │
└─────────────────────────────────────────────────────────────────────┘
                              ↓
┌─────────────────────────────────────────────────────────────────────┐
│  6. (Optional) Scan-quality validation                              │
│     POST /v2/astrology/vastu/ar/scan-quality                        │
│     → returns A-F grade + missing-data list + re-scan suggestions   │
└─────────────────────────────────────────────────────────────────────┘

Six Endpoint Groups, One API Key

Reference Data

9-zone mandala, 45-devata table, 8-direction reference, defect catalog, remedy catalog. Static data, fully cacheable.

/vastu/reference/*

Direction & Compass

WMM 2025 magnetic declination correction, compass-bearing → Vastu zone, true-north anchored output.

/vastu/direction/*

Mandala Projection

9-zone, 81-pada Paramasayika, Brahmasthan — projected onto your plot polygon in world coordinates. AR-ready.

/vastu/mandala/project/*

Compliance Audit

Single-room compliance, full floor-plan score, detailed audit with 45-devata heatmap and walking remediation order.

/vastu/audit/*

Entrance Classification

32-pada door analysis with deity per pada, auspiciousness grading, classical citation per Manasara Ch. 9.

/vastu/entrance/*

AR Helpers

Scan-quality validator with A-F grade, missing-data list, and concrete re-scan suggestions for your client.

/vastu/ar/*

All 77 Endpoints — Status & Pricing

Tier 1 LIVE today. Tiers 2-4 priced and on the public roadmap.

Endpoint Method Price/Call Status
/v2/astrology/vastu/reference/mandala/9-zoneGET$0.012LIVE
/v2/astrology/vastu/reference/mandala/45-devatasGET$0.012LIVE
/v2/astrology/vastu/reference/directions/8GET$0.012LIVE
/v2/astrology/vastu/reference/defects/catalogGET$0.012LIVE
/v2/astrology/vastu/reference/remedies/catalogGET$0.012LIVE
/v2/astrology/vastu/direction/declinationGET$0.016LIVE
/v2/astrology/vastu/direction/correctPOST$0.016LIVE
/v2/astrology/vastu/direction/zone-from-bearingPOST$0.016LIVE
/v2/astrology/vastu/mandala/project/9-zonePOST$0.028LIVE
/v2/astrology/vastu/mandala/project/81-padaPOST$0.028LIVE
/v2/astrology/vastu/mandala/project/brahmasthanPOST$0.028LIVE
/v2/astrology/vastu/audit/single-roomPOST$0.016LIVE
/v2/astrology/vastu/audit/floor-planPOST$0.028LIVE
/v2/astrology/vastu/audit/floor-plan-detailedPOST$0.048LIVE
/v2/astrology/vastu/entrance/padaPOST$0.028LIVE
/v2/astrology/vastu/ar/scan-qualityPOST$0.016LIVE
Tier 2 — Plot Analysis (priced, ~2 weeks ETA)
/v2/astrology/vastu/reference/mandala/64-padaGET$0.012SOON
/v2/astrology/vastu/reference/mandala/81-padaGET$0.012SOON
/v2/astrology/vastu/reference/directions/16GET$0.012SOON
/v2/astrology/vastu/reference/directions/32GET$0.012SOON
/v2/astrology/vastu/reference/colors-by-zoneGET$0.012SOON
/v2/astrology/vastu/reference/materials-by-zoneGET$0.012SOON
/v2/astrology/vastu/plot/shapePOST$0.028LIVE
/v2/astrology/vastu/plot/extensions-cutsPOST$0.028SOON
/v2/astrology/vastu/plot/slopePOST$0.028SOON
/v2/astrology/vastu/plot/ratioPOST$0.016LIVE
/v2/astrology/vastu/plot/orientationPOST$0.028SOON
/v2/astrology/vastu/plot/road-orientationPOST$0.028SOON
/v2/astrology/vastu/audit/multi-floorPOST$0.048SOON
Tier 3 — Specialized Buildings + Muhurta (priced, ~3 weeks ETA)
/v2/astrology/vastu/specialized/residentialPOST$0.028SOON
/v2/astrology/vastu/specialized/commercialPOST$0.028SOON
/v2/astrology/vastu/specialized/templePOST$0.048SOON
/v2/astrology/vastu/specialized/factoryPOST$0.028SOON
/v2/astrology/vastu/specialized/hospitalPOST$0.028SOON
/v2/astrology/vastu/specialized/restaurantPOST$0.028SOON
/v2/astrology/vastu/specialized/educationalPOST$0.028SOON
/v2/astrology/vastu/timing/purusha-sleep-cycleGET$0.012SOON
/v2/astrology/vastu/timing/bhumi-pujanPOST$0.028SOON
/v2/astrology/vastu/timing/grihapraveshPOST$0.028SOON
/v2/astrology/vastu/timing/construction-startPOST$0.028SOON
/v2/astrology/vastu/timing/vastu-shantiPOST$0.028SOON
/v2/astrology/vastu/entrance/recommendPOST$0.048SOON
/v2/astrology/vastu/entrance/swingPOST$0.016SOON
/v2/astrology/vastu/entrance/multiple-doorsPOST$0.028SOON
/v2/astrology/vastu/elements/distributionPOST$0.028SOON
/v2/astrology/vastu/elements/balance-suggestPOST$0.048SOON
/v2/astrology/vastu/direction/sun-pathPOST$0.028SOON
/v2/astrology/vastu/direction/auspicious-facingPOST$0.048SOON
/v2/astrology/vastu/audit/from-textPOST$0.016SOON
Tier 4 — Auxiliary, AR Assets, Persistence, Fusion (priced, ~4 weeks ETA)
/v2/astrology/vastu/auxiliary/parkingPOST$0.016SOON
/v2/astrology/vastu/auxiliary/staircasePOST$0.016SOON
/v2/astrology/vastu/auxiliary/water-tankPOST$0.016SOON
/v2/astrology/vastu/auxiliary/septicPOST$0.016SOON
/v2/astrology/vastu/auxiliary/solar-panelsPOST$0.016SOON
/v2/astrology/vastu/auxiliary/gardenPOST$0.028SOON
/v2/astrology/vastu/auxiliary/swimming-poolPOST$0.028SOON
/v2/astrology/vastu/auxiliary/compound-wallPOST$0.016SOON
/v2/astrology/vastu/auxiliary/altar-deity-directionPOST$0.016SOON
/v2/astrology/vastu/mandala/project/64-padaPOST$0.028SOON
/v2/astrology/vastu/mandala/project/marma-pointsPOST$0.028SOON
/v2/astrology/vastu/mandala/project/energy-linesPOST$0.028SOON
/v2/astrology/vastu/mandala/project/49-padaPOST$0.028SOON
/v2/astrology/vastu/plot/soil-recommendationPOST$0.028SOON
/v2/astrology/vastu/plot/water-sourcePOST$0.028SOON
/v2/astrology/vastu/geo/city-rulesGET$0.016SOON
/v2/astrology/vastu/geo/climate-zoneGET$0.016SOON
/v2/astrology/vastu/fusion/chartPOST$0.048SOON
/v2/astrology/vastu/fusion/familyPOST$0.048SOON
/v2/astrology/vastu/compare/two-plansPOST$0.048SOON
/v2/astrology/vastu/compare/before-after-remedyPOST$0.048SOON
/v2/astrology/vastu/ar/heatmap-rasterPOST$0.028SOON
/v2/astrology/vastu/ar/anchor-recommendationsPOST$0.016SOON
/v2/astrology/vastu/ar/zone-texturesGET$0.012SOON
/v2/astrology/vastu/ar/yantra-meshesGET$0.012SOON
/v2/astrology/vastu/ar/deity-iconsGET$0.012SOON
/v2/astrology/vastu/scans/savePOST$0.028SOON
/v2/astrology/vastu/scans/:idGET$0.012SOON
/v2/astrology/vastu/scansGET$0.016SOON
/v2/astrology/vastu/scans/:id/timelapsePOST$0.028SOON

All prices in USD. Pricing follows the standard Vedika V2 formula: (cost + $0.002 infrastructure) × 4.

Production-Ready Code Samples

Get a Vastu audit in three lines

cURL — Floor Plan Audit
curl -X POST https://api.vedika.io/v2/astrology/vastu/audit/floor-plan \
  -H "Authorization: Bearer your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "rooms": [
      { "roomType": "kitchen",        "zone": "SE" },
      { "roomType": "master_bedroom", "zone": "SW" },
      { "roomType": "pooja",          "zone": "NE" },
      { "roomType": "toilet",         "zone": "NE" }
    ]
  }'
JavaScript — Mandala Projection
const r = await fetch(
  'https://api.vedika.io/v2/astrology/vastu/mandala/project/9-zone',
  {
    method: 'POST',
    headers: {
      'Authorization': 'Bearer your_api_key',
      'Content-Type':  'application/json'
    },
    body: JSON.stringify({
      plotPolygon: [[0,0], [12,0], [12,12], [0,12]],
      bearingDeg:  45   // true-north corrected
    })
  }
);
const { data } = await r.json();
// data.cells[0].polygon is in YOUR world coords — render directly

Every Rule Traces to Verse + Chapter

No paraphrased "traditional teaching." No fabricated Sanskrit. Every Vastu compliance rule, deity assignment, defect classification, and remedy in our API maps to a named verse from a named classical text. The sources[] array in every response gives you the citation.

Manasara Shilpashastra Mayamata Vastushastra Brihat Samhita Ch. 52-56 Vishwakarma Prakash Vastu Ratnavali Vishnu Dharmottara Samarangana Sutradhara

Plans

Same plans, every Vedika endpoint included — Vedic, Western, KP, Vastu, Numerology.

Starter

$12/mo

300 credits — ideal for AR proof-of-concept

Get Started
POPULAR

Pro

$60/mo

1,500 credits — small AR/proptech app

Get Started

Business

$120/mo

3,000 credits — production AR app

Get Started

Enterprise

$240/mo

6,000 credits + add-funds + SLA

Get Started

All plans include FREE Sandbox at api.vedika.io/sandbox/vastu/* — no API key, 30 req/min, deterministic mock data.

FAQ

Do I need an app store presence to use this API?

No. The API is purely server-side data. You build the AR/VR client however you want — iOS ARKit, Android Sceneform, WebAR via Polycam or 8thwall, Unity, Unreal, or even a 2D web dashboard. We provide the Vastu intelligence; you provide the user surface.

What coordinate system does the API use?

Plot-local meters, origin at NW corner, +X = east, +Y = north. This matches Apple ARKit and Google Sceneform conventions, so you can multiply by your AR scene transform matrix and render directly.

Can I cache the reference data?

Yes — the entire /reference/* group is static. A typical AR app fetches it once at first launch and caches it locally. You only pay $0.012 once for each reference call, regardless of subsequent reads.

How do I migrate from a competitor?

Most competitors don't expose mandala-grid coordinates or 32-pada classification at all — there's nothing equivalent to migrate from. For floor-plan compliance, our /audit/floor-plan takes the same { rooms: [{ roomType, zone }] } shape most ad-hoc Vastu calculators use, so it's a drop-in replacement.

Is there an SDK?

JS and Python SDKs cover all 140+ Vedika endpoints. The Vastu endpoints are accessible via the same SDK — just call vedika.vastu.audit.floorPlan({ rooms }). SDK docs at /sdks.

Build the AR Vastu App You Wanted

No more hardcoded mandala stubs. No more pandit dependencies. Pure data, classical-text-grade, AR-ready.

Get API Key →