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"
        }
    ],
    "representatives_centroid": [
        {
            "name": "Charles Sousa",
            "district_name": "Mississauga\u2014Lakeshore",
            "elected_office": "MP",
            "source_url": "https://www.ourcommons.ca/Members/en/search?caucusId=all&province=all",
            "first_name": "Charles",
            "last_name": "Sousa",
            "party_name": "Liberal",
            "email": "charles.sousa@parl.gc.ca",
            "url": "https://www.ourcommons.ca/Members/en/charles-sousa(114349)",
            "personal_url": "",
            "photo_url": "https://www.ourcommons.ca/Content/Parliamentarians/Images/OfficialMPPhotos/44/SousaCharles_Lib.jpg",
            "gender": "M",
            "offices": [
                {
                    "fax": "1 613 992-4848",
                    "tel": "1 613 992-4848",
                    "type": "legislature",
                    "postal": "House of Commons\nOttawa ON  K1A 0A6"
                },
                {
                    "fax": "1 905 273-5040",
                    "tel": "1 905 273-8033",
                    "type": "constituency",
                    "postal": "Main office - Mississauga\n1077 North Service Road\nSuite 30\nMississauga ON  L4Y 1A6"
                }
            ],
            "extra": {
                "roles": [
                    "Parliamentary Secretary to the Minister of Public Services and Procurement"
                ],
                "preferred_languages": [
                    "English"
                ]
            },
            "representative_set_name": "House of Commons",
            "related": {
                "representative_set_url": "/representative-sets/house-of-commons/",
                "boundary_url": "/boundaries/federal-electoral-districts/35061/"
            }
        }
    ]
}