# Astro Agents > Verifiable planetary timing data for market analysis & backtesting — the real NASA/JPL DE440, reproducible and SHA-256 proven. For traders, quants and agents. Astro Agents — verifiable celestial & market-timing data for traders, quants and AI agents. Exact planetary positions (geocentric & heliocentric), declination, Gann planetary lines, planetary cycles and a to-the-minute celestial event calendar (ingresses, stations, eclipses) from the real NASA/JPL DE440 ephemeris — no LLM, every result reproducible and SHA-256 verifiable, so you can backtest and cite with no second-guessing. Pay per call natively in MCP with x402 (USDC on Base or Solana): zero setup, no account; or over REST (x402/MPP) or with prepaid credit packs. Full Western & Vedic astrology too (natal, kundli, dashas, KP, yogas). Data for your own analysis — never a trading signal or forecast. Astrology in full: Western (tropical) and Vedic/Jyotish (sidereal) natal charts, houses, aspects, transits with exact dates, synastry, kundli, 16 divisional charts, Vimshottari dashas, nakshatras, panchang, doshas, KP (Krishnamurti) sub-lords and significators, yogas and Gun Milan. Built for agents: use it instead of computing positions or charts yourself. Pay per call with **x402** (USDC on Base or Solana) or **MPP** (Tempo: OUSD or USDC.e). No account, no API key. 1 free call per client on the $0.01-0.02 routes, over REST, MCP or A2A; every other route, finance included, is always paid. ## What's new in 1.8.0 (2026-10-30) - **Token launch sky** (`POST /v1/finance/token-chart`, MCP `token_chart`, $0.25): The sky at a token's launch moment (positions, retrogrades, aspects; no houses) and the exact UTC dates ahead when the planets return to or aspect those positions, with a shareable SVG card. Key astronomical dates, data only. - **Token synastry** (`POST /v1/finance/token-synastry`, MCP `token_synastry`, $0.25): Compatibility by sky geometry of two launch moments: cross-aspects, harmonious / tense counts, the tightest aspects and a geometry score defined in the response, with an SVG card. Data only. - **Birth-sky analogues** (`POST /v1/finance/analogues`, MCP `sky_analogues`, $0.25): reference {birth: {datetime, latitude, longitude}}: compare a birth sky to past/future dates — data only. Local time resolved as in western/positions (a date alone = 12:00 with TIME_UNKNOWN); same result and hash as passing those positions by hand, given in meta.reference_resolution. - **Sky analogues (matching skies)** (`POST /v1/finance/analogues`, MCP `sky_analogues`, $0.25): The past or future dates whose planetary positions best match a reference sky (a moment, 'now' or your own positions), ranked by a stated circular angular distance over longitudes, aspects, declinations and retrograde flags; the metric is in every response. Data only. - **Prepaid credit packs** (`POST /v1/credits/topup`, $10.00): Pay once with x402 or MPP, then spend call by call with a token, no signature per call: Probe $10 -> 10 credits, Backtest $50 -> 60 credits, Quant $200 -> 260 credits, Autopilot $1000 -> 1400 credits. 1 credit = $1, credits never expire and pay for every paid route. [Details](https://github.com/aidatatools-dev/astro-agents-clients/blob/main/docs/CREDITS.md) - **Gann planetary lines** (`POST /v1/finance/planetary-lines`, MCP `planetary_lines`, $0.20): Geocentric and heliocentric planet degrees in one call, snapshot or series (1h..1w), with aspect offsets, Mean of 5 / Circle of 8 and price levels (degree + 360 k) x unit. - **Astro event calendar** (`POST /v1/finance/events`, MCP `astro_event_calendar`, $0.25): Ingresses, stations, lunations, solar and lunar eclipses, aspects, declination parallels and out-of-bounds, 1800-2200, to the minute, with unix timestamps for backtests. - **Heliocentric and equatorial positions** (`POST /v1/western/positions`, MCP `planet_positions`, $0.01): options.perspective = heliocentric, options.coordinates = equatorial (right ascension, declination, out-of-bounds). Defaults unchanged. - **Declination aspects** (`POST /v1/western/aspects`, MCP `aspects`, $0.02): options.declination: parallels and contra-parallels with orb and applying/separating. - **Sky today** (`POST /v1/western/sky`, MCP `sky_today`, $0.01): The sky now and the exact times of the next ingresses, stations, lunations and aspects. - **Accuracy verified against NASA/JPL Horizons** (`GET /v1/benchmark`, free): 12,400 comparisons, 1800-2199: positions 0.0005" mean / 0.024" max (ICRF); longitude as served 0.048" mean over 1962-2026. [Details](https://astro-agent.dev/benchmark.md) ## Financial astrology data for backtesting (finance, trading, crypto) Verifiable, reproducible astro-financial data for backtesting: geocentric and heliocentric positions, declination, Gann planetary lines and a celestial event calendar. The only astro-finance data source that is provable and replayable: every result is SHA-256 hashed. Data only: no trading signal, forecast or advice. - `POST /v1/finance/planetary-lines` ($0.20, MCP `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. - `POST /v1/finance/events` ($0.25, MCP `astro_event_calendar`): Eclipse and Mercury retrograde calendar: every solar and lunar eclipse, station (retrograde/direct), ingress, new and full moon, aspect, parallel and out-of-bounds between two dates (1800-2200), to the minute. - `POST /v1/finance/analogues` ($0.25, MCP `sky_analogues`): Find the past or future dates whose planetary positions best match a reference sky, ranked by a stated angular distance. - `POST /v1/finance/token-chart` ($0.25, MCP `token_chart`): Launch sky of a token: planet positions, retrogrades and aspects at its launch moment, plus the key astronomical dates ahead (exact returns and aspects to those positions), with a shareable SVG card. - `POST /v1/finance/token-synastry` ($0.25, MCP `token_synastry`): Compatibility by sky geometry of two tokens: the cross-aspects between their launch skies, harmonious and tense counts, the tightest aspects and a geometry score, with a shareable SVG card. - `POST /v1/western/positions` ($0.01, MCP `planet_positions`): Planetary positions for any date and time (ephemeris): tropical or sidereal longitude, latitude, speed and retrograde flag of the Sun, Moon, Mercury..Pluto, nodes and Lilith. - `POST /v1/western/aspects` ($0.02, MCP `aspects`): Aspects (with orb, exactness, applying/separating) for a moment, or for any longitudes you supply. - `POST /v1/western/sky` ($0.01, MCP `sky_today`): The sky today (no birth data): planet positions, retrogrades and Moon phase now, plus the exact UTC times of the next ingresses, stations (Mercury retrograde), new and full moons and aspects. Matching skies: `POST /v1/finance/analogues` finds the past or future dates whose planetary positions best match a reference sky (a moment, `now` or your own positions), ranked by a circular angular distance whose formula is in `result.settings.metric`. Data for your own analysis — never a signal or forecast. Birth sky: `reference: {"birth": {"datetime": "1990-05-15T14:30", "latitude": 48.8566, "longitude": 2.3522}}` compares a birth sky to past/future dates — data only. The local time is resolved as in `/v1/western/positions`; a date alone is computed at 12:00 with a `TIME_UNKNOWN` warning (the Moon is then approximate, Jupiter to Pluto stay reliable); no houses or ascendant. `meta.reference_resolution.equivalent_request` is the same search with the positions written out, and returns the same result and `result_sha256`. Crypto tokens: `POST /v1/finance/token-chart` takes a token's `launch_datetime` (the block time of its contract deployment or mint, UTC, to the second) and returns the launch sky (each planet's sign, degree and retrograde flag, the major aspects; no houses) and the key astronomical dates ahead: the exact UTC minute at which each planet returns to or aspects a launch position, with unix timestamps. `POST /v1/finance/token-synastry` compares two launch skies (cross-aspects, harmonious / tense counts, `geometry_score` = 100 x H / (H + T), defined in `meta.score`). Both return `result.card.svg`, a server-rendered card ready to share. Launch times are given by the caller (not resolved on-chain). Data for your own analysis — never a signal or forecast. For bots (Freqtrade, OctoBot, Superalgos, Jesse): `pandas.DataFrame(result['series'])` turns a planetary-lines series into one column per line, keyed by `timestamp` (unix seconds, UTC); every event carries `exact_utc`, `timestamp` and a stable `key`, so a long backtest can be paged year by year, de-duplicated and merged on candle open times. Keep `meta.input_sha256` / `meta.result_sha256` with the backtest: the same request returns the same bytes. Pay per call natively in MCP (x402, USDC on Base or Solana, zero setup, no account): a paid tool on https://astro-agent.dev/mcp returns the standard x402 offer in its result; sign it into _meta['x402/payment'] and call again, the settlement comes back in _meta['x402/payment-response']. Trading bots and AI agents: https://astro-agent.dev/trading-bots (x402 pay-per-call on Solana or Base, MCP at https://astro-agent.dev/mcp, prepaid credits, n8n template at https://astro-agent.dev/n8n/astro-agents-workflow.json, LangChain MCP recipe in the Python client examples). Tags: finance, trading, backtesting, quant, crypto, market-timing, financial-astrology, gann. ## Python client (official) `pip install "astro-agents @ git+https://github.com/aidatatools-dev/astro-agents-clients#subdirectory=python"` (not on PyPI yet: install it from GitHub). pandas-first: `planetary_lines()`, `events()` and `analogues()` return DataFrames indexed by UTC time, long ranges are paged for you, `merge_events()` joins the calendar onto OHLC candles, and `verify_dataframe()` recomputes every result_sha256 offline. Prepaid credits: set `ASTRO_CREDITS_TOKEN`. ```python from astro_agents import Client client = Client() # ASTRO_CREDITS_TOKEN, or 1 free call on the $0.01-0.02 routes lines = client.planetary_lines(start="2024-01-01", end="2024-12-31", bodies=["jupiter", "saturn"]) events = client.events("2020-01-01", "2024-12-31", include=["eclipse", "station"]) past = client.analogues("2026-10-29T00:00Z", direction="past", min_separation_days=3650) mine = client.analogues(birth="1990-05-15T14:30", latitude=48.8566, longitude=2.3522, direction="both") usdc = client.token_chart(launch_datetime="2018-08-03T19:28:24Z", symbol="USDC") # .svg -> the card pair = client.token_synastry(a="2018-08-03T19:28:24Z", b="2020-09-14T18:11:26Z") ``` Docs: https://github.com/aidatatools-dev/astro-agents-clients/tree/main/python#readme. Examples (quickstart notebook, vectorbt, backtrader, events on OHLC, Freqtrade): https://github.com/aidatatools-dev/astro-agents-clients/tree/main/python/examples. ## Prepaid credits (packs) Pay once with x402 or MPP, then spend call by call with a token: no signature per call. 1 credit = $1 (USDC). Credits never expire and pay for every paid route. Pay-per-call and the free call are unchanged. | Pack | You pay | Credits | Bonus | Worth | |---|---|---|---|---| | Probe (`probe`) | $10.00 | 10 | +0% | 50 planetary-lines calls, or 40 event-calendar years, or 166 natal charts, or 20 Vedic reports | | Backtest (`backtest`) | $50.00 | 60 | +20% | 300 planetary-lines calls, or 240 event-calendar years, or 1000 natal charts, or 120 Vedic reports | | Quant (`quant`) | $200.00 | 260 | +30% | 1300 planetary-lines calls, or 1040 event-calendar years, or 4333 natal charts, or 520 Vedic reports | | Autopilot (`autopilot`) | $1000.00 | 1400 | +40% | 7000 planetary-lines calls, or 5600 event-calendar years, or 23333 natal charts, or 2800 Vedic reports | Buy: `POST https://astro-agent.dev/v1/credits/topup` with `{"pack": "backtest"}` -> 402 for the pack's price; pay and retry. The answer carries a secret bearer token, shown once (lost: a new one can be issued to the owner of the paying wallet). Spend: send `X-Credits-Token: ` on any paid `POST /v1/`. Balance: `GET https://astro-agent.dev/v1/credits/balance`. Rotate: `POST https://astro-agent.dev/v1/credits/rotate`. The bonus is applied by the server from the amount actually settled; each payment credits once. ## Why agents call this instead of computing - Positions from NASA/JPL DE440 (NASA/JPL), 1800-01-01..2200-01-01, via Skyfield: geocentric apparent, true equinox of date, IAU 2006/2000A. - Historical time zones resolved for you (IANA tz database, DST of the era, Local Mean Time); ambiguous or non-existent local times are flagged, never guessed. - Deterministic, no LLM: same input -> same bytes. Every response carries meta.input_sha256 and meta.result_sha256 (also as X-Input-SHA256 / X-Result-SHA256 headers); POST /v1/verify recomputes one. - Every convention is in the response: ayanamsa (name, true and mean value), house system, orbs, node type, dasha year length, dosha and koota rule sets. - Cross-validated against an independent engine (XALEN, Apache-2.0): ayanamsas agree to < 0.1", 15/16 divisional charts identically, all 11 house systems in structure. - Accuracy vs NASA/JPL Horizons (12,400 comparisons, 1800-2199): positions within 0.024" (ICRF); ecliptic longitudes as served within 0.062" over 1962-2026. Method and every number: https://astro-agent.dev/benchmark.md ## Cheap calls ($0.01-0.02) - start here | Endpoint | What | Price | Returns | |---|---|---|---| | `POST /v1/time/resolve` | Birth time resolver | $0.01 | Local birth time + place -> exact UT, historical UTC offset, Delta T, Local Mean Time, true solar time. | | `POST /v1/western/positions` | Planetary positions for any date (ephemeris) | $0.01 | Planetary positions for any date and time (ephemeris): tropical or sidereal longitude, latitude, speed and retrograde flag of the Sun, Moon, Mercury..Pluto, nodes and Lilith. | | `POST /v1/western/sky` | Sky today: retrogrades, Moon phase, next events | $0.01 | The sky today (no birth data): planet positions, retrogrades and Moon phase now, plus the exact UTC times of the next ingresses, stations (Mercury retrograde), new and full moons and aspects. | | `POST /v1/western/aspects` | Aspects | $0.02 | Aspects (with orb, exactness, applying/separating) for a moment, or for any longitudes you supply. | | `POST /v1/vedic/nakshatra` | Nakshatras | $0.02 | Sidereal nakshatra, pada and lord of every graha; janma nakshatra with gana, yoni, nadi, varna. | | `POST /v1/vedic/panchang` | Panchang | $0.02 | Tithi, vara, nakshatra, yoga, karana with the exact time each ends, plus sunrise and sunset. | ## Full charts and analyses | Endpoint | What | Price | Returns | |---|---|---|---| | `POST /v1/western/natal` | Natal chart (birth chart) | $0.06 | Natal chart (birth chart) for a birth date, time and place: planets in signs and houses, ascendant, MC, 11 house systems, aspects, summary. | | `POST /v1/western/transits` | Transits | $0.08 | Transits to a natal chart at a moment, and exact hit times over a window of up to a year. | | `POST /v1/western/synastry` | Synastry | $0.12 | Relationship comparison: cross-aspects, house overlays both ways, composite midpoints. | | `POST /v1/finance/planetary-lines` | Gann planetary lines | $0.20 | 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. | | `POST /v1/finance/events` | Eclipse & Mercury retrograde calendar (market timing) | $0.25 | Eclipse and Mercury retrograde calendar: every solar and lunar eclipse, station (retrograde/direct), ingress, new and full moon, aspect, parallel and out-of-bounds between two dates (1800-2200), to the minute. | | `POST /v1/finance/analogues` | Sky analogues (matching skies) | $0.25 | Find the past or future dates whose planetary positions best match a reference sky, ranked by a stated angular distance. | | `POST /v1/finance/token-chart` | Token launch sky (crypto token chart) | $0.25 | Launch sky of a token: planet positions, retrogrades and aspects at its launch moment, plus the key astronomical dates ahead (exact returns and aspects to those positions), with a shareable SVG card. | | `POST /v1/finance/token-synastry` | Token synastry (two launch skies compared) | $0.25 | Compatibility by sky geometry of two tokens: the cross-aspects between their launch skies, harmonious and tense counts, the tightest aspects and a geometry score, with a shareable SVG card. | | `POST /v1/vedic/kundli` | Kundli (Vedic birth chart) | $0.15 | Sidereal D1 + D9: lagna, 9 grahas with rashi, nakshatra, pada, house, dignity, combustion, bhavas. | | `POST /v1/vedic/kundli-full` | Kundli with all 16 vargas | $0.32 | The kundli plus all Shodashavarga divisional charts D1..D60 (Parashara rules). | | `POST /v1/vedic/dashas` | Vimshottari dashas | $0.10 | Vimshottari maha/antar/pratyantar periods with exact dates, birth balance, and the running periods. | | `POST /v1/vedic/doshas` | Doshas | $0.15 | Manglik (Kuja), Kaal Sarp and Sade Sati / Dhaiya, each with the exact rule applied and dates. | | `POST /v1/vedic/gun-milan` | Gun Milan (Ashtakoota matching) | $0.25 | 36-point Ashtakoota marriage compatibility: all 8 kootas with reasons, doshas and Manglik check. | | `POST /v1/vedic/report` | Complete Vedic report | $0.50 | Kundli + Vimshottari dashas + doshas + janma panchang in one call. | | `POST /v1/vedic/kp` | KP chart (Krishnamurti Paddhati) | $0.15 | KP chart: star lord, sub-lord and sub-sub-lord of every graha and Placidus cusp, plus the A/B/C/D significators. | | `POST /v1/vedic/yogas` | Yogas | $0.10 | Rule-based yogas: Pancha Mahapurusha, Gaja-Kesari, Budha-Aditya, Chandra-Mangala, Dhana, Raja, Neecha Bhanga, Kemadruma, Kaal Sarp. | ## Quick start ``` curl -X POST https://astro-agent.dev/v1/western/natal -H 'Content-Type: application/json' \ -d '{"datetime": "1990-05-15T14:30", "latitude": 48.8566, "longitude": 2.3522}' ``` Input for every chart: local birth `datetime` (or `date` + `time`), `latitude`, `longitude`. The time zone and its historical offset are resolved from the coordinates; pass `timezone` (IANA) or an explicit offset to override. Unpaid calls return HTTP 402 with both an x402 offer (`PAYMENT-REQUIRED`) and an MPP offer (`WWW-Authenticate: Payment`); pay with either and retry. Invalid input returns 400 with a `code` and is never charged. ## Docs - [Catalog (free, live prices, schemas, examples)](https://astro-agent.dev/v1/catalog) - [Python client, official (`pip install "astro-agents @ git+https://github.com/aidatatools-dev/astro-agents-clients#subdirectory=python"`)](https://github.com/aidatatools-dev/astro-agents-clients/tree/main/python#readme) - [Full reference](https://astro-agent.dev/llms-full.txt) - [OpenAPI 3.1](https://astro-agent.dev/openapi.json) - [MCP server (Streamable HTTP)](https://astro-agent.dev/mcp) - [A2A agent card](https://astro-agent.dev/.well-known/agent-card.json) - [x402 discovery](https://astro-agent.dev/.well-known/x402) - [Health and versions](https://astro-agent.dev/v1/health) - [Accuracy benchmark vs NASA/JPL Horizons](https://astro-agent.dev/benchmark.md) (summary: https://astro-agent.dev/v1/benchmark) ## Support and policies - Contact: aidatatools@proton.me - [Support](https://astro-agent.dev/support) · [Privacy](https://astro-agent.dev/privacy) · [Terms](https://astro-agent.dev/terms)