Find a Place API
Let a user select a birthplace and time zone.
/v1/astrology/calculate- 500 free calls a month
- No card needed
- Failed calculations are free
Request
Make a calculation
Send "operation": "places" to POST /v1/astrology/calculate from your server with your API key.
Provide a query of 2–100 characters. Optional country is a two-letter uppercase country code. Optional limit is 1–10. Keep the attribution from data.attribution when displaying place data.
curl -X POST "$MANTRILO_API_URL/v1/astrology/calculate" \
-H "Authorization: Bearer $MANTRILO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"New Delhi","country":"IN","limit":2,"operation":"places"}'Response
What comes back.
Illustrative response excerpt
{
"data": {
"operation": "places",
"places": [
{
"name": "New Delhi",
"latitude": 28.6139,
"longitude": 77.209,
"timezone": "Asia/Kolkata"
}
]
},
"calculated": true
}Core
Build with the result
Render data.places as suggestions and keep the selected coordinates and time zone.
A successful call uses one content request. Sandbox and live requests have separate usage totals. Failed calculations are refunded.
Related Core capabilities
Same endpoint, another operation.
Planetary Positions API
Show the planets at a specific instant.
"operation": "panchang"Instant Panchang API
Show Panchang elements at a specific instant.
"operation": "chart"Vedic Birth Chart API
Build a Lahiri birth chart with optional Dasha periods.
"operation": "daily-panchang"Daily Panchang API
Build a local daily Panchang calendar.
"operation": "match"Guna Milan API
Compare two birth profiles in a compatibility view.
"operation": "chart-image"Vedic Chart Image API
Show a North, South or East Indian chart in an app.
