This is the JSON response for the /representatives/house-of-commons/?last_name=Trudeau API call. Get the raw JSON or read the API reference.

{
    "objects": [
        {
            "name": "Justin Trudeau",
            "district_name": "Papineau",
            "elected_office": "MP",
            "source_url": "https://www.ourcommons.ca/Members/en/search?caucusId=all&province=all",
            "first_name": "Justin",
            "last_name": "Trudeau",
            "party_name": "Liberal",
            "email": "justin.trudeau@parl.gc.ca",
            "url": "https://www.ourcommons.ca/Members/en/justin-trudeau(58733)",
            "personal_url": "",
            "photo_url": "https://www.ourcommons.ca/Content/Parliamentarians/Images/OfficialMPPhotos/44/TrudeauJustin_LIB.jpg",
            "gender": "M",
            "offices": [
                {
                    "fax": "1 613 995-0253",
                    "tel": "1 613 995-0253",
                    "type": "legislature",
                    "postal": "House of Commons\nOttawa ON  K1A 0A6"
                },
                {
                    "fax": "1 514 277-3454",
                    "tel": "1 514 277-6020",
                    "type": "constituency",
                    "postal": "Main office - Montr\u00e9al\n1100 Cr\u00e9mazie East\n\nSuite 220\nMontr\u00e9al QC  H2P 2X2"
                }
            ],
            "extra": {
                "roles": [
                    "Prime Minister",
                    "Leader of the Liberal Party"
                ],
                "preferred_languages": [
                    "French  English"
                ]
            },
            "representative_set_name": "House of Commons",
            "related": {
                "representative_set_url": "/representative-sets/house-of-commons/",
                "boundary_url": "/boundaries/federal-electoral-districts/24055/"
            }
        }
    ],
    "meta": {
        "offset": 0,
        "limit": 20,
        "total_count": 1,
        "previous": null,
        "next": null
    }
}