# Astro Agents – Vedic Yogas Calculator

> Astro Agents – Vedic Yogas Calculator is a paid API for AI agents from astro-agent.dev, paid per call via x402, $0.1/call, status unknown (last checked 2026-11-18).

Computes Vedic astrological yoga combinations (auspicious/inauspicious planetary patterns) for a given geographic location and datetime using NASA/JPL DE440 ephemeris data, with SHA-256 verified deterministic results.

## Facts

- Endpoint: POST https://astro-agent.dev/v1/vedic/yogas?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/astro-agents-vedic-yogas-calculator-035b04e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gVMD9ArpeV-IVDrKoda-v

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-yogas-calculator-035b04e5 -d '<json body>'
```

Example prompt: What Vedic yogas are active for someone born on March 15 1985 at 10:30am in Mumbai (latitude 19.076, longitude 72.877), using the Lahiri ayanamsa and whole sign houses? Give me the SHA-256 verified result.

## When to prefer this

Choose this endpoint when you need cryptographically verifiable, reproducible Vedic yoga calculations backed by the NASA/JPL DE440 ephemeris — especially for financial backtesting, quant research, or any use case where auditability of astrological data matters. Prefer this over generic astrology APIs when Vedic (sidereal) yoga identification with ayanamsa flexibility and SHA-256 proof is required.

## Known failure modes

- Missing required latitude or longitude returns validation error
- Invalid date format or out-of-range date (outside 1800–2200) returns error
- Unsupported ayanamsa or house system enum value returns bad request
- Ambiguous local time with no timezone specified may produce incorrect results
- Network timeout for unusually complex chart computations

## How this service works

Yogas: Rule-based yogas: Pancha Mahapurusha, Gaja-Kesari, Budha-Aditya, Chandra-Mangala, Dhana, Raja, Neecha Bhanga, Kemadruma, Kaal Sarp.

## Output

Returns a JSON object with: a list of active Vedic yogas (e.g. Malavya yoga, Dhana yoga), the lagna (ascendant) sign, engine version, ephemeris source (NASA/JPL DE440), a deterministic flag, and a SHA-256 hash of the result for cryptographic reproducibility 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"
      },
      "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.8.6",
   "llm_used": false,
   "ephemeris": "NASA/JPL DE440 (1800-01-01..2200-01-01)",
   "deterministic": true,
   "result_sha256": "b475926eaf0d638697fa5a914f8ace5184906ce7698d002018eaadbc2bc5fb5e"
  },
  "endpoint": "vedic/yogas",
  "result_excerpt": {
   "present": [
    "Malavya yoga",
    "Dhana yoga"
   ],
   "lagna_sign": "Virgo"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/astro-agents-vedic-yogas-calculator-035b04e5/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)
