# Astro Agents Vedic Kundli API

> Astro Agents Vedic Kundli API is a paid API for AI agents from astro-agents-api.vercel.app, paid per call via x402, $0.15/call, status unknown (last checked 2026-10-11).

Generates a deterministic Vedic astrology birth chart (kundli) using the NASA/JPL DE440 ephemeris for a given birth location and time.

## Facts

- Endpoint: POST https://astro-agents-api.vercel.app/v1/vedic/kundli?utm_source=zero.xyz
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/astro-agents-vedic-kundli-api-5be98ee2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ScCgCASHj5HLXHuzDFgxt

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability astro-agents-vedic-kundli-api-5be98ee2 -d '<json body>'
```

Example prompt: Can you generate a Vedic kundli for someone born on March 15, 1990 at 6:30 AM in Mumbai (latitude 19.076, longitude 72.877), using the Lahiri ayanamsa and whole sign house system?

## When to prefer this

Choose this endpoint when you need a fully deterministic, reproducible Vedic astrology birth chart backed by the authoritative NASA/JPL DE440 ephemeris — not an LLM approximation. It is ideal for applications that require verifiable outputs (via SHA-256 hash), support for multiple Vedic house systems and ayanamsas (Lahiri, Krishnamurti, Raman, etc.), and AI agent pipelines that need structured JSON output for downstream reasoning or display.

## Known failure modes

- Missing required latitude or longitude returns a validation error
- Invalid date or time format causes a parsing failure
- Timezone string not recognized results in an error
- Latitude or longitude out of valid range (-90 to 90 / -180 to 180) causes rejection
- Ambiguous local time without specifying ambiguous_time option may default to earlier occurrence silently

## How this service works

Deterministic Western + Vedic astrology API for AI agents: JPL DE440 ephemeris, no LLM, reproducible SHA-256 hashes.

## Output

Returns a JSON object containing: Vedic lagna (ascendant degree and sign), moon rashi, janma nakshatra, lagna lord, list of exalted planets, plus metadata including the ephemeris version used, a deterministic SHA-256 hash of the result, and a flag confirming no LLM was used in the computation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "latitude",
      "longitude"
     ],
     "properties": {
      "date": {
       "type": "string"
      },
      "time": {
       "type": "string"
      },
      "options": {
       "type": "object",
       "properties": {
        "ayanamsa": {
         "enum": [
          "fagan_bradley",
          "krishnamurti",
          "lahiri",
          "raman",
          "true_chitrapaksha",
          "yukteshwar"
         ],
         "type": "string",
         "default": "lahiri"
        },
        "node_type": {
         "enum": [
          "mean",
          "true"
         ],
         "type": "string",
         "default": "mean"
        },
        "house_system": {
         "enum": [
          "whole_sign",
          "equal",
          "placidus",
          "porphyry",
          "koch"
         ],
         "type": "string",
         "default": "whole_sign"
        },
        "include_outer_planets": {
         "type": "boolean",
         "default": false
        }
       }
      },
      "datetime": {
       "type": "string"
      },
      "latitude": {
       "type": "number",
       "maximum": 90,
       "minimum": -90
      },
      "timezone": {
       "type": "string"
      },
      "longitude": {
       "type": "number",
       "maximum": 180,
       "minimum": -180
      },
      "time_basis": {
       "enum": [
        "civil",
        "utc",
        "lmt",
        "true_solar"
       ],
       "type": "string",
       "default": "civil"
      },
      "ambiguous_time": {
       "enum": [
        "earlier",
        "later"
       ],
       "type": "string",
       "default": "earlier"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "meta": {
   "engine": "astro-agents/1.0.0",
   "llm_used": false,
   "ephemeris": "NASA/JPL DE440 (1800-01-01..2200-01-01)",
   "deterministic": true,
   "result_sha256": "80cea312fedebd8ffdd1b8a5c0e78b32bb972dfc1405e5cb6bcf4228236c00b2"
  },
  "endpoint": "vedic/kundli",
  "result_excerpt": {
   "lagna": "1°54'17\" Virgo",
   "summary": {
    "exalted": [
     "Venus"
    ],
    "lagna_lord": "Mercury",
    "moon_rashi": "Makara",
    "janma_nakshatra": "Uttara Ashadha"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/astro-agents-vedic-kundli-api-5be98ee2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from astro-agents-api.vercel.app](https://www.zero.xyz/host/astro-agents-api.vercel.app/llms.txt)
