Makani Integration

In the ever-evolving web development landscape, creating intuitive and engaging user experiences is paramount. Integrating third-party services to provide benefits is a great way to achieve this. In this article we will go into detail about the residential addresses and location plans provided by Dubai Municipality. Not only will we explore how to seamlessly integrate it into your website but we will also highlight other benefits including an entrance image, taxi booking and emergency support.

Unveiling Makani’s Potential

Makani, an ingenious addressing system initiated by the Dubai Municipality, has revolutionized location identification in the United Arab Emirates. Each building or location in Dubai is assigned a unique 10-digit Makani code. This innovative system streamlines navigation and destination discovery, making it more accurate and efficient. Integrating Makani into your website can empower your visitors to effortlessly locate specific addresses in Dubai.

A Step-by-Step Guide to Integrating Makani

1. Access the Dubai Municipality Makani Webservice: Begin by visiting the official Dubai Municipality Makani Open Data webpage . This portal offers access to the Makani webservice, granting you access to various endpoints for retrieving location data using Makani codes or coordinates.

https://www.dm.gov.ae/documents/makani-public-web-service-access-pdf/

2. Familiarize Yourself with Documentation: Thoroughly explore the documentation provided on the Dubai Municipality Makani Open Data webpage. The documentation elucidates the available endpoints, request parameters, and response formats, ensuring you’re well-equipped for integration.

3. Overcoming Cross-Origin Restrictions with a Backend: While you might be tempted to make API requests directly from browser-based JavaScript, cross-origin restrictions often hinder this approach. To overcome this challenge, consider implementing a backend solution. A PHP backend, for instance, can act as an intermediary. It can consume the Makani API, process the response, and then forward the result to your website.

4. Exploring the Four Main Methods:

  • Verify Makani Number: This method allows you to validate whether a provided Makani number is valid and exists within the Dubai Municipality’s database. It’s a crucial step to ensure accuracy before proceeding with further actions.
  • Get Makani Number from Lat Lng: With this method, you can input latitude and longitude coordinates and retrieve the corresponding Makani number. This is immensely valuable when you have geographical data and need a Makani number for precise location representation.
  • Get Lat-Lng From Makani: Conversely, this method empowers you to input a Makani number and receive the corresponding latitude and longitude coordinates. This is particularly useful when you have Makani numbers and want to map them on a broader platform.
  • Get Address From Makani: This method completes the circle by enabling you to input a Makani number and receive the associated address details. It’s indispensable for displaying comprehensive location information to users.

5.API Service Document: 

The MAKANI API improves the performance of your website by providing advanced location-based functionality. As you begin this integration journey, refer to the Makani API user documentation for detailed instructions. Your tools are ready to enhance your web user experience with special features and additional benefits. Stay up-to-date with Dubai Municipality official documents and developer resources to ensure your integration is up to date.

6.API Example:

  • Request:https://backend.offplaninvestment.ai/api/makani/fromCoord?latitude=25.196876290451456&longitude=55.278100412176855
  • Reply : refer to this file.