Skip to content
96Astro API

FAQ

Frequently asked questions

Billing questions are answered on the pricing page.

Getting started

6 questions

01What can the API calculate?

906 capabilities across 27 families: Vedic charts and divisional charts, strengths, dashas, panchang, festivals and muhurta, matching, doshas and yogas, predictions, KP, Jaimini, Lal Kitab, BNN, Tajika, Western, Chinese astrology, Human Design, Tarot, numerology, remedies, reports, location astrology, Vastu, mundane, AI readings, and palm and face readings. See the full catalogue.

02How do I make my first call?

Create an account, confirm your email, then create a sandbox key (sk_test_) under API keys in the dashboard. Send it as Authorization: Bearer sk_test_... with a POST to https://api.96astroapi.com/v1/{family}/{capability}. Sandbox calls run real calculations and cost nothing. The Quickstart has a working example in curl, TypeScript and Python.

03How do I send birth details correctly?

Send the local date and time as written on the birth record, an IANA time zone such as Asia/Kolkata, and the latitude and longitude. The API works out the offset that zone had on that date, including old rules and summer time, so do not convert to UTC yourself. If you only have a fixed offset, send utc_offset instead. geo-search finds a place and its zone. See Birth times and time zones.

04What if the birth time is unknown?

Without a time, the ascendant and houses cannot be known, and Moon-based results can shift. Calculate at both ends of the day, show only what is the same in both, and say plainly that the time is unknown. Sign horoscopes, numerology and Moon-sign readings work without a time when the Moon stays in one sign. See When the birth time is unknown.

05Can I try the endpoints without writing code?

Yes. The API explorer lists every endpoint and sends real requests from your browser with your own key. Use a sandbox key to avoid spending credits. There is also a Postman collection for each family.

06I already use the older 96Astro API. Do I have to move?

No. Your current integration keeps working exactly as it does today, with the same address, requests, responses and terms. When you want to move, we link your agreement to a v1 account, issue separate keys and help you switch endpoint by endpoint. There is no deadline. See Existing customers.

Plans and trial

7 questions

01What do I get in the free trial?

5,000 live credits for 14 days, plus sandbox and live keys, with no card needed. Every family and branded PDF jobs are included; AI readings, audio reports and palm and face readings need a paid plan that includes AI, or a Comet Wallet. Sandbox keys allow 500 calls a day. When the trial ends, your account moves to Spark, the free plan, unless you choose a paid plan.

02What is Spark, the free plan?

After the trial, or when a paid plan ends, the account moves to Spark: 100 live credits on the 1st of every month (UTC) at 1 rate-limit unit a second. Unused credits do not carry over. Every family is included except AI readings and PDF and audio jobs, which return 403 plan_upgrade_required on live keys (sandbox keys can still test PDF jobs). Where you show Spark results publicly, display "Powered by 96Astro API" with a link to 96astroapi.com.

03Which plans are there?

Orbit (one family), Custom Orbit (2 to 6 families you pick), Constellations (ready-made packages such as Matchmaker or Kundli Studio), Cosmos (every family), Observatory (agreed volume and service levels, via sales) and Comet Wallet (credit packs, no subscription). Prices and sizes are on the pricing page; Plans and what they include has the detail.

04How do I know which plan I need?

Use the plan finder on the pricing page. If a live call is outside your plan, it is refused with 403 plan_family_not_included before any credit is used, and the error lists the cheapest plans that include it. Sandbox keys reach every family except AI on every plan, so you can build and test before you buy.

05Which plans include AI readings, PDF reports and live webhooks?

AI readings: Custom Orbit, Constellations other than Almanac Desk and Daily Feed, Cosmos and Comet Wallet. PDF reports: every paid plan that includes the report. Live webhooks: Cosmos, and the Plus and Max sizes of Constellations. Orbit does not include AI readings or live webhooks, and Spark has none of the three on live keys. Sandbox endpoints, sandbox AI and sandbox webhooks work on every plan. See the comparison table.

