Places

Forward geocoding

Search for a place by name or address and get its coordinates and address.

GET
/v2/search/geocode

Search for a place by name or address and get its coordinates and address.

Query Parameters

query*string

What to look up. URL-encode it.

autocomplete?boolean

Match partial words. Defaults to true.

bbox?string

Only results inside minLng,minLat,maxLng,maxLat.

country?string

Comma-separated ISO country codes, such as et.

language?string

Language for the text in the response.

limit?integer

How many results, from 1 to 10. Defaults to 10.

Range1 <= value <= 10
proximity?string

Prefer results near lng,lat, or ip.

category?string

Comma-separated categories to include.

apiKey*string

Your API key. It has to be in the query string.

Response Body

Matching places, sorted by relevance and distance.

application/json
  1. response
data?
curl -X GET 'https://mapapi.gebeta.app/v2/search/geocode?query=Bole+Road&apiKey=string'
{  "data": {    "query": "Bole Road",    "results": [      {        "id": "forge-416190",        "name": "Bole Road",        "display_name": "Bole Road, Addis Ababa, Ethiopia",        "category": "establishment",        "location": {          "lat": 9.007932,          "lng": 38.765386        },        "address": {          "city": "Addis Ababa",          "country": "Ethiopia",          "country_code": "ET"        },        "neighborhood": "OLYMPIA"      }    ]  }}