Prayer Times & Hijri Calendar API

    by Khristian Kopachelli

    1

    Interface with the AlAdhan API for prayer timings, Hijri date conversion, and religious calendar data.

    $9

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Prayer Times & Hijri Calendar API

    Example session with this skill installed

    Show me the prayer times for London, UK for the 15th of June 2024 using the Umm al-Qura calculation method.

    • Read your context and instructions
    • Compiled the prayer times

    I have retrieved the prayer timings for London, UK for the requested date using the AlAdhan API. I applied the Umm al-Qura calculation method (method 4) as specified.

    Prayer Timings for London, UK (15-06-2024)

    PrayerTime
    Fajr02:42
    Sunrise04:42
    Dhuhr13:02
    Asr17:21
    Sunset21:21
    Maghrib21:21
    Isha22:45
    Imsak02:32
    Midnight01:02

    API Configuration Details:

    • Endpoint: GET /v1/timingsByCity/15-06-2024
    • Calculation Method: 4 (Umm al-Qura)
    • Status: 200 OK
    • Cache Status: Valid (TTL ~60min)

    Next steps

    1. Convert these times to a specific local timezone if different from the system default.
    2. Schedule a cron job or notification trigger based on the Isha time.
    3. Use the gregorian-to-hijri endpoint if you need the corresponding Islamic calendar date for this schedule.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Integrating Islamic prayer times and Hijri calendar conversions into your application often leads to trial-and-error with calculation methods and date formatting. This skill provides the precise endpoint reference and query patterns needed to interface with the AlAdhan API without keys or authentication overhead.

    What it does

    • Fetch prayer timings by city and country for current or specific dates.
    • Convert dates between Hijri and Gregorian calendars using standardized formats.
    • Select calculation methods including Umm al-Qura and other global standards (methods 0-20).
    • Optimize queries with specific guidance on selective parameters and rate limiting.

    How it works

    1. Identify the endpoint for either timing retrieval or date conversion tasks.
    2. Configure parameters including required city/country strings or DD-MM-YYYY date formats.
    3. Set the calculation method using the method parameter (e.g., method 4 for Umm al-Qura).
    4. Execute the request via standard curl or HTTP client following the provided patterns.

    Frameworks & tools

    This skill interfaces with the AlAdhan API. It works with any language capable of making HTTP requests such as Python, JavaScript/Node.js, or Go.

    Why this beats prompting it yourself

    Generic LLM prompts often hallucinate API paths or fail to account for the specific calculation method integers required by AlAdhan. This skill provides a verified field guide that ensures your agent uses the correct endpoint structures and respects the API's upstream cache TTL of 60 minutes.

    Use cases

    • Build a prayer time notification service for specific cities.
    • Create a Hijri-to-Gregorian date converter for historical records.
    • Monitor daily prayer schedules for local community dashboards.
    • Generate bulk monthly prayer calendars for specific geographic coordinates.

    Known limitations

    Coverage is restricted to what the upstream public API exposes. Gaps in source data are not fixable at this layer and some responses require normalization before cross-source comparison.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 5 days ago

    Permissions

    Terminal / Shell
    Network Access
    Listed5 days ago

    What's inside

    Frequently Asked Questions

    This skill provides the exact endpoint structures and query patterns needed to interface with the AlAdhan API, preventing common LLM hallucinations regarding calculation methods (0-20) and date formatting.

    The skill is framework-agnostic and works with any AI agent or application capable of making HTTP requests, including those built with Python, Node.js, or Go.

    You receive a verified field guide containing precise endpoint references, parameter configurations for city/country lookups, and standardized Hijri-Gregorian conversion patterns.

    No, this skill is designed to interface with the public AlAdhan API without the need for API keys or complex authentication overhead.

    The skill includes specific guidance on selecting the correct calculation method (such as Umm al-Qura or ISNA) to ensure timings align with local religious standards.

    The skill provides guidance on respecting the API's 60-minute cache TTL and optimizing queries to stay within standard rate limits for public endpoints.

    New in APIs & Backend

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.