# Astro Agents Finance Analogues

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

Finds historical dates whose planetary configurations most closely match a given reference date, using NASA/JPL DE440 ephemeris data, for market analogy and backtesting

## Facts

- Endpoint: POST https://astro-agent.dev/v1/finance/analogues?utm_source=zero.xyz
- Price: $0.25/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-finance-analogues-2ad192ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Sp9f14K99uXqZteVkRpIt

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-finance-analogues-2ad192ee -d '<json body>'
```

Example prompt: Find the top 5 historical dates between 1990 and 2025 whose geocentric planetary configuration — tracking sun, moon, saturn, and jupiter longitude and aspects — most closely matched October 29, 2026, using daily resolution and tropical zodiac, so I can see what the market was doing during those analogous periods.

## When to prefer this

Choose this endpoint when you need verifiable, reproducible planetary analogy matching backed by the official NASA/JPL DE440 ephemeris with cryptographic proof (SHA-256). Ideal for quantitative researchers and traders who want to identify historical periods with similar celestial conditions to a target date, and who require deterministic, auditable results rather than approximate or LLM-generated astrological commentary. Prefer this over generic astrology APIs when reproducibility, ephemeris provenance, and financial/backtesting use cases are priorities.

## Known failure modes

- Invalid or out-of-range reference date (outside 1800-01-01 to 2200-01-01 ephemeris coverage)
- Unsupported celestial body enum value
- Range start/end dates outside ephemeris bounds
- top_n exceeds maximum of 100
- Invalid ayanamsa specified without sidereal zodiac context
- min_separation_days constraint too large relative to search range, yielding zero matches
- Malformed datetime strings causing parse errors
- Empty features array resulting in no comparable dimensions
- Payment failure (x402 protocol) blocking API access

## How this service works

Sky analogues (matching skies): Find the past or future dates whose planetary positions best match a reference sky, ranked by a stated angular distance.

## Output

Returns a ranked list of historical dates (up to top_n) whose planetary configuration best matched the reference, each with a similarity score (lower = more similar, 0 = identical sky), alongside metadata including the ephemeris version (NASA/JPL DE440), a SHA-256 hash of the result for reproducibility verification, total eligible and candidate date counts, and the reference datetime used.

## 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": {
      "range": {
       "type": "object",
       "properties": {
        "end": {
         "type": "string"
        },
        "start": {
         "type": "string"
        }
       }
      },
      "top_n": {
       "type": "integer",
       "default": 10,
       "maximum": 100,
       "minimum": 1
      },
      "bodies": {
       "type": "array",
       "items": {
        "enum": [
         "sun",
         "moon",
         "mercury",
         "venus",
         "earth",
         "mars",
         "jupiter",
         "saturn",
         "uranus",
         "neptune",
         "pluto"
        ],
        "type": "string"
       }
      },
      "format": {
       "enum": [
        "columns",
        "rows"
       ],
       "type": "string",
       "default": "columns"
      },
      "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"
        }
       }
      },
      "weights": {
       "type": "object",
       "additionalProperties": {
        "type": "number",
        "minimum": 0
       }
      },
      "features": {
       "type": "array",
       "items": {
        "enum": [
         "longitude",
         "aspects",
         "declination",
         "retrograde"
        ],
        "type": "string"
       }
      },
      "direction": {
       "enum": [
        "past",
        "future",
        "both"
       ],
       "type": "string",
       "default": "both"
      },
      "reference": {
       "oneOf": [
        {
         "type": "string"
        },
        {
         "type": "object",
         "required": [
          "datetime"
         ],
         "properties": {
          "datetime": {
           "type": "string"
          }
         }
        },
        {
         "type": "object",
         "required": [
          "values"
 
… (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": "b43da7c67d8a81c7d909d53815ef4f2c0ed3f4c9ec4206fc1daf988cf848ecb0"
  },
  "endpoint": "finance/analogues",
  "result_excerpt": {
   "counts": {
    "matches": 5,
    "eligible": 32876,
    "candidates": 36525
   },
   "metric": "score = sum(w_i * d_i) / sum(w_i) over the matched features i, in degrees; 0 = the same sky",
   "matches": {
    "score": [
     42.558526,
     55.155907,
     68.708539
    ],
    "date_utc": [
     "2016-05-09T00:00Z",
     "2003-02-17T00:00Z",
     "1992-05-01T00:00Z"
    ]
   },
   "reference": "2026-10-29T00:00Z"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/astro-agents-finance-analogues-2ad192ee/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)
