An astrology bot for WhatsApp or Telegram

One chat thread, one conversation id, a chart the bot actually reads.

A messaging bot is the lowest-friction way to put an astrologer in front of people - no app to install. The chat endpoint is built for it: you pass the user's birth details and their message, keep one conversation id per chat thread, and get back an answer grounded in their chart rather than generic horoscope text.

4 endpoints across 4 stages. Updated .

Worth knowing first

People do not know their birth time - say so

In a chat, "what time were you born?" is often answered "no idea" or "around noon". Send time_certainty: "unknown" or "rough" with the birth details: the reply then leans on signs and the dasha chain and caveats anything that depends on the ascendant or houses, instead of confidently reading houses from a made-up time.

Stage 1

Collect birth details in the conversation

Ask for date, time and place across a few messages, resolve the place to coordinates and the UTC offset that applied on that date, and store them against the chat. See the birth time guide for the offset trap.

Stage 2

Every message

Use the messaging platform's chat id as the conversation_id: reusing it is what gives the bot memory of the thread. Messaging bots usually send whole replies, so the non-streaming endpoint is the natural fit.

Stage 3

Questions about a partner

"Are we compatible?" is the most common second question. Add the partner's birth details to the same call.

Stage 4

History and privacy

Users ask to see or wipe what was said. Conversations are listable per key; a thread can also start as temporary (off the record) on its first message.

Quick answers

Which endpoints does a whatsapp & telegram bots build use?
3 endpoints across 4 stages: Birth Chart (Kundli) (POST /v1/charts/birth); AI Astrologer Chat (POST /v1/chat/respond); Chat Conversation History (GET /v1/conversations).
What goes wrong first?
People do not know their birth time - say so. In a chat, "what time were you born?" is often answered "no idea" or "around noon". Send time_certainty: "unknown" or "rough" with the birth details: the reply then leans on signs and the dasha chain and caveats anything that depends on the ascendant or houses, instead of confidently reading houses from a made-up time.

Start

One key covers all of it

Every endpoint above takes the same bearer token and returns the same envelope. Free tier covers 1,000 requests / month. Pick your language in the quickstarts, or run any of these without a key in the playground.