Service health check
GET
/ping
const url = 'https://geocoder.api.gov.bc.ca/ping';const options = {method: 'GET', headers: {apikey: '<apikey>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://geocoder.api.gov.bc.ca/ping \ --header 'apikey: <apikey>'Simple health check endpoint that verifies the geocoder service is operational. Returns HTTP 200 OK if the service is running.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Service is running.