This is the JSON response for the /postcodes/K0A1K0/
API call. Get the raw JSON or read the API reference.
{ "code": "K0A1K0", "city": "CARLSBAD SPRINGS", "province": "ON", "centroid": { "type": "Point", "coordinates": [ -75.419587, 45.343377 ] }, "boundaries_concordance": [], "boundaries_centroid": [ { "url": "/boundaries/federal-electoral-districts-2003-representation-order/35025/", "name": "Glengarry\u2014Prescott\u2014Russell", "related": { "boundary_set_url": "/boundary-sets/federal-electoral-districts-2003-representation-order/" }, "boundary_set_name": "Federal electoral district", "external_id": "35025" }, { "url": "/boundaries/federal-electoral-districts/35031/", "name": "Glengarry\u2014Prescott\u2014Russell", "related": { "boundary_set_url": "/boundary-sets/federal-electoral-districts/" }, "boundary_set_name": "Federal electoral district", "external_id": "35031" }, { "url": "/boundaries/federal-electoral-districts-2023-representation-order/35020/", "name": "Carleton", "related": { "boundary_set_url": "/boundary-sets/federal-electoral-districts-2023-representation-order/" }, "boundary_set_name": "Federal electoral district", "external_id": "35020" }, { "url": "/boundaries/ontario-electoral-districts-representation-act-2015/glengarry-prescott-russell/", "name": "Glengarry\u2014Prescott\u2014Russell", "related": { "boundary_set_url": "/boundary-sets/ontario-electoral-districts-representation-act-2015/" }, "boundary_set_name": "Ontario electoral district", "external_id": "32" }, { "url": "/boundaries/ottawa-wards/osgoode/", "name": "Osgoode", "related": { "boundary_set_url": "/boundary-sets/ottawa-wards/" }, "boundary_set_name": "Ottawa ward", "external_id": "20" }, { "url": "/boundaries/ontario-electoral-districts-representation-act-2005/glengarry-prescott-russell/", "name": "Glengarry\u2014Prescott\u2014Russell", "related": { "boundary_set_url": "/boundary-sets/ontario-electoral-districts-representation-act-2005/" }, "boundary_set_name": "Ontario electoral district", "external_id": "26" }, { "url": "/boundaries/ontario-french-public-school-board-boundaries/conseil-des-ecoles-publiques-de-lest-de-lontari/", "name": "Conseil des \u00e9coles publiques de l'Est de l'Ontari", "related": { "boundary_set_url": "/boundary-sets/ontario-french-public-school-board-boundaries/" }, "boundary_set_name": "Ontario French Public School Board boundary", "external_id": "59" }, { "url": "/boundaries/ontario-english-catholic-school-board-boundaries/ottawa-carleton-catholic-dsb/", "name": "Ottawa-Carleton Catholic DSB", "related": { "boundary_set_url": "/boundary-sets/ontario-english-catholic-school-board-boundaries/" }, "boundary_set_name": "Ontario English Catholic School Board boundary", "external_id": "53" }, { "url": "/boundaries/ontario-french-catholic-school-board-boundaries/csd-catholique-du-centre-est-de-lontario/", "name": "CSD catholique du Centre-Est de l'Ontario", "related": { "boundary_set_url": "/boundary-sets/ontario-french-catholic-school-board-boundaries/" }, "boundary_set_name": "Ontario French Catholic School Board boundary", "external_id": "66" }, { "url": "/boundaries/ontario-english-public-school-board-boundaries/ottawa-carleton-dsb/", "name": "Ottawa-Carleton DSB", "related": { "boundary_set_url": "/boundary-sets/ontario-english-public-school-board-boundaries/" }, "boundary_set_name": "Ontario English Public School Board boundary", "external_id": "25" }, { "url": "/boundaries/federal-electoral-districts-2013-representation-order/35031/", "name": "Glengarry\u2014Prescott\u2014Russell", "related": { "boundary_set_url": "/boundary-sets/federal-electoral-districts-2013-representation-order/" }, "boundary_set_name": "Federal electoral district", "external_id": "35031" }, { "url": "/boundaries/census-divisions/3506/", "name": "Ottawa", "related": { "boundary_set_url": "/boundary-sets/census-divisions/" }, "boundary_set_name": "Census division", "external_id": "3506" }, { "url": "/boundaries/census-subdivisions/3506008/", "name": "Ottawa", "related": { "boundary_set_url": "/boundary-sets/census-subdivisions/" }, "boundary_set_name": "Census subdivision", "external_id": "3506008" } ], "representatives_centroid": [ { "name": "St\u00e9phane Sarrazin", "district_name": "Glengarry\u2014Prescott\u2014Russell", "elected_office": "MPP", "source_url": "https://www.ola.org/en/members/current/contact-information", "first_name": "St\u00e9phane", "last_name": "Sarrazin", "party_name": "Progressive Conservative Party of Ontario", "email": "stephane.sarrazin@pc.ola.org", "url": "https://www.ola.org/en/members/all/stephane-sarrazin", "personal_url": "", "photo_url": "https://www.ola.org/sites/default/files/member/profile-photo/Stephane_Sarrazin.jpg", "gender": "", "offices": [ { "tel": "1 416 325-1079", "type": "legislature", "postal": "Room 153\nMain Legislative Building, Queen's Park\nToronto ON M7A 1A5" }, { "tel": "1 613 632-2706", "type": "constituency", "postal": "290A McGill St.\nHawkesbury, ON K6A 1P8\n1-800-294-8250" } ], "extra": {}, "representative_set_name": "Legislative Assembly of Ontario", "related": { "representative_set_url": "/representative-sets/ontario-legislature/", "boundary_url": "/boundaries/ontario-electoral-districts-representation-act-2015/glengarry-prescott-russell/" } }, { "name": "George Darouze", "district_name": "Osgoode", "elected_office": "Councillor", "source_url": "https://www.arcgis.com/sharing/rest/content/items/a5e9dc2425274bb796d3ded47b0d7b00/data", "first_name": "George", "last_name": "Darouze", "party_name": "", "email": "George.Darouze@ottawa.ca", "url": "https://ottawa.ca/en/city-hall/mayor-and-city-councillors/george-darouze-councillor-ward-20-osgoode", "personal_url": "https://www.georgedarouze.ca/", "photo_url": "https://ottawa.ca/sites/default/files/styles/portrait_lg/public/2022-11/2022-11-01-George-Darouze-Selection-Confirmed.jpg?h=ce0ab006&itok=zF4hUk1m", "gender": "", "offices": [ { "fax": "1 613 580-2530", "tel": "1 613 580-2490", "type": "legislature", "postal": "110 Laurier Avenue West" } ], "extra": {}, "representative_set_name": "Ottawa City Council", "related": { "representative_set_url": "/representative-sets/ottawa-city-council/", "boundary_url": "/boundaries/ottawa-wards/osgoode/" } }, { "name": "Mark Sutcliffe", "district_name": "Ottawa", "elected_office": "Mayor", "source_url": "https://www.arcgis.com/sharing/rest/content/items/a5e9dc2425274bb796d3ded47b0d7b00/data", "first_name": "Mark", "last_name": "Sutcliffe", "party_name": "", "email": "Mark.Sutcliffe@ottawa.ca", "url": "https://ottawa.ca/en/city-hall/mayor-and-city-councillors/mark-sutcliffe-mayor", "personal_url": "https://marksutcliffe.ca/", "photo_url": "https://ottawa.ca/sites/default/files/styles/portrait_lg/public/2022-11/2022-11-01-Mark-Sutcliffe-Selection-1-Confirmed.jpg?h=fe9152b9&itok=EF3CzunI", "gender": "", "offices": [ { "fax": "1 613 580-2509", "tel": "1 613 580-2496", "type": "legislature", "postal": "110 Laurier Avenue West" } ], "extra": {}, "representative_set_name": "Ottawa City Council", "related": { "representative_set_url": "/representative-sets/ottawa-city-council/", "boundary_url": "/boundaries/census-subdivisions/3506008/" } }, { "name": "Bruce Fanjoy", "district_name": "Carleton", "elected_office": "MP", "source_url": "https://www.ourcommons.ca/Members/en/search?caucusId=all&province=all", "first_name": "Bruce", "last_name": "Fanjoy", "party_name": "Liberal", "email": "bruce.fanjoy@parl.gc.ca", "url": "https://www.ourcommons.ca/Members/en/bruce-fanjoy(122850)", "personal_url": "", "photo_url": "https://www.ourcommons.ca/Content/Parliamentarians/Images/OfficialMPPhotos/45/FanjoyBruce_Lib.jpg", "gender": "M", "offices": [ { "fax": "1 613 992-2772", "tel": "1 613 992-2772", "type": "legislature", "postal": "House of Commons\nOttawa ON K1A 0A6" }, { "tel": "1 613 692-7900", "type": "constituency", "postal": "Main office - Manotick\n5542 Ann Street, 3rd floor North\nManotick ON K4M 1A4" } ], "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/35020/" } } ] }