City List

This API returns a list of cities in Turkey.

API Information

URL

/cityList

Method

POST

Version

1.0

Scope

Information Services

Authorization Flow

Client Credentials


Input Information

This service does not receive any input.


Output Information

Name Format Description

CityCode

String City code

CityName

String City name

Example

Request:

{

}

Response:

{
    "Status": {
        "Code": "APIGW000000",
        "Description": "Success",
        "ObjectID": "fb5bf501-915c-4065-8eaa-b9497f97a9d1"
    },
    "Data": {
        "City": [
            {
                "CityCode": "1",
                "CityName": "Adana"
            },
            {
                "CityCode": "2",
                "CityName": "Adıyaman"
            },
            {
                "CityCode": "3",
                "CityName": "Afyonkarahisar"
            },
            {
                "CityCode": "4",
                "CityName": "Ağrı"
            },
            {
                "CityCode": "5",
                "CityName": "Amasya"
            },
            ...
        ]
    }
}