# Astro Agents Vedic Gun Milan Compatibility API

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

Calculates Vedic astrology Kundali Gun Milan (Ashta Koota) compatibility score between two people using NASA/JPL DE440 ephemeris, returning reproducible point totals across 8 compatibility categories.

## Facts

- Endpoint: POST https://astro-agents-api.vercel.app/v1/vedic/gun-milan?utm_source=zero.xyz
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/astro-agents-vedic-gun-milan-compatibility-api-59021404
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__fn20OA9rwVlSWQ81A67h

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-gun-milan-compatibility-api-59021404 -d '<json body>'
```

Example prompt: Can you calculate the Vedic Gun Milan compatibility score for two people — person A born on March 15, 1990 at 08:30 AM in Mumbai (19.076° N, 72.877° E), and person B born on July 22, 1992 at 11:45 AM in Delhi (28.644° N, 77.216° E) — using Lahiri ayanamsa and whole sign houses?

## When to prefer this

Choose this endpoint when you need a deterministic, reproducible Vedic astrology Kundali Gun Milan (Ashta Koota) compatibility score computed from first principles using the NASA/JPL DE440 ephemeris — especially when auditability (via SHA-256 hash), no LLM involvement, and Vedic-specific metrics (nadi, gana, yoni, etc.) are required. Prefer this over Western astrology compatibility endpoints or LLM-generated horoscopes when the user expects classical Vedic marriage matching standards.

## Known failure modes

- Missing required latitude/longitude for either person returns a validation error
- Invalid or missing birth date/time causes computation failure
- Unsupported ayanamsa or house system enum value returns a 400 error
- Birth datetime outside ephemeris range (1800-2200) may return an out-of-range error
- Malformed request body or incorrect bodyType triggers a schema validation error

## 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 with the total Gun Milan points out of 36, a breakdown of all 8 Ashta Koota scores (gana, nadi, tara, yoni, varna, vashya, bhakoot, graha maitri), a human-readable verdict (e.g. '25-32: good match'), engine metadata confirming no LLM was used, the ephemeris version, and a SHA-256 hash for result 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": [
      "person_a",
      "person_b"
     ],
     "properties": {
      "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
        }
       }
      },
      "person_a": {
       "type": "object",
       "required": [
        "latitude",
        "longitude"
       ],
       "properties": {
        "date": {
         "type": "string"
        },
        "time": {
         "type": "string"
        },
        "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"
        }
       }
      },
      "person_b": {
       "type": "object",
       "required": [
        "latitude",
        "longitude"
       ],
       "properties": {
        "date": {
         "type": "string"
        },
        "time": {
         "type": "string"
        },
        "datetime": {
         "type": "string"
        },
        "latit
… (truncated)
```

## 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": "a935a8920bb8bd214b49237d32b2dfcd3f79b101265f3010cc120b2572097246"
  },
  "endpoint": "vedic/gun-milan",
  "result_excerpt": {
   "max": 36,
   "total": 25,
   "kootas": {
    "gana": 6,
    "nadi": 8,
    "tara": 3,
    "yoni": 2,
    "varna": 1,
    "vashya": 1,
    "bhakoot": 0,
    "graha_maitri": 4
   },
   "verdict": "25-32: good match"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/astro-agents-vedic-gun-milan-compatibility-api-59021404/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)
