# Astro Agents Vedic Panchang API

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

Computes the Vedic Panchang (tithi, nakshatra, yoga, karana, vara, sunrise) for a given geographic location and date/time using the NASA/JPL DE440 ephemeris

## Facts

- Endpoint: POST https://astro-agent.dev/v1/vedic/panchang?utm_source=zero.xyz
- Price: $0.02/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-panchang-api-57a8dc62
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eR5dHtYd3mZCIKiAHmt8z

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-panchang-api-57a8dc62 -d '<json body>'
```

Example prompt: What's the Vedic Panchang for London (51.5074° N, 0.1278° W) on October 1st 2026 at 9am local civil time, using the Lahiri ayanamsa?

## When to prefer this

Choose this endpoint when you need deterministic, reproducible Vedic Panchang calculations grounded in the NASA/JPL DE440 ephemeris rather than approximate or LLM-generated astrological data. It is ideal when you need verifiable results (SHA-256 hash), support for multiple ayanamsa systems (Lahiri, Krishnamurti, Raman, etc.), and structured output suitable for programmatic use in astrology apps, calendar tools, or birth chart analysis workflows.

## Known failure modes

- Missing required latitude or longitude returns a validation error
- Invalid date/time format may cause a parse error
- Date outside ephemeris range (1800–2200) returns an out-of-range error
- Unsupported ayanamsa or house system enum value causes a 400 error
- Ambiguous DST times may be resolved by the ambiguous_time parameter (earlier/later); wrong setting gives a shifted result
- Network or service unavailability returns a 5xx error

## How this service works

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

## Output

A JSON object containing: the Panchang elements (tithi, nakshatra, yoga, karana, vara, sunrise time in UTC ISO format), engine metadata (ephemeris version, llm_used=false, deterministic flag), and a SHA-256 hash of the result for 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.0.3",
   "llm_used": false,
   "ephemeris": "NASA/JPL DE440 (1800-01-01..2200-01-01)",
   "deterministic": true,
   "result_sha256": "d0cbd72a6f167caae2fac301f81534026d87c549daba9134646e63bcc889db98"
  },
  "endpoint": "vedic/panchang",
  "result_excerpt": {
   "vara": "Guruvara (Thursday)",
   "yoga": "Siddhi",
   "tithi": "Panchami",
   "karana": "Taitila",
   "sunrise": "2026-10-01T00:20Z",
   "nakshatra": "Krittika"
  }
 }
}
```

## More

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