This is the JSON response for the /postcodes/L5G4L3/?sets=federal-electoral-districts API call. Get the raw JSON or read the API reference.

{
    "code": "L5G4L3",
    "city": "MISSISSAUGA",
    "province": "ON",
    "centroid": {
        "type": "Point",
        "coordinates": [
            -79.581585,
            43.580619
        ]
    },
    "boundaries_concordance": [],
    "boundaries_centroid": [
        {
            "url": "/boundaries/federal-electoral-districts/35061/",
            "name": "Mississauga\u2014Lakeshore",
            "related": {
                "boundary_set_url": "/boundary-sets/federal-electoral-districts/"
            },
            "boundary_set_name": "Federal electoral district",
            "external_id": "35061"
        }
    ]
}