06Can I change my plan?

Yes, from Billing. Moving to a higher price starts now, you pay the difference for the rest of the term, and access widens at once. Moving to a lower or equal price starts at your next renewal. A prepaid plan cannot move down until its term ends. To switch between monthly, yearly and prepaid, choose again when the term ends.

07I am on Starter, Growth or Business. What happens to me?

Nothing changes. These plans are no longer sold, but you keep the plan, its price, its top-up prices and every family for as long as you keep it. If you move to a current plan, you cannot move back.

Pricing and credits

7 questions

01How do credits work?

Each successful call uses credits from your plan, at the price of that capability. The cost is shown in the API reference and the price list, and returned in meta.credits_used and the X-Credits-Used header. Live secret keys also get X-Credits-Remaining. A single endpoint costs one price class less than the section it is cut from. See Credits and rate limits.

02Are failed calls charged?

No. Errors, refused calls, sandbox calls and the replay of an idempotent request are never charged. A failed PDF, audio job or photo reading is not charged either. A retry with the same Idempotency-Key returns the stored result and charges once. See Idempotency.

03Do unused credits roll over?

Plan credits arrive at the start of each month, on yearly and prepaid terms too, and unused ones end with the month. Top-up credits last until the end of your billing term. Comet Wallet credits last 12 months, and each new purchase extends all you have left. Trial credits end after 14 days, and Spark credits do not carry over.

04What happens when my credits run out?

Live calls return 429 quota_exhausted, never a silent failure or a surprise bill. You can buy a top-up, upgrade, wait for the monthly renewal, or turn on overage with a monthly cap. Sandbox keys keep working within their daily limits.

05What is overage and can it run up a large bill?

Overage is off unless an account owner turns it on under Billing, with a monthly spending cap. Calls then continue at your plan's top-up rate until the cap is reached, and after that stop with 429 spend_cap_reached. We never charge past the cap. Credits are used in this order: plan credits, top-ups, then overage. You get alerts at 50%, 80% and 100% of the cap. See Credits and rate limits.

06What are top-ups, add-ons and the Comet Wallet?

A top-up adds credits to a paid plan until the end of the billing term. An add-on is bought for 1 to 12 months and stops by itself: an extra team seat, a rate boost of 10 more units a second, or priority support. Comet Wallet is a credit pack with no subscription that reaches every family and lasts 12 months; it is the dearest way to buy credits.

07What are the rate limits?

Each plan has a limit in units per second, which is 60 times as many units a minute, shared by all keys of your organization. A call counts units by its compute class: a light call uses 1 unit, and heavy calls and reports use more. Successful responses carry RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset; going over returns 429 rate_limited with Retry-After. Publishable keys also allow 30 calls a minute per visitor IP. See Credits and rate limits.

Billing, GST and invoices

8 questions

01Which currencies and payment methods do you accept?

Accounts with a billing address in India pay in INR, and all others pay in USD. Checkout uses Razorpay, Stripe or PayPal, depending on which are switched on for your country and currency; PayPal charges USD only. The billing country cannot be changed while a plan is active. We never receive or store full card details.

02Do prices include GST?

No. Prices exclude GST, which is added at checkout as Indian law requires: CGST and SGST for a buyer in our state, IGST for any other state. The place of supply is the state of your GSTIN, or your billing-address state if you have none.

03How do I get a GST invoice with my company's GSTIN?

Add your GSTIN and billing address under Billing before you pay. Only an active GSTIN is accepted. Every payment gets a numbered GST invoice and every refund a credit note, both downloadable as PDFs under Billing, and we email you when one is issued.

04Do you invoice customers outside India?

Yes, in USD. Buyers outside India are invoiced for an export of services, zero-rated where we hold a valid Letter of Undertaking; otherwise IGST is added and shown on the invoice. Any other taxes in your country, including withholding taxes, are your responsibility.

