discovery

Resolve a place name to a coordinate

Global place-name search over a locally built index, ranked by prominence with an optional bias point.

When to use: Look up a populated place by name and retrieve its coordinates.

When not to use: Use lookupPlaces for addresses, businesses, brands and mixed destination suggestions. Use discoverPlaces for businesses within a viewport, polygon or travel-time region.

get/places/search

Request

  • Base URL: https://api.mapsource.io
  • URL: https://api.mapsource.io/places/search
  • Auth: HTTP bearer

Query parameters

qstring required

Place name to look up.

limitinteger

Maximum results.

latnumber

Bias results toward this point without excluding distant matches.

lonnumber

Bias results toward this point without excluding distant matches.

class'city' | 'town' | 'village' | 'suburb' | 'neighbourhood' | 'hamlet'

Restrict to one class of populated place.

Response

Resolve a place name to a coordinate

schemastring
querystring

Changes

No recorded changes to this operation across all 1 revision of this API.