Skip to content
BestAstroAPI

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

  1. Get a key. Sign in and create one.
  2. Save your old API login in the dashboard, Migration. It is encrypted and never shown again.
  3. Change the base URL and the key in your code (table below).
  4. 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

FromOld URLNew URLKey
AstrologyAPI.com100 of 177 endpointshttps://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 endpointshttps://api.vedicastroapi.com/v3-json/https://api.bestastroapi.in/rollout/10/vedicastroapi/v3-json/api_key=your key
Prokerala43 of 69 endpointshttps://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
NumberWhat happens
0Your old API answers everything. We compare in the background.
10We answer for 10% of people.
50We answer for half.
100We 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

FamilyAstrologyAPIVedicAstroAPIProkerala
Planetsplanets, planets/extended, ashtakvarga, shadbala, KPall 13 horoscope/... (planets, charts, ashtakvarga, aspects, reports)planet-position, ashtakavarga, KP, bhava, upagraha
Birth / astro detailsbirth_details, astro_details, numerology, reportsall 18 extended-horoscope/... (KP, shadbala, jaimini, varshaphal, yogas)birth-details, kundli, kundli/advanced, yoga
Chartshoro_chart/{D1..D60}, horo_chart_imagehoroscope/divisional-charts, chart-image, ashtakvarga-chart-imagedivisional-planet-position, chart
Dashaall vimshottari, char and yogini dashaall 12 dashas/... (vimshottari, char, yogini)dasha-periods
Matchingall 11 match_...9 of 11 matching/... (ashtakoot, dashakoot, rajju, bulk)kundli-matching, porutham, papasamyam
Doshasmanglik, kalsarpa, sadhesati, pitra, gems, pujaall 5 dosha/..., sade satimangal-dosha, kaal-sarp-dosha, sade-sati (with advanced)
Panchangbasic, advanced and planet panchang, chaughadiya, horaall 13 panchang/... (muhurtas, sun and moon, festivals)panchang, choghadiya, hora, periods, chandra bala
Place searchgeo_details, timezone_with_dstall 5 utilities/... (places, gems, vastu)location script (place box)
Western, predictions, tarotwestern horoscope, transits, solar return, synastryall 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.
  • 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.

Welcome! How will you use it?

We'll show you what matters to you. You can switch any time at the top.