discovery

Look up addresses, businesses and places

Local OSM address/name lookup for map search and routing destination pickers. Supports business categories, partial names, accent normalization and typo matching. Coordinates bias ranking; bounded=true is required to restrict results to bbox. When the global index is unavailable, coverage identifies the regional Overpass and place-name-index fallback. Included in every subscription plan: one successful lookup counts as one request, plus an interpreter request if regional Overpass fallback is used. Search index freshness is independent of the Overpass dataset; read coverage.dataTimestamp.

When to use: Find an address, business, brand, landmark, street or populated place. Use a location qualifier such as Starbucks in Portland to search away from the map focus.

When not to use: Use discoverPlaces to enumerate businesses in a viewport or travel-time region. Ranking scores are not probabilities; bestMatchId is null for ambiguous matches. House numbers are never substituted.

get/places/lookup

Request

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

Query parameters

qstring required

Search text; addresses retain the requested house number.

latnumber

Latitude in decimal degrees.

lonnumber

Longitude in decimal degrees.

limitinteger

Maximum results.

languagestring

Preferred language code. Unavailable translations fall back to source names with a warning.

typesstring

Comma-separated address,business,landmark,street,place filters.

categorystring

Business/POI category or alias, such as coffee, pharmacy, restaurants, groceries, hotels, shops or parks.

countrycodesstring

Comma-separated two-letter country codes. Records without a source country code do not satisfy this filter.

bboxstring

west,south,east,north. A focus hint unless bounded=true; no dateline crossing.

boundedboolean

Restrict results to bbox. A bias point alone never requests this restriction.

Response

Look up addresses, businesses and places

schema'mapsource-lookup.v1'
querystring
bestMatchIdstring nullable
ambiguousboolean
warningsstring[]
coverageobject

Global-index or regional coverage; regional candidate truncation is explicit. A regional fallback may make one additional quota-counted interpreter call.

Changes

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