05What is the difference between monthly, yearly and prepaid plans?

Monthly renews automatically. Yearly costs 10 months for 12 and renews automatically. Prepaid (3, 6 or 12 months) is one payment at a lower price with no auto-renew and no card mandate, so the plan simply ends with its term. On all of them, plan credits arrive monthly.

06What happens if a renewal payment fails?

The plan gets a 7-day grace period in which live calls still work, and we email you. Plans with webhooks also receive billing.payment_failed. After that, live calls return 402 payment_required until the payment goes through. Sandbox keys keep working.

07How do I cancel, and can I get a refund?

Cancel any time from Billing. The plan and its credits stay until the end of the paid period, then the account moves to Spark. Refunds depend on the plan: no refund for a month that has started on monthly plans, a pro-rata refund of unstarted months within 30 days for yearly and prepaid plans, and none for used top-ups or wallet packs. Refunds go back to the original payment method with a credit note. See the refunds and cancellation policy.

08I was charged twice or charged in error. What now?

A second payment for the same thing is detected and refunded in full automatically. If you were charged for something that was never activated, or charged in error, we refund it in full. Email support@96astroapi.com with the invoice number, and please write before opening a chargeback so we can fix it quickly.

Keys and security

5 questions

01What is the difference between sandbox and live keys?

sk_test_ keys use the sandbox: real calculations, no credits, up to 500 calls a day, and a few daily limits on AI, PDF and audio jobs. sk_live_ keys are for production and use credits. A key works only in its own environment. Sandbox keys reach every family regardless of plan. See Authentication.

02Can I call the API from a mobile app or browser?

Not with a secret key: keys must stay on your server, because anything shipped to a device can be extracted. Have your app call your backend, and your backend call us. The exception is a publishable key (pk_), which is meant for web pages: it works only from the websites you list, only for cheap read-only widget calls, and powers the embeddable widgets. See key restrictions.

03What happens if a key leaks?

Revoke it in the dashboard. Revocation takes effect immediately; then rotate to a new key.

04How do I rotate a key without downtime?

Create the new key, deploy it, then revoke the old one. Both work during the changeover. Give each integration its own key so revoking one never breaks another, and check the "last used" date in the dashboard before you revoke.

05Can I limit what a key can do?

Yes. Scopes limit a key to chosen families or single capabilities (403 key_scope_denied otherwise). An IP allow-list limits a secret key to your servers' addresses (403 ip_not_allowed). Publishable keys need a list of allowed websites. All refused calls are free and use none of your rate limit. See Key restrictions.

Calculations and accuracy

5 questions

01How are positions calculated?

With Swiss Ephemeris, using the ayanamsha, house system and node you choose where a capability offers them. The defaults are Lahiri and the true (osculating) node, and responses echo the settings used where they apply. The accuracy page compares our planet positions with NASA JPL Horizons and publishes the largest differences.

02Which ayanamsha and house systems can I choose?

Sidereal capabilities take an ayanamsha (default lahiri) and the API supports 51 of them; ayanamsha-list lists all 51. Western capabilities take any house system as a one-letter house_system: P Placidus (the default), K Koch, W whole sign, E equal, C Campanus, R Regiomontanus, O Porphyry, M Morinus, T topocentric or B Alcabitius. KP always uses the Krishnamurti ayanamsha and Placidus cusps. An unsupported value is refused with 422, never silently replaced. See Requests and responses.

03Which traditions and systems are covered?

Vedic (Parashari), KP, Jaimini, Lal Kitab, Bhrigu Nandi Nadi, Tajika annual charts, Western, Chinese astrology, Human Design, Tarot and numerology, plus panchang, matching, doshas, remedies, Vastu, location astrology and mundane astrology. Browse them in the catalogue, or see Classical methods.

04Which languages are supported?

