# Astro Agents - Planetary Lines for Finance

> Astro Agents - Planetary Lines for Finance is a paid API for AI agents from astro-agent.dev, paid per call via x402, $0.2/call, status unknown (last checked 2026-11-18).

Computes verifiable planetary degree positions and price-level intersections for a date range using the NASA/JPL DE440 ephemeris, for use in financial market analysis and backtesting.

## Facts

- Endpoint: POST https://astro-agent.dev/v1/finance/planetary-lines?utm_source=zero.xyz
- Price: $0.2/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-planetary-lines-for-finance-0304682e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DRjqQt8lWmggfXhGwEU_p

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-planetary-lines-for-finance-0304682e -d '<json body>'
```

Example prompt: Using the NASA/JPL DE440 ephemeris, give me the planetary lines for Sun, Jupiter, and Saturn from 2024-01-01 to 2024-03-31 at daily intervals, geocentric and heliocentric, mapped to a price range of $30,000 to $50,000 with a price unit of $100, using tropical zodiac — and include the SHA-256 hash so I can verify the result.

## When to prefer this

Choose this endpoint when you need cryptographically verifiable, reproducible planetary position data tied to financial price levels, specifically backed by the NASA/JPL DE440 ephemeris. It is ideal for quants, traders, and AI agents doing astro-finance backtesting who require deterministic outputs with SHA-256 proof. Prefer this over generic astrology APIs when reproducibility, scientific ephemeris sourcing, and price-level mapping are required.

## Known failure modes

- Invalid date range outside ephemeris coverage (1800-01-01 to 2200-01-01) returns an error
- Unknown celestial body enum value causes schema validation failure
- Price range with max less than min returns an error
- Invalid ayanamsa for tropical zodiac (only relevant for sidereal) may be ignored or cause a warning
- Requesting an unsupported interval value fails schema validation
- Payment failure (x402 protocol) results in 402 response before computation begins

## How this service works

Gann planetary lines: Planet degrees (geocentric and heliocentric) at a moment or as a time series, with aspect offsets, Mean of 5 / Circle of 8 and price levels.

## Output

Returns a JSON object containing: planetary line entries with body IDs, degree positions, and mapped price levels; optional aspect lines; optional mean averages (mean_of_5, circle_of_8); metadata including ephemeris version (NASA/JPL DE440), engine version, determinism flag, and a SHA-256 hash of the result for cryptographic verification. Output can be formatted as rows or columns.

## 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",
     "properties": {
      "end": {
       "type": "string"
      },
      "start": {
       "type": "string"
      },
      "bodies": {
       "type": "array",
       "items": {
        "enum": [
         "sun",
         "moon",
         "mercury",
         "venus",
         "earth",
         "mars",
         "jupiter",
         "saturn",
         "uranus",
         "neptune",
         "pluto",
         "mean_node",
         "true_node"
        ],
        "type": "string"
       }
      },
      "format": {
       "enum": [
        "columns",
        "rows"
       ],
       "type": "string",
       "default": "columns"
      },
      "unwrap": {
       "type": "boolean",
       "default": false
      },
      "aspects": {
       "oneOf": [
        {
         "enum": [
          "all"
         ],
         "type": "string"
        },
        {
         "type": "array",
         "items": {
          "enum": [
           "conjunction",
           "opposition",
           "trine",
           "square",
           "sextile",
           "quincunx",
           "semisextile",
           "semisquare",
           "sesquiquadrate",
           "quintile",
           "biquintile"
          ],
          "type": "string"
         }
        }
       ]
      },
      "options": {
       "type": "object",
       "properties": {
        "zodiac": {
         "enum": [
          "tropical",
          "sidereal"
         ],
         "type": "string",
         "default": "tropical"
        },
        "ayanamsa": {
         "enum": [
          "fagan_bradley",
          "krishnamurti",
          "lahiri",
          "raman",
          "true_chitrapaksha",
          "yukteshwar"
         ],
         "type": "string",
         "default": "lahiri"
        }
       }
      },
      "averages": {
       "type": "array",
       "items": {
        "enum": [
         "mean_of_5",
         "circle_of_8"
        ],
        "type": "string"
       }
      },
      "datetime": {
       "type": "string"
      },
      "interval": {
       "enum": [
        "1h",
        "4h",
        "12h",
        "1d",
        "1w"
       ],
       "type": "string",
       "default": "1d"
      },
      "time_utc": {
    
… (truncated)
```

## 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": "b2c0df24d8f2534aba354875a0ae36acaa112b0d91f6530dd3529b9582ba9099"
  },
  "endpoint": "finance/planetary-lines",
  "result_excerpt": {
   "lines": [
    {
     "id": "geo.sun",
     "degree": 280.038994,
     "price_levels": []
    },
    {
     "id": "geo.sun+90",
     "degree": 10.038994,
     "price_levels": []
    },
    {
     "id": "geo.sun+180",
     "degree": 100.038994,
     "price_levels": []
    }
   ],
   "price_levels": [
    {
     "line": "geo.mean_of_5+180",
     "price": 34528.739815
    },
    {
     "line": "geo.jupiter",
     "price": 35582.39315
    },
    {
     "line": "helio.mean_of_5+180",
     "price": 38425.542754
    }
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/astro-agents-planetary-lines-for-finance-0304682e/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)
