Astro ChatBot API
Introducing the Astro ChatBot API, a simple and reliable way to let users ask any astrology question in plain language and get one grounded, chart-based answer back. You send a question and the person's birth details; DivineAPI fetches and compresses their chart, and streams back an answer written for a reader, not a developer. This API is designed for websites, mobile apps, chatbots, CRM dashboards, or astrology portals that want a conversational astrology experience instead of static reports.
It supports seven endpoints: one to ask a question inside a stored conversation, four to manage and inspect those conversations and your account, and one liveness check.
API Endpoint
GET https://ask.divineapi.com/balanceGuide: Wallet balance and lifetime usage. No question is asked and nothing is charged. Returns your account name, remaining balance in rupees, total requests, total charged, and how many were blocked by a guardrail and therefore free.
200: OK Answered Successfully
{
"name": "Pilot",
"wallet_inr": 286.7,
"total_requests": 529,
"total_charged_inr": 778.2,
"blocked_free": 0
}Example Code Implementations
Below are example implementations in various programming environments.
cURL
curl "https://ask.divineapi.com/balance?api_key=dk_live_..."