Location astrology
AvailableCompare Two Places API
Scores two places per goal under the same birth and date, with each place's angles and KP verdicts, the totals and the overall winner.
- POST /v1/location-astrology/compare-locations
- 1 to 3 credits
curl https://api.96astroapi.com/v1/location-astrology/compare-locations \ -H "Authorization: Bearer $ASTRO_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "datetime": "1990-10-18T14:30:00", "timezone": "Asia/Kolkata", "latitude": 28.6139, "longitude": 77.209, "place_a": { "latitude": 35.6762, "longitude": 139.6503, "label": "Tokyo" }, "place_b": { "latitude": 51.5074, "longitude": -0.1278, "label": "London" }, "as_of": "2026-10-13" }'
Overview
Scores two places per goal under the same birth and date, with each place's angles and KP verdicts, the totals and the overall winner.
Call it with POST /v1/location-astrology/compare-locations. Input: birth details. Output: JSON, as a direct response. The price follows the request: data only, 1 credits; include_image true, 3 credits.
- POST /v1/location-astrology/compare-locations
- 1 to 3 credits
- Birth details
Try it
Response
Ready when you are
Press Run it to see the live response here.
Example response
Fields in dataMeasured from 6 real answers to different inputs: a required field was in every one.
as_ofstringrunningobjectdistance_between_kmnumberplace_aobjectplace_bobjectper_goalobjecttotal_anumbertotal_bnumberoverall_winnerstring
200Example response
Captured from the live engine with a sandbox key (so credits_used is 0) and trimmed: long arrays keep their first items and image data is shortened.
Loading the example…
Request schema and every field: the Location astrology reference.
Related endpoints
- Compare MethodsUtilities
- Astrocartography LinesLocation astrology
- Transit Astrocartography LinesLocation astrology
- Relocated ChartLocation astrology
- Best Cities for a GoalLocation astrology
- Dasha-Aware City RankingLocation astrology
- KP Verdict for a PlaceLocation astrology
- Chara Dasha Schedule (Phaladeepika)Location astrology
01What does the Compare Two Places API return?
Scores two places per goal under the same birth and date, with each place's angles and KP verdicts, the totals and the overall winner. The response's data object includes as_of, running, distance_between_km, place_a, place_b, per_goal, total_a and total_b. See the reference for an example response.
02What input does Compare Two Places need?
Birth details.
03How much does a Compare Two Places call cost?
1 to 3 credits per successful call (by request: data only 1, include_image true 3); a failed call is not charged. Plans and top-ups are on the pricing page.
04Can I try it before paying?
Yes. Every account gets sandbox keys and trial credits, so you can call it from your own code before choosing a plan.


