District List

This API returns a list of districts according to the cities in Turkey.

API Information

URL

/districtList

Method

POST

Version

1.0

Scope

Information Services

Authorization Flow

Client Credentials


Input Information

Name Format Description Required/Optional

CityCode

String City code Required


Output Information

Name Format Description

DistrictName

String District name

DistrictCode

String District code

Example

Request:

{
	"CityCode": "06"
}

Response:

{
    "Status": {
        "Code": "APIGW000000",
        "Description": "Success",
        "ObjectID": "36b0b729-a914-409b-ac47-a219aa6be8ac"
    },
    "Data": {
        "District": [
            {
                "DistrictName": "Elmadağ",
                "DistrictCode": "1302"
            },
            {
                "DistrictName": "Güdül",
                "DistrictCode": "1365"
            },
            {
                "DistrictName": "Haymana",
                "DistrictCode": "1387"
            },
            {
                "DistrictName": "Kalecik",
                "DistrictCode": "1427"
            },
            ...
        ]
    }
}