Migration guide
Change one URL. Your requests and responses keep the same format.
- AstrologyAPI.com100 of 177endpoints answered here
- VedicAstroAPI125 of 129endpoints answered here
- Prokerala43 of 69endpoints answered here
The rest go to your old vendor automatically, once its login is saved.
We help you move, free of cost. Email developer@bestastroapi.in with the API you use now.
Move in 4 steps
- Get a key. Sign in and create one.
- Save your old API login in the dashboard, Migration. It is encrypted and never shown again.
- Change the base URL and the key in your code (table below).
- Raise the number in the URL from 0 to 100 when you are happy.
Example: AstrologyAPI
- const BASE = "https://json.astrologyapi.com/v1/";
+ const BASE = "https://api.bestastroapi.in/rollout/10/astrologyapi/v1/";Prefer AI? Copy the migration prompt.
Your new URL
| From | Old URL | New URL | Key |
|---|---|---|---|
| AstrologyAPI.com100 of 177 endpoints | https://json.astrologyapi.com/v1/ | https://api.bestastroapi.in/rollout/10/astrologyapi/v1/ | Basic: any user id, your key as passwordor x-astrologyapi-key: your key |
| VedicAstroAPI125 of 129 endpoints | https://api.vedicastroapi.com/v3-json/ | https://api.bestastroapi.in/rollout/10/vedicastroapi/v3-json/ | api_key=your key |
| Prokerala43 of 69 endpoints | https://api.prokerala.com/ | https://api.bestastroapi.in/rollout/10/prokerala/ | client_id = key idclient_secret = your key |
The percentage is in the URL
https://api.bestastroapi.in/rollout/10/astrologyapi/v1/
^^ percent we answer| Number | What happens |
|---|---|
| 0 | Your old API answers everything. We compare in the background. |
| 10 | We answer for 10% of people. |
| 50 | We answer for half. |
| 100 | We answer everything. |
- We split by the birth details in the request. One person's kundli, dasha and charts stay on one side.
- Raising the number only adds users. Nobody moves back.
- To roll back, lower the number.
- If your old API is down, we answer, so your app keeps working.
- Without a saved old login, only 100 works. Others answer
rollout_not_ready. - At 100 you can also use
/compat/in place of/rollout/100/. - The dashboard shows the match rate and every difference.
Check before you move
Send your old logs to Compare and see every field that differs.
What is covered
| Family | AstrologyAPI | VedicAstroAPI | Prokerala |
|---|---|---|---|
| Planets | planets, planets/extended, ashtakvarga, shadbala, KP | all 13 horoscope/... (planets, charts, ashtakvarga, aspects, reports) | planet-position, ashtakavarga, KP, bhava, upagraha |
| Birth / astro details | birth_details, astro_details, numerology, reports | all 18 extended-horoscope/... (KP, shadbala, jaimini, varshaphal, yogas) | birth-details, kundli, kundli/advanced, yoga |
| Charts | horo_chart/{D1..D60}, horo_chart_image | horoscope/divisional-charts, chart-image, ashtakvarga-chart-image | divisional-planet-position, chart |
| Dasha | all vimshottari, char and yogini dasha | all 12 dashas/... (vimshottari, char, yogini) | dasha-periods |
| Matching | all 11 match_... | 9 of 11 matching/... (ashtakoot, dashakoot, rajju, bulk) | kundli-matching, porutham, papasamyam |
| Doshas | manglik, kalsarpa, sadhesati, pitra, gems, puja | all 5 dosha/..., sade sati | mangal-dosha, kaal-sarp-dosha, sade-sati (with advanced) |
| Panchang | basic, advanced and planet panchang, chaughadiya, hora | all 13 panchang/... (muhurtas, sun and moon, festivals) | panchang, choghadiya, hora, periods, chandra bala |
| Place search | geo_details, timezone_with_dst | all 5 utilities/... (places, gems, vastu) | location script (place box) |
| Western, predictions, tarot | western horoscope, transits, solar return, synastry | all 29 western/..., 9 prediction/..., 12 tarot/... (our own text) | sent to your old vendor |
- With your old login saved, a call we do not answer goes to your old vendor. Your app never breaks.
- VedicAstroAPI: against their own samples, 57 match exactly and 112 match in shape.
- Where times differ, we give the true moment. Example: a tithi end that the old vendor gives 25 minutes early.
Place search
- Already have coordinates? Nothing changes.
- AstrologyAPI and VedicAstroAPI place calls work with the new URL.
- Prokerala uses a script on your page. Replace it with our place box.
- Keep the coordinates you saved for old users. Lists and positions can differ a little.
- Place calls are not part of the match rate.
Known differences
- Vendor-written text (meaning, remedies, lucky stone) is empty. We do not copy it.
- Tara koota follows the standard rule. Some vendors use the opposite one.
- Manglik percentage uses our own formula. Vendors do not publish theirs.
- Positions can differ by 20 to 30 arcseconds from a less exact vendor.
- Dasha dates can differ by 1 to 2 days where a vendor counts calendar years.
- Raman and KP ayanamsa can differ by up to 11 arcseconds.
Vendor names belong to their owners. We are not affiliated with them.