Skip to content
96Astro API

Location astrology

Available

Best Cities for a Goal API

Ranks catalogue cities for one life goal: score, distance, rising and midheaven signs with their lords, and the reasons for each.

  • POST /v1/location-astrology/rank-cities
  • 3 credits
Request
curl https://api.96astroapi.com/v1/location-astrology/rank-cities \  -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,
      "goal": "career",
      "region": "asia",
      "limit": 5
    }'

Overview

Ranks catalogue cities for one life goal: score, distance, rising and midheaven signs with their lords, and the reasons for each.

Call it with POST /v1/location-astrology/rank-cities. Input: birth details. Output: JSON, as a direct response. Each successful call costs 3 credits. It offers 16 options, such as Career, Marriage and Wealth.

  • POST /v1/location-astrology/rank-cities
  • 3 credits
  • Birth details

Options 16

  • Career
  • Marriage
  • Wealth
  • Spiritual
  • Health
  • Education
  • Peace of mind
  • Children
  • Property
  • Romance
  • Fame
  • Foreign settlement
  • Travel
  • Politics
  • Arts
  • Business

Try it

Runs the real calculation, free and without a key, a few times a minute. For more, and for AI readings, get a free sandbox key.

Response

Ready when you are

Press Run it to see the live response here.

Example response

Fields in dataMeasured from 3 real answers to different inputs: a required field was in every one.

  • goalstring
  • regionstring
  • formulaarray of object
  • cities_in_cataloguenumber
  • cities_scorednumber
  • citiesarray of object
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.

FAQ

Best Cities for a Goal API: common questions

4answers

Ask the team
01What does the Best Cities for a Goal API return?

Ranks catalogue cities for one life goal: score, distance, rising and midheaven signs with their lords, and the reasons for each. The response's data object includes goal, region, formula, cities_in_catalogue, cities_scored and cities. See the reference for an example response.

02What input does Best Cities for a Goal need?

Birth details. It accepts 16 options, for example Career, Marriage and Wealth.

03How much does a Best Cities for a Goal call cost?

3 credits per successful call; 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.

Send us feedback

What is it about?