This is the JSON response for the /boundaries/toronto-wards-2018/centroid API call. Get the raw JSON or read the API reference.

{
    "objects": [
        {
            "name": "Don Valley East",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.33298307049493,
                    43.73971967501285
                ]
            }
        },
        {
            "name": "Etobicoke-Lakeshore",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.52087054631912,
                    43.62164878864557
                ]
            }
        },
        {
            "name": "Don Valley West",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.3753612656603,
                    43.72840075889285
                ]
            }
        },
        {
            "name": "Scarborough North",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.25467034276721,
                    43.80967391853659
                ]
            }
        },
        {
            "name": "University-Rosedale",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.39431224956856,
                    43.67114018210597
                ]
            }
        },
        {
            "name": "Spadina-Fort York",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.38733560724818,
                    43.635801297544724
                ]
            }
        },
        {
            "name": "Davenport",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.44405037130906,
                    43.66935483342086
                ]
            }
        },
        {
            "name": "York South-Weston",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.49337260252571,
                    43.69495374466498
                ]
            }
        },
        {
            "name": "Don Valley North",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.36003932715407,
                    43.78760308060638
                ]
            }
        },
        {
            "name": "Eglinton-Lawrence",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.4338461436749,
                    43.71831629494774
                ]
            }
        },
        {
            "name": "Etobicoke Centre",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.55252701676034,
                    43.66443385100261
                ]
            }
        },
        {
            "name": "Etobicoke North",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.58467123107592,
                    43.719409813251644
                ]
            }
        },
        {
            "name": "Parkdale-High Park",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.46734309591625,
                    43.650120849684974
                ]
            }
        },
        {
            "name": "Toronto-St. Paul's",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.4139873040851,
                    43.69053009074875
                ]
            }
        },
        {
            "name": "Scarborough-Agincourt",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.3081363311284,
                    43.79648590354776
                ]
            }
        },
        {
            "name": "Scarborough Centre",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.27661410575871,
                    43.7527402307212
                ]
            }
        },
        {
            "name": "Scarborough-Guildwood",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.21466456778637,
                    43.765800495564754
                ]
            }
        },
        {
            "name": "Scarborough-Rouge Park",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.17685103921572,
                    43.80565418102799
                ]
            }
        },
        {
            "name": "Scarborough Southwest",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.25978904250549,
                    43.7136280859651
                ]
            }
        },
        {
            "name": "Beaches-East York",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.30667407750994,
                    43.68927152233702
                ]
            }
        },
        {
            "name": "Willowdale",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.41649996767849,
                    43.77688740097211
                ]
            }
        },
        {
            "name": "York Centre",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.46780765337418,
                    43.75256879776807
                ]
            }
        },
        {
            "name": "Humber River-Black Creek",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.53027139578181,
                    43.75072621441007
                ]
            }
        },
        {
            "name": "Toronto-Danforth",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.33925166569755,
                    43.665980133695044
                ]
            }
        },
        {
            "name": "Toronto Centre",
            "centroid": {
                "type": "Point",
                "coordinates": [
                    -79.37010160521132,
                    43.660143627306276
                ]
            }
        }
    ]
}