API reference/Economic Indicators/Canadian Representatives by Postal Code

Canadian Representatives by Postal Code

Every elected representative for a Canadian postal code: MP, provincial member, mayor and councillors, with district and party.

GET/api/v1/economy/canada/representatives

Data source

Query parameters

ParameterDescriptionTry value
postcode
string required
Canadian postal code
apikey
string required
Your API key. Can also be sent as the X-API-Key header.demo key used here

Response envelope

Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.