Skip to content

Quick Start Guide ​

This guide will help you get started with the Digital Arabic Maqām Archive in just a few minutes.

Installation ​

For API Usage ​

No installation needed! The API is accessible via HTTP requests.

For TypeScript/JavaScript Usage ​

If using the library directly, import from source in your project.

First API Request ​

Let's make your first API call:

bash
# List all maqāmāt
curl https://diarmaqar.net/api/maqamat

This will return a list of all available maqāmāt with basic metadata.

Get Detailed Maqām Data ​

To get detailed data for a specific maqām:

bash
curl "https://diarmaqar.net/api/maqamat/maqam_rast?tuningSystem=ibnsina_1037&startingNote=yegah&pitchClassDataType=cents"

This returns:

  • Complete pitch data in the specified tuning system
  • Ajnās information (always included)
  • Optional intervals, modulations, and suyūr

Explore Further ​

Digital Arabic Maqām Archive Documentation