City List

This API returns city list in Turkey.

API Information

URL

/cityList

Method

POST

Version

1.0

Scope

public

Authorization Flow

Client Credentials


Input Information

This API doesn’t get any input.


Output Information

Name Format Description

City

List< City > City information


City

Name Format Description

CityCode

String City code

CityName

String City name

Example

Request:

{

}

Response:

{
    "Header": {
        "StatusCode": "APIGW000000",
        "StatusDescription": "Completed",
        "ObjectID": "5769340a-6950-4860-82b1-6c254262705f"
    },
    "Data": {
        "City": [            
            {
                "CityCode": "1",
                "CityName": "Adana"
            },
            {
                "CityCode": "2",
                "CityName": "Adıyaman"
            },
            {
                "CityCode": "3",
                "CityName": "Afyonkarahisar"
            },
            {
                "CityCode": "4",
                "CityName": "Ağrı"
            },
            {
                "CityCode": "5",
                "CityName": "Amasya"
            },
            ...
            {
                "CityCode": "81",
                "CityName": "Düzce"
            }
        ]
    }
}