Western Astrocartography Recommendations API
Rank destinations for a selected focus.
/v1/astrology/calculate- 500 free calls a month
- No card needed
- Failed calculations are free
Request
Make a calculation
Send "operation": "western-astrocartography-recommendations" to POST /v1/astrology/calculate from your server with your API key.
Send these sample parameters under parameters: natal, focus, country_scope, countries, limit, min_population. Use the birth shape shown in the request. For split fields, year/month/day are local calendar integers and hour/minute are local 24-hour time. lat/lng are decimal degrees and tz_str is an IANA time zone or AUTO where shown. Nested datetime and location objects follow the sample. The request uses synthetic inputs where applicable. The sample includes optional settings when relevant.
curl -X POST "$MANTRILO_API_URL/v1/astrology/calculate" \
-H "Authorization: Bearer $MANTRILO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"parameters":{"natal":{"year":1995,"month":9,"day":5,"hour":20,"minute":0,"city":"Paris","lat":48.8566,"lng":2.3522,"tz_str":"Europe/Paris","time_known":true,"house_system":"placidus"},"focus":"home","country_scope":"selected_countries","countries":["FR","ES","PT"],"limit":10,"min_population":100000},"operation":"western-astrocartography-recommendations"}'Response
What comes back.
Illustrative response excerpt
{
"data": {
"operation": "western-astrocartography-recommendations",
"result": {
"results": [
{
"city": {
"name": "Lisbon"
},
"score": 63,
"summary": "Several supportive indicators."
}
]
}
},
"calculated": true
}Western
Build with the result
Display destination names, ranking and scores from data.result. Example field: data.result.results.
A successful call uses one content request. Sandbox and live requests have separate usage totals. Failed calculations are refunded.
Related Western capabilities
Same endpoint, another operation.
Western Astrology Chat API
Add a Western astrology question form.
"operation": "western-natal"Western Natal Chart API
Show a Western birth chart.
"operation": "western-natal-insights"Western Natal Insights API
Explain the main patterns in a Western birth chart.
"operation": "western-chart-similarity"Western Birth Chart Similarity API
Compare a birth chart with a ranked set of similar charts.
"operation": "western-ephemeris"Western Ephemeris API
Show planetary motion for selected dates.
"operation": "western-astrocartography"Western Astrocartography Lines API
Draw planetary lines on a world map.
