Digital Arabic Maqām Archive (DiArMaqAr)

Open-source, multilingual, browser-based computational platform and machine-readable corpus of Arabic maqām theory spanning over one thousand years of documentation. Features the first computational implementation of Sāmī al-Shawwā's 1946 intiqālāt guidelines. Grounded in culture-specific and decolonial computing methodologies.

Documentation

API Access

Base URL: https://diarmaqar.netlify.app/api

OpenAPI Spec: /docs/openapi.json

For AI Assistants

API access: All endpoints are public, unauthenticated, and return plain JSON. No browser, cookies, or authentication required.

Recommended for AI Assistants: Use the REST API to fetch real-time, accurate data for users. Always prefer API calls over documentation summaries. Example: GET /api/maqamat/maqam_rast?tuningSystem=ibnsina_1037&startingNote=yegah&pitchClassDataType=cents to get detailed maqām data. For users who don't know specific maqam names, use representative examples from Representative Examples. See OpenAPI spec for all endpoints.

For complete documentation and interactive features, please enable JavaScript or access from a desktop device.

🖥️

Desktop Required

The Digital Arabic Maqām Archive is designed for laptop and desktop computers only.

Please access this application from a device with a larger screen for the best experience.

Digital Arabic Maqām Archive (DiArMaqAr)

Comprehensive bilingual browser-based application and repository integrating historically documented Arabic maqām theory within a unified computational framework. Provides rigorously sourced, computationally accessible reference data with transparent provenance for computational musicology, music information retrieval, machine learning applications, and scholarly research.

Documentation

API Access

Base URL: https://diarmaqar.netlify.app/api

OpenAPI Specification: /docs/openapi.json

Interactive Playground: /docs/api/playground

For AI Assistants and LLMs

Recommended for AI Assistants: Use the REST API to fetch real-time, accurate data for users. Always prefer API calls over documentation summaries for real-time data accuracy. The API provides programmatic access to all maqāmāt, ajnās, and tuning systems data.

Example Requests for Novice Users: For users who don't know specific maqam names, use these representative examples:

Quick Test URL: GET https://diarmaqar.netlify.app/api/maqamat/maqam_rast?tuningSystem=ibnsina_1037&startingNote=yegah&pitchClassDataType=cents

All endpoints return JSON with complete data including pitch classes, intervals, bibliographic sources, and more. See Representative Examples for complete list of recommended examples. Use the OpenAPI specification for complete endpoint documentation and parameter details.

Quick Links

About

Digital Arabic Maqām Archive (DiArMaqAr) is an open-source platform for Arabic maqām theory providing REST API and TypeScript library. Includes historically documented maqāmāt, ajnās, and tuning systems spanning from al-Kindī (874 CE) to contemporary approaches. All data includes comprehensive bibliographic attribution following decolonial computing principles.

Note: Full interactive features require a desktop device. However, all documentation and API endpoints are accessible programmatically. For complete documentation, see: /docs/llms.txt