API Reference & Agent Discovery

Vedastro Platform API

High-precision Vedic astrology computations, Kundli chart calculations (NASA JPL Swiss Ephemeris + Chitrapaksha Ayanamsa), 36-Guna Dampatya Match compatibility, Samudrika Palmistry vision analytics, and psychological behavioral profiling.

RFC 9727 Automated API Discovery

Vedastro implements RFC 9727 (api-catalog) for autonomous AI agents and automated discovery tools. The machine-readable catalog is published at:

GET /.well-known/api-catalog
Accept: application/linkset+json

The catalog uses the IETF Linkset format (RFC 9264) providing link relations for service-desc (OpenAPI definitions), service-doc (human & agent documentation), and status (service health).

Core APIs Overview

API Domain Anchor URL OpenAPI Spec Documentation Status
Platform v2 API https://vedastro.guru/api/v2 openapi.json Docs Healthy
Kundli Birth Chart https://vedastro.guru/api/v2/kundli openapi.json Kundli Guide Healthy
Dampatya Match https://vedastro.guru/api/v2/compatibility openapi.json Match Guide Healthy
Samudrika Palmistry https://vedastro.guru/api/v2/palmistry openapi.json Palmistry Guide Healthy
Behavioral Assessment https://vedastro.guru/api/v2/behavioral-assessment openapi.json Guides Healthy
Astrology Core v1 https://vedastro.guru/api/v1 openapi.json Docs Healthy

Sample Requests

GET /api/v1/health

Liveness and database healthcheck probe.

curl -s https://vedastro.guru/api/v1/health

# Response
{
  "status": "healthy",
  "version": "1.0.0",
  "timestamp": "2026-09-05T10:45:00Z"
}
POST /api/v2/kundli/reports

Generates an authoritative Janam Kundli chart report with planetary positions and divisional charts.

curl -s -X POST https://vedastro.guru/api/v2/kundli/reports \
  -H "Content-Type: application/json" \
  -d '{
    "person": {
      "name": "Arjun",
      "gender": "male",
      "birth_date": "1995-05-15",
      "birth_time": "14:30:00",
      "birth_place": "New Delhi, India",
      "latitude": 28.6139,
      "longitude": 77.2090,
      "timezone_offset": 5.5
    }
  }'