This service is based on the Arabic dialect classification module of CAMeL Tools. CAMeL Tools is a suite of Arabic natural language processing tools developed by the CAMeL Lab at New York University Abu Dhabi.
Details: https://camel-tools.readthedocs.io/en/latest/api/dialectid.html
This Dialect Identification system can identify between 25 Arabic city dialects as well as Modern Standard Arabic.