Skip to content
Get API key

Western Wedding Electional Search API

"operation": "western-wedding-electional"

Compare candidate wedding times.

POST/v1/astrology/calculate
  • 500 free calls a month
  • No card needed
  • Failed calculations are free
This capability is marked limited. It may be unavailable for some requests, and it is not in the sandbox. The console shows its current availability.

Request

Make a calculation

Send "operation": "western-wedding-electional" to POST /v1/astrology/calculate from your server with your API key.

Send these sample parameters under parameters: search_window, city, lat, lng, tz_str, max_results. The request uses synthetic inputs where applicable. The sample includes optional settings when relevant.

request.sh
curl -X POST "$MANTRILO_API_URL/v1/astrology/calculate" \
  -H "Authorization: Bearer $MANTRILO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"parameters":{"search_window":{"start":"2026-06-01T09:00:00","end":"2026-06-01T18:00:00","step_minutes":60},"city":"Paris","lat":48.8566,"lng":2.3522,"tz_str":"Europe/Paris","max_results":1},"operation":"western-wedding-electional"}'

Response

What comes back.

Response envelope · operation payload omitted

/v1/astrology/calculate200 OK
{
  "data": {
    "operation": "western-wedding-electional",
    "result": {}
  },
  "calculated": true
}

Western

Build with the result

Display each candidate time and its rationale when the operation is available.

A successful call uses one content request. Sandbox and live requests have separate usage totals. Failed calculations are refunded.