Astrology API for your website or app
Kundli, readings, panchang, matching and rashifal, plus booking, video rooms and ready client documents, all with one key. REST and JSON, with answers in Hindi, Gujarati and English.
First call in two minutes
Base address https://dsixtyapi.com/v1. Send your key in the X-API-Key header. Every answer is {"ok": true, "data": ...}; errors carry a code, a plain message and a request id.
# a kundli (1 unit) curl -X POST https://dsixtyapi.com/v1/kundli \ -H "X-API-Key: dsx_test_..." -H "Content-Type: application/json" \ -d '{"birth": {"date": "1991-03-12", "time": "05:40", "tz": "Asia/Kolkata", "latitude": 18.52, "longitude": 73.86}}'
import os, requests r = requests.post("https://dsixtyapi.com/v1/kundli", headers={"X-API-Key": os.environ["DSIXTY_KEY"]}, json={"birth": {"date": "1991-03-12", "time": "05:40", "tz": "Asia/Kolkata", "latitude": 18.52, "longitude": 73.86}}) chart = r.json()["data"] print(chart["lagna"]["sign"])
What you can call
Units come from your monthly plan; session credits pay for video sessions beyond your plan. Every answer shows the units charged in its headers.
| Area | Endpoints | Cost |
|---|---|---|
| Kundli and charts | POST /v1/kundli, /v1/chart/svg, /v1/kundli/pdf | 1, 1 and 5 units |
| Readings | POST /v1/kundli/house, /v1/kundli/graha | 2 units |
| Panchang and muhurta | GET /v1/panchang/day, /v1/panchang/month, POST /v1/muhurta | 1 to 3 units |
| Matching and doshas | POST /v1/matching, /v1/dosha | 1 to 2 units |
| Rashifal and transits | GET /v1/rashifal, POST /v1/gochar | 1 to 3 units |
| Numerology, KP, varshaphal, Yogini, Western, Chinese | POST /v1/numerology, /v1/kp, /v1/varshaphal ... | 1 to 2 units |
| Video sessions and booking | /v1/meet/hosts, /slots, /bookings, /confirm, /reschedule, /cancel | free calls; ₹599 per confirmed session |
Bookings with video
Create a host (the astrologer) with weekly hours and a session type once. Then for each client:
# 1. open times for a session type curl "https://dsixtyapi.com/v1/meet/slots?service_id=SERVICE_ID&days=7" -H "X-API-Key: dsx_live_..." # 2. hold the time while the client pays on your site curl -X POST https://dsixtyapi.com/v1/meet/bookings -H "X-API-Key: dsx_live_..." -H "Content-Type: application/json" \ -d '{"host_id": "HOST_ID", "service_id": "SERVICE_ID", "start": "2026-11-02T19:00:00+05:30", "client": {"name": "Meena", "email": "[email protected]"}, "birth": {...}, "question": "Should I change my job this year?"}' # 3. payment taken: confirm (1 session credit). Both join links come back. curl -X POST https://dsixtyapi.com/v1/meet/bookings/BOOKING_ID/confirm -H "X-API-Key: dsx_live_..."
Webhooks: booking.held, booking.confirmed, booking.rescheduled, booking.cancelled, booking.expired, session.started, session.ended, session.no_show, documents.requested, documents.ready, documents.failed, summary.ready.
Tools that save you time
Widgets
Rashifal, panchang and kundli for any page, with one script tag and a public key locked to your domain.
AI apps and chatbots
Tool definitions for OpenAI, Anthropic and Gemini, an MCP server and short text answers.
Questions
How do I test without paying?
Make a test key in the dashboard. It is free: 1,000 units a month with real answers, 20 test bookings (up to 30 minutes) with real video rooms.
How do I know when a session's documents are ready?
Add a webhook address in the dashboard. Make them with POST /v1/meet/bookings/{id}/documents (the astrologer's notes and remedies go in the body); we send documents.ready when they are ready, signed with your secret. We never mail the PDF to the client: share client_pdf_url or the file your way. The booking (GET /v1/meet/bookings/{id}) shows the same.
Can I get the presentation and PDF without a video session?
No. They are made for confirmed video sessions, so they always match a real consultation.
Can I embed the video room?
Yes. The join links open a page that works inside an iframe on your site, with camera and microphone allowed for the frame.
Which ayanamsa and houses?
Lahiri (Chitrapaksha) and whole-sign houses, classical Parashari methods, Vimshottari and Yogini dashas, D1 to D60. KP uses Placidus cusps.
Start with a free test key
Every API, the booking page and sample documents work on a free test key. Pay only when you go live.