This is the JSON response for the /postcodes/T2Z4M8/
API call. Get the raw JSON or read the API reference.
{ "code": "T2Z4M8", "city": "CALGARY", "province": "AB", "centroid": { "type": "Point", "coordinates": [ -113.977076, 50.946025 ] }, "boundaries_concordance": [], "boundaries_centroid": [ { "url": "/boundaries/alberta-electoral-districts-2017/calgary-peigan/", "name": "Calgary-Peigan", "related": { "boundary_set_url": "/boundary-sets/alberta-electoral-districts-2017/" }, "boundary_set_name": "Alberta electoral district", "external_id": "22" }, { "url": "/boundaries/federal-electoral-districts/48011/", "name": "Calgary Shepard", "related": { "boundary_set_url": "/boundary-sets/federal-electoral-districts/" }, "boundary_set_name": "Federal electoral district", "external_id": "48011" }, { "url": "/boundaries/calgary-wards/ward-12/", "name": "Ward 12", "related": { "boundary_set_url": "/boundary-sets/calgary-wards/" }, "boundary_set_name": "Calgary ward", "external_id": "12" }, { "url": "/boundaries/alberta-electoral-districts-2010/calgary-fort/", "name": "Calgary-Fort", "related": { "boundary_set_url": "/boundary-sets/alberta-electoral-districts-2010/" }, "boundary_set_name": "Alberta electoral district", "external_id": "12" }, { "url": "/boundaries/federal-electoral-districts-2013-representation-order/48011/", "name": "Calgary Shepard", "related": { "boundary_set_url": "/boundary-sets/federal-electoral-districts-2013-representation-order/" }, "boundary_set_name": "Federal electoral district", "external_id": "48011" }, { "url": "/boundaries/federal-electoral-districts-2023-representation-order/48007/", "name": "Calgary East", "related": { "boundary_set_url": "/boundary-sets/federal-electoral-districts-2023-representation-order/" }, "boundary_set_name": "Federal electoral district", "external_id": "48007" }, { "url": "/boundaries/federal-electoral-districts-2003-representation-order/48007/", "name": "Calgary Southeast", "related": { "boundary_set_url": "/boundary-sets/federal-electoral-districts-2003-representation-order/" }, "boundary_set_name": "Federal electoral district", "external_id": "48007" }, { "url": "/boundaries/census-divisions/4806/", "name": "Division No. 6", "related": { "boundary_set_url": "/boundary-sets/census-divisions/" }, "boundary_set_name": "Census division", "external_id": "4806" }, { "url": "/boundaries/census-subdivisions/4806016/", "name": "Calgary", "related": { "boundary_set_url": "/boundary-sets/census-subdivisions/" }, "boundary_set_name": "Census subdivision", "external_id": "4806016" } ], "representatives_centroid": [ { "name": "Tanya Fir", "district_name": "Calgary-Peigan", "elected_office": "MLA", "source_url": "https://www.assembly.ab.ca/txt/mla_home/contacts.csv", "first_name": "Tanya", "last_name": "Fir", "party_name": "United Conservative Party", "email": "Calgary.Peigan@assembly.ab.ca", "url": "https://www.assembly.ab.ca/members/members-of-the-legislative-assembly/member-information?mid=0916&legl=31&from=mla_home", "personal_url": "", "photo_url": "https://www.assembly.ab.ca/images/default-source/members/mla-photos/ph-mla0916.jpg", "gender": "", "offices": [ { "type": "legislature", "postal": "132 Legislature Building, 10800 - 97 Avenue NW, Edmonton, AB" }, { "tel": "1 587 392-8850", "type": "constituency", "postal": "255, 11488 - 24 Street SE, Calgary, AB, Canada" } ], "extra": { "roles": [ "Minister of Arts, Culture and Status of Women" ] }, "representative_set_name": "Legislative Assembly of Alberta", "related": { "representative_set_url": "/representative-sets/alberta-legislature/", "boundary_url": "/boundaries/alberta-electoral-districts-2017/calgary-peigan/" } }, { "name": "Jasraj Hallan", "district_name": "Calgary East", "elected_office": "MP", "source_url": "https://www.ourcommons.ca/Members/en/search?caucusId=all&province=all", "first_name": "Jasraj", "last_name": "Hallan", "party_name": "Conservative", "email": "JasrajSingh.Hallan@parl.gc.ca", "url": "https://www.ourcommons.ca/Members/en/jasraj-hallan(105630)", "personal_url": "", "photo_url": "https://www.ourcommons.ca/Content/Parliamentarians/Images/OfficialMPPhotos/45/HallanJasrajSingh_CPC.jpg", "gender": "M", "offices": [ { "fax": "1 613 947-4566", "tel": "1 613 947-4566", "type": "legislature", "postal": "House of Commons\nOttawa ON K1A 0A6" }, { "fax": "1 403 207-3035", "tel": "1 403 207-3030", "type": "constituency", "postal": "Main office - Calgary\n220-2912 Memorial drive SE\nCalgary AB T2A 6R1" } ], "extra": { "preferred_languages": [ "English" ] }, "representative_set_name": "House of Commons", "related": { "representative_set_url": "/representative-sets/house-of-commons/", "boundary_url": "/boundaries/federal-electoral-districts-2023-representation-order/48007/" } }, { "name": "Evan Spencer", "district_name": "Ward 12", "elected_office": "Councillor", "source_url": "https://www.calgary.ca/council/councillors-and-wards.html", "first_name": "Evan", "last_name": "Spencer", "party_name": "", "email": "", "url": "", "personal_url": "", "photo_url": "https://www.calgary.ca/council/councillors-and-wards/_jcr_content/root/maincontentpar/responsivegrid/grid/column-0-r0/card_set3487_copy/cards/card_item876/image.img.85.640.jpg", "gender": "", "offices": [], "extra": {}, "representative_set_name": "Calgary City Council", "related": { "representative_set_url": "/representative-sets/calgary-city-council/", "boundary_url": "/boundaries/calgary-wards/ward-12/" } }, { "name": "Jyoti Gondek", "district_name": "Calgary", "elected_office": "Mayor", "source_url": "https://www.calgary.ca/council/councillors-and-wards.html", "first_name": "Jyoti", "last_name": "Gondek", "party_name": "", "email": "", "url": "", "personal_url": "", "photo_url": "https://www.calgary.ca/council/councillors-and-wards/_jcr_content/root/maincontentpar/responsivegrid/grid/column-0-r0/card_set3487_copy/cards/card_item5283/image.img.85.640.jpg", "gender": "", "offices": [], "extra": {}, "representative_set_name": "Calgary City Council", "related": { "representative_set_url": "/representative-sets/calgary-city-council/", "boundary_url": "/boundaries/census-subdivisions/4806016/" } } ] }