# Astro Agents — Vedic KP Planetary Position Calculator

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

Computes Krishnamurti Paddhati (KP) Vedic astrology chart data — planetary positions, star lords, sub lords, and cuspal sub lords — for a given geographic location and time using NASA/JPL DE440 ephemeris.

## Facts

- Endpoint: POST https://astro-agent.dev/v1/vedic/kp?utm_source=zero.xyz
- Price: $0.15/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-kp-planetary-position-calculator-a9249465
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L0LSsrLhavxJTnGLoXtrf

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-kp-planetary-position-calculator-a9249465 -d '<json body>'
```

Example prompt: Using the Krishnamurti Paddhati system with Lahiri ayanamsa, calculate the planetary positions, star lords, and sub lords for New York City (40.7128° N, 74.0060° W) on January 15, 2025 at 9:30 AM Eastern time — I need the SHA-256 verified result for my backtesting model.

## When to prefer this

Choose this endpoint when you need verifiable, reproducible Vedic KP astrology planetary positions backed by the NASA/JPL DE440 ephemeris with cryptographic (SHA-256) proof of determinism. Ideal for financial astrology backtesting, quantitative trading signal research, or any application requiring auditable astrological calculations. Prefer over generic astrology APIs when you need KP-specific outputs (star lords, sub lords, cuspal sub lords) and cryptographic result verification.

## Known failure modes

- Missing required latitude or longitude returns validation error
- Invalid date/time format may result in parsing error or incorrect ephemeris lookup
- Coordinates outside valid range (-90 to 90 lat, -180 to 180 lon) rejected
- Unrecognized timezone string may cause ambiguous time resolution
- Ambiguous local times (DST transitions) may return unexpected results if ambiguous_time not specified
- Payment failure via x402 protocol returns 402 before computation

## How this service works

KP chart (Krishnamurti Paddhati): KP chart: star lord, sub-lord and sub-sub-lord of every graha and Placidus cusp, plus the A/B/C/D significators.

## Output

Returns a JSON object with: engine/version metadata, ephemeris source (NASA/JPL DE440), a deterministic flag, a SHA-256 hash of the result for verification, and the KP chart data including planetary positions (degree, sign), star lords, sub lords, sub-sub lords for each planet, and cuspal sub lords for each house cusp.

## 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": "krishnamurti"
        },
        "node_type": {
         "enum": [
          "mean",
          "true"
         ],
         "type": "string",
         "default": "mean"
        }
       }
      },
      "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": "7a9a1f3186dfcc89e4ca504bad1deeec3bd510453c74cea08ae4a6cc229f1286"
  },
  "endpoint": "vedic/kp",
  "result_excerpt": {
   "moon": {
    "position": "1°59'25\" Capricorn",
    "sub_lord": "Jupiter",
    "star_lord": "Sun",
    "sub_sub_lord": "Mercury"
   },
   "cuspal_sub_lords": {
    "1": "Jupiter",
    "2": "Saturn",
    "3": "Moon"
   }
  }
 }
}
```

## More

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