AI readings, and most calculations and reports, answer in 26 languages: English, Hindi, Bengali, Marathi, Telugu, Tamil, Gujarati, Urdu, Kannada, Odia, Malayalam, Punjabi, Assamese, Nepali, Sinhala and the major international languages. The text is machine-written and has not been reviewed by native speakers. Send language with an ISO 639-1 code; meta.language states the language the answer is in, and a capability that does not offer the language you ask for refuses it with 422 unsupported_language. Add labels (for example "labels": "ta") to any request to get the signs, planets, nakshatras, tithis and other terms in another language alongside the English. The languages page lists every capability's languages. Field names, IDs and values never change with language.

05Can I get chart drawings?

Yes. Send "include_image": true with image_style of north, south, east or western. Images come as SVG, base64 SVG or PNG, in light, dark or print themes, with a chosen width, and optionally as short-lived signed URLs for <img src>. These options are free; you pay the capability's credits. See Requests and responses.

AI readings

4 questions

01What are AI readings?

Capabilities such as ai-insight, ai-chat, ai-lens and ai-general, in which a language model writes an interpretation from chart data we compute, so the text is tied to real positions. Answers carry citations that point to the data behind each fact. You choose a tier (fast, balanced or deep), and for chat a persona. The text is AI-generated and can be wrong, so say so to your users. See AI assistants and streaming.

02How are AI readings priced?

By the model's measured cost, inside a minimum and ceiling for the tier. The ceiling is reserved before the call and you are charged only what was used, never more than the ceiling. Sandbox keys can try them free, limited to 20 a day on the fast tier. Every key is limited to 10 AI readings a minute.

03Can I stream answers and keep a conversation?

Yes. Send "stream": true or Accept: text/event-stream to get Server-Sent Events word by word. /v1/conversations keeps the turns of a chat about one chart, so you do not resend the history. Conversations are deleted 30 days after the last message, or at once on DELETE. See Streaming and AI chat.

04Can I connect Claude, ChatGPT or Cursor to the API?

Yes. A hosted MCP server at https://api.96astroapi.com/mcp lets an AI assistant find a calculation, read its input and call it with your key. Start with a sandbox key: with a live key, every calculation the assistant runs spends credits. See AI assistants and MCP.

PDF and audio reports

4 questions

01Can I get a report as a PDF or as audio?

Yes. Any report can run as a background job: a white-label, branded PDF, or a spoken MP3 with your choice of voice, tone and length. See Audio reports. You can also create audio reports, listen to them and download them from your dashboard.

02Can I put my own brand on a PDF?

Yes, as a white-label PDF. Send branding with the job: brand name, accent colour, a PNG or SVG logo, company details, website, email, phone and a footer note. Without it the PDF is plain. You can also choose the document language and the chart style (north, south or east).

03What does a PDF or audio report cost, and how long is the file kept?

A PDF costs the report's credits plus a fixed PDF charge, reserved when the job is accepted. Audio costs the report's credits plus 800 credits for each minute you ask for. A failed job releases the reservation and costs nothing. Files are private, kept for 7 days, and served through signed links that expire after about a day; poll the job for a fresh link. Sandbox keys can create 5 PDF or audio jobs a day.

04How does audio work?

POST /v1/jobs/audio turns a report into an MP3 with 18 voices and 12 styles, in 31 languages including Hinglish, in 1 to 30 minutes. A two-voice podcast format and an optional music bed are available. The voice is AI-generated, so tell your listeners. See Audio reports.

Palm and face readings

3 questions

01Can the API read a palm or a face?

Yes, from one photo, by a vision model. A whole reading costs one call, and each section can be asked for alone. The person in the photo must have agreed, and we do not store the photo. See Palm and face readings.

02What are the rules for photo readings?

Send consent: true on every call: the person agreed and is an adult, or a guardian agreed. Photos are used for that one call and not stored. The model is told never to identify anyone, infer race, religion, caste, sexuality, disability or age, or diagnose illness. Readings are for reflection and must not be used to make decisions about a person. A photo that cannot be read returns 422 image_not_usable and is not charged.

03Can I save a reading instead of paying again?

Yes. Add "keep": true to a whole palm or face reading and it is saved for 1 to 90 days (default 30). Reading it back, by section too, is free and identical every time. Only the reading is kept, never the photo. A PDF of a reading is made from the saved reading and costs only the PDF.

Webhooks, jobs and saved charts

3 questions

01How do webhooks work?

We send an HTTPS POST to your server when something happens: a PDF or audio job finishes or fails, credits run low, a payment fails, overage starts, or a saved chart reaches an astrology event. Add endpoints under Webhooks; each has its own secret. Live endpoints need Cosmos or the Plus or Max sizes of Constellations, and every plan can add sandbox endpoints. See PDF and audio jobs, and webhooks.

02How do I verify a webhook and handle retries?

Compute HMAC-SHA256 of {id}.{timestamp}.{body} with your endpoint secret and compare it with each v1= value in Astro-Signature, in constant time. Refuse timestamps more than 5 minutes old. Answer with a 2xx within 10 seconds; failures are retried 8 times over about 45 hours. Events can repeat or arrive out of order, so deduplicate on Astro-Webhook-Id. Code samples are in the docs.

03What are saved charts?

A saved chart stores one person's birth under a label, so later calls send chart_id instead of the birth fields. It can also subscribe to astrology events (a dasha beginning, Sade Sati changing, a slow planet changing sign, an eclipse on the chart), each delivered as a signed webhook. Saved charts cost no credits and need a secret key. See Saved charts.

SDKs and integrations

2 questions

01Which programming languages have a client?

TypeScript (@96astro/api on npm), Python (astro96-api on PyPI), PHP (96astro/api on Packagist), Java and Android (com.96astroapi:astro96-api on Maven Central), .NET (Astro96.Api on NuGet), Ruby (astro96 on RubyGems), Swift (Swift Package Manager), Dart/Flutter (astro96_api on pub.dev), Go (go get github.com/96astro/astro96-go) and Rust (astro96-api on crates.io) have official SDKs on their registries, with retries and idempotency built in. Any language with an HTTP client can call the API, and the OpenAPI document works with code generators. See SDKs.

02What about Java, Android, .NET, Ruby and Swift?

These are official SDKs, with one method per capability, retries and idempotency keys, published on their registries: Maven Central (com.96astroapi:astro96-api, for Java and Android), NuGet (Astro96.Api), RubyGems (astro96) and Swift Package Manager (github.com/96astro/astro96-swift). See SDKs for the install line of each. Standard HTTP clients also work well: see Platforms for examples.

Widgets and WordPress

3 questions

01What are the widgets?

One small script (about 14 KB gzipped) that draws panchang, daily horoscope, kundli, matching and AI chat panels on your page. They call the API from the visitor's browser with a publishable key, so you need no server code. See Widgets and the live preview.

02Do widgets use my credits?

Yes. A widget's calls spend your live credits (or count toward sandbox limits with a test key), within a separate rate allowance so a busy widget cannot slow your server. AI chat spends real credits on every answer, so it is off unless you switch it on for that key; use a dedicated key with a tight origin list.

03Is there a WordPress plugin?

Yes. It adds blocks and shortcodes for panchang, horoscope, kundli, matching, a Western wheel and numerology, and calls the API from your server so the key is never in a page. With WooCommerce, any product can be a personalised PDF or MP3 report. It has been submitted to the WordPress.org directory (as astro96-api) and is awaiting review; until then, download it from the SDKs page.

Data and privacy

5 questions

01Do you store the birth details we send?

Request bodies are not stored in usage logs; responses kept for idempotent replay are deleted after 24 hours. Calculation results may be cached for up to 15 minutes, keyed by the calculation input alone; the cache holds no account data. Report PDFs are private, served through expiring links, and deleted after 7 days. AI conversations you keep with the conversations API are deleted 30 days after their last message, and hosted chart images are kept for 24 hours after the last request that produced them.

02Can we sign a data-processing agreement?

Yes, on every plan. Read the data processing agreement and email us to get a signed copy.

03Who is responsible for our end users' data?

You are the controller (the Data Fiduciary under India's DPDP Act, 2023) and we are your processor. You need a lawful basis, any notice and consent the law requires, and to answer your users' requests; we help with data we hold. Send only what a calculation needs: the API does not need names, emails or phone numbers. See the terms and privacy policy.

04Where is the data hosted, and do you train AI on it?

The website, API, calculation engine, database and backups run on a server in Germany. We do not use your API data to train AI models and we do not sell personal data. Third parties that receive data are listed on the subprocessors page; see Security for encryption and retention.

05Can I export or delete my data?

Yes. Under Your data in the dashboard, an account owner can ask for an export, or for the account to be deleted. Deletion revokes keys, removes webhooks, team data, stored files and support messages, and anonymises the organization. Tax records are kept for the period the law requires (invoices for 8 years).

Support and service levels

5 questions

01How do I contact support?

Email support@96astroapi.com or use the support form. You can also reach us by phone or WhatsApp on +91 70420 08700. Quote the request_id from a failing call so we can find it quickly. For volume, capacity or contract questions, use Talk to sales.

02How fast will you reply?

First-response targets are: Spark and the trial, by email, best effort; Comet Wallet, Orbit, Constellations and Custom Orbit, within 2 business days; Cosmos Rise and Zenith, within 1 business day; Cosmos Apex, within 8 business hours in a priority queue. Business hours are Monday to Friday, 10:00 to 18:00 IST, excluding Indian public holidays. The priority support add-on gives any paid plan the priority queue. See service levels.

03What uptime do you promise?

Orbit, Constellations and Custom Orbit target 99.5% monthly uptime, and Cosmos 99.9%. Spark, the trial and Comet Wallet have no uptime commitment. If we miss the target, you get a service credit of 10% of that month's fee (25% below 99.0%). Claim within 30 days of the month's end. Observatory terms are set in your agreement. See service levels.

04Where can I see if the API is down?

On the status page, which shows the live state and history, checked every minute. Maintenance windows and switched-off capabilities answer 503 with maintenance or temporarily_unavailable and are never charged. Retry 503 and 504 errors with exponential backoff; see Errors.

05How do I report a security problem?

Email support@96astroapi.com with "Security" in the subject and enough detail to reproduce it. Please do not access other customers' data, disrupt the service or publish details before we have fixed it. See Security.

Account and team

5 questions

01How do I sign up and sign in?

Create an account with email and password, or with Google when shown. You must confirm your email before you can sign in. After that you can sign in with your password, Google, or a one-time 6-digit code sent by email. Two-factor sign-in with an authenticator app is optional for customers. Sessions last 7 days.

02How do I add teammates, and what can each role do?

Owners and admins invite people from Team. Roles are Owner, Admin, Developer, Billing and Viewer, and every page checks your role on the server. Invitations last 7 days and must be accepted with the email address they were sent to. See Teams and projects.

03How many team members and projects does my plan allow?

Seats range from 1 (Trial, Spark, Comet Wallet and Orbit) to 2 (Constellations and Custom Orbit), 3 (Cosmos Rise), 5 (Cosmos Zenith) and 20 (Cosmos Apex). Active projects range from 1 to unlimited on Cosmos Apex. Extra seats can be bought as an add-on. The full table is in Teams and projects.

04What are projects and project budgets?

Projects separate apps, clients or environments, each with its own keys and usage. On Cosmos Apex and Observatory a project can also have a monthly credit budget; a call that would pass it returns 429 project_budget_exceeded and is not charged. See Teams and projects.

05What happens to keys when a teammate leaves?

Keys belong to projects, not people, so they keep working unless you revoke them. When you remove a member, tick Also revoke the keys they created if you want them gone, and review the key list.

Send us feedback

What is it about?