Compare Two Places API
AvailableScores 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. Each successful call costs 1 credit.
- Endpoint
- POST /v1/location-astrology/compare-locations
- Input
- Birth details
- Output
- JSON
- Delivery
- Direct response
- Cost
- 1 credit
- Compute class
- Standard
Example response
Fields in data (inferred from the example)
as_of· stringrunning· objectdistance_between_km· numberplace_a· objectplace_b· objectper_goal· objecttotal_a· numbertotal_b· numberoverall_winner· string
Example response
Captured from the live engine with a sandbox key (so credits_used is 0) and trimmed: long arrays keep their first items and images are replaced by a placeholder.
Loading the example…
Request schema and every field: the Location astrology reference.
Compare Two Places API: common questions
What 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.
What input does Compare Two Places need?
Birth details.
How much does a Compare Two Places call cost?
1 credit per successful call; a failed call is not charged. Plans and top-ups are on the pricing page.
Can 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.