96Astro API

Documentation

Give an AI model real chart data

Let the API calculate, and let the model write. It stops a model making up planetary positions.

A language model cannot calculate planetary positions. Asked directly, it writes something that looks right and is wrong. The fix is to calculate first, and have the model write only from those numbers.

The ready-made way

ai-chat does this for you. It calculates the chart, gives the model only that data, and returns the answer with citations back to the data:

{ "datetime": "1990-10-18T14:30:00", "timezone": "Asia/Kolkata", "latitude": 28.6139, "longitude": 77.209, "question": "When is a good time to change jobs?" }

Use ai-match-chat for a couple, and ai-western-chat for the tropical tradition. Send earlier turns in history, because we keep no chat on our side.

Your own model

  1. Call the capabilities your question needs, such as planet-positions and dasha-at-date.
  2. Put the answers in the prompt as data, and tell the model to use nothing else.
  3. Tell it to say so when the data does not answer the question.
Answer only from this data. If it does not cover the question, say so.
Never state a date, position or number that is not in the data.

DATA:
{ ...the API's answer... }

QUESTION: ...

Using an AI assistant directly

Our MCP server gives assistants such as Claude and Cursor the calculations as tools, so the model calls them itself.

On this page