Search – GET /v1/search
name returns ranked place matches from the CSD gazetteer (no key needed). Add
near=lat,lon and a key to also search POIs by name within a 2 km radius, which
reports whether a named POI is in the data and as what type.
POI search is area-scoped and keyed; confidence is never returned.
curl "https://aportee.ca/v1/search?name=Fickle%20Fig&near=48.43,-123.37&key=YOUR_KEY"| Param | Required | Description |
|---|---|---|
name |
yes | Name to search for. |
near |
no | lat,lon to scope the POI-name search. Keyed tier only. |
lang |
no | en | fr. |
key |
no | API key (unlocks the POI search). |
Without near (or without a key), the response returns places only and a detail
explaining that POI search needs an area scope.