Islam & Quran AI - #1 Muslim Assistant - v2.3

Islam & Quran AI - #1 Muslim Assistant - v2.3 · GPT Actions

AlAdhan Islamic Utilities API

  • GET /timingsByCityGet daily prayer times by city.
  • GET /qibla/{latitude}/{longitude}Get Qibla direction based on coordinates.
  • GET /gToHConvert Gregorian date to Hijri date.
原始 API 定义
{
  "openapi": "3.1.0",
  "info": {
    "title": "AlAdhan Islamic Utilities API",
    "version": "1.0.2"
  },
  "servers": [
    {
      "url": "https://api.aladhan.com/v1"
    }
  ],
  "paths": {
    "/timingsByCity": {
      "get": {
        "operationId": "getPrayerTimes",
        "summary": "Get daily prayer times by city.",
        "parameters": [
          {
            "name": "city",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "country",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "method",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 2
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Prayer times retrieved."
          }
        }
      }
    },
    "/qibla/{latitude}/{longitude}": {
      "get": {
        "operationId": "getQiblaDirection",
        "summary": "Get Qibla direction based on coordinates.",
        "parameters": [
          {
            "name": "latitude",
            "in": "path",
            "required": true,
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "longitude",
            "in": "path",
            "required": true,
            "schema": {
              "type": "number"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Qibla direction returned."
          }
        }
      }
    },
    "/gToH": {
      "get": {
        "operationId": "getHijriDate",
        "summary": "Convert Gregorian date to Hijri date.",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "example": "2026-01-14"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Hijri date returned."
          }
        }
      }
    }
  }
}

AlQuran Cloud API - Qur'an and Audio

  • GET /ayah/{surah}:{ayah}/{edition}Retrieve a specific Quranic ayah with translation.
  • GET /surah/{surah}/{edition}Retrieve audio recitation of a full surah by qāriʾ edition.
原始 API 定义
{
  "openapi": "3.1.0",
  "info": {
    "title": "AlQuran Cloud API - Qur'an and Audio",
    "version": "1.0.2"
  },
  "servers": [
    {
      "url": "https://api.alquran.cloud/v1"
    }
  ],
  "paths": {
    "/ayah/{surah}:{ayah}/{edition}": {
      "get": {
        "operationId": "getAyah",
        "summary": "Retrieve a specific Quranic ayah with translation.",
        "parameters": [
          {
            "name": "surah",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "description": "Surah number (1–114)"
          },
          {
            "name": "ayah",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            },
            "description": "Ayah number"
          },
          {
            "name": "edition",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "example": "en.asad"
            },
            "description": "Edition or translation code (e.g. en.asad, ar)"
          }
        ],
        "responses": {
          "200": {
            "description": "Ayah text and translation returned."
          }
        }
      }
    },
    "/surah/{surah}/{edition}": {
      "get": {
        "operationId": "getRecitationAudio",
        "summary": "Retrieve audio recitation of a full surah by qāriʾ edition.",
        "parameters": [
          {
            "name": "surah",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "example": 36
            },
            "description": "Surah number (1–114)"
          },
          {
            "name": "edition",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "example": "ar.alafasy"
            },
            "description": "Reciter or qāriʾ edition code"
          }
        ],
        "responses": {
          "200": {
            "description": "Recitation audio URL returned."
          }
        }
      }
    }
  }
}

Sunnah.com Hadith API

  • GET /collections/{collection}/hadiths/{hadith_number}Retrieve hadith text from specified collection.
原始 API 定义
{
  "openapi": "3.1.0",
  "info": {
    "title": "Sunnah.com Hadith API",
    "version": "1.0.2"
  },
  "servers": [
    {
      "url": "https://api.sunnah.com/v1"
    }
  ],
  "paths": {
    "/collections/{collection}/hadiths/{hadith_number}": {
      "get": {
        "operationId": "getHadith",
        "summary": "Retrieve hadith text from specified collection.",
        "parameters": [
          {
            "name": "collection",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "example": "bukhari"
            }
          },
          {
            "name": "hadith_number",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "example": "1"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Hadith and metadata returned."
          }
        }
      }
    }
  }
}

Hajj & Umrah Updates API

  • GET /package_showRetrieve official Hajj and Umrah guidance or announcements.
原始 API 定义
{
  "openapi": "3.1.0",
  "info": {
    "title": "Hajj & Umrah Updates API",
    "version": "1.0.2"
  },
  "servers": [
    {
      "url": "https://data.gov.sa/api/3/action"
    }
  ],
  "paths": {
    "/package_show": {
      "get": {
        "operationId": "getHajjUpdates",
        "summary": "Retrieve official Hajj and Umrah guidance or announcements.",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "example": "hajj-umrah-updates-dataset-id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Hajj/Umrah updates returned."
          }
        }
      }
    }
  }
}