Ephemerides

Five daily prayer times

Prayer times over the same compute kernel, so they inherit the elevation correction. Every major calculation school is supported, with selectable Asr method.

get/v1/ephemerides/prayer-times/

Request

  • Base URL: https://thirdtrail.life
  • URL: https://thirdtrail.life/v1/ephemerides/prayer-times/
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sessionid

Query parameters

asr_method'hanafi' | 'shafi'

Asr shadow rule: shafi (default) or hanafi.

auto_elevationboolean

Look the elevation up from the coordinates. Paid plans only.

auto_timezoneboolean

Derive the timezone from the coordinates. Paid plans only.

daysinteger

Number of days to return, from 1. The ceiling is the plan's max_forecast_days; exceeding it returns 400 naming the limit.

elevationnumber double

Metres above sea level, -500 to 9000. The differentiating input: sunrise at 2000 m is measurably earlier than the sea-level answer most APIs return. Omit to use auto_elevation, or default to 0.

langstring

Language for localised names, e.g. moon phase. Paid plans only.

latnumber double required

Latitude in decimal degrees, -90 to 90.

lonnumber double required

Longitude in decimal degrees, -180 to 180.

school'egyptian' | 'isna' | 'karachi' | 'mwl' | 'uaq' required

Calculation school: mwl, isna, egyptian, karachi, or uaq (Umm al-Qura).

start_datestring

First day, YYYY-MM-DD. Historical dates are plan-gated.

tzstring

IANA timezone for output timestamps, e.g. Europe/Dublin.

utc_offsetstring

Fixed offset instead of tz, e.g. +01:00.

Response

No response body

Changes

No recorded changes to this operation across all 1 revision of this API.