Skip to content

Find matching occupant tags

GET
/occupants/tags
curl --request GET \
--url 'https://geocoder.api.gov.bc.ca/occupants/tags?tag=restaurant&maxResults=6' \
--header 'apikey: <apikey>'

Returns a list of occupant tags (business names or categories) that match the given search string. Useful for auto-complete or tag lookup. Returns up to maxResults matching tags.

tag
string
""

The tag search string to match (prefix match).

Example
restaurant
maxResults
string
default: 6

The maximum number of matching tags to return.

A list of matching tag strings.

Media type*/*
Array<string>