# Astro Agents Vedic Doshas API

> Astro Agents Vedic Doshas API is a paid API for AI agents from astro-agent.dev, paid per call via x402, $0.15/call, status unknown (last checked 2026-10-10).

Calculates Vedic astrology doshas (Manglik, Kaal Sarp, Sade Sati) for a given birth location, date, and time using the JPL DE440 ephemeris with no LLM involvement.

## Facts

- Endpoint: POST https://astro-agent.dev/v1/vedic/doshas?utm_source=zero.xyz
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/astro-agents-vedic-doshas-api-d3eaa7a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cwK2bRqZrsU6Z02TYMpr7

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-doshas-api-d3eaa7a3 -d '<json body>'
```

Example prompt: Check the Vedic doshas — Manglik, Kaal Sarp, and Sade Sati — for someone born on March 15, 1990 at 10:30 AM in Mumbai (latitude 19.076, longitude 72.8777, Asia/Kolkata timezone) using the Lahiri ayanamsa and whole sign houses.

## When to prefer this

Choose this endpoint when you need reproducible, verifiable Vedic astrology dosha calculations — especially Manglik, Kaal Sarp, or Sade Sati — backed by the NASA/JPL DE440 ephemeris with no LLM randomness. Ideal when auditability (SHA-256 hash) and determinism matter, such as in astrological software, matchmaking apps, or any scenario requiring consistent, repeatable results across runs.

## Known failure modes

- Missing required latitude or longitude returns a validation error
- Invalid date or time format causes a parsing error
- Timezone string not recognized returns an error
- Coordinates out of range (-90 to 90 lat, -180 to 180 lon) rejected
- Unsupported ayanamsa or house system enum value returns 400
- Date outside ephemeris range (1800-2200) may return an error or unsupported notice

## 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: Manglik dosha presence and severity level, Kaal Sarp dosha boolean, Sade Sati status for a given date (active signs and whether currently in Sade Sati), plus metadata including ephemeris version, engine version, LLM-used flag (always false), and a deterministic SHA-256 hash for result verification.

## 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"
      },
      "on_date": {
       "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"
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "meta": {
   "engine": "astro-agents/1.0.3",
   "llm_used": false,
   "ephemeris": "NASA/JPL DE440 (1800-01-01..2200-01-01)",
   "deterministic": true,
   "result_sha256": "5c2d7c82b6c240842f10c62d0073e62d1d2d50acfba45a9976456209ab0054a5"
  },
  "endpoint": "vedic/doshas",
  "result_excerpt": {
   "manglik": {
    "present": true,
    "severity": "mild"
   },
   "kaal_sarp": false,
   "sade_sati_on_date": {
    "date": "2026-10-01",
    "active": [],
    "in_sade_sati": false
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/astro-agents-vedic-doshas-api-d3eaa7a3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from astro-agent.dev](https://www.zero.xyz/host/astro-agent.dev/llms.txt)
