Gebeta Maps
Geocoding

Forward Geocoding

Find precise location coordinates by searching for a place name, returning an array of matching locations.

Request Sample

curl https://mapapi.gebeta.app/api/v1/route/geocoding?name=bole&apiKey={your-api-key}

Parameters

ParameterTypeDescriptionRequired
namestringThe name of the place you want to search foryes
apiKeystringYour API key for accessing Gebeta Maps.yes

Response Codes for Forward Geocoding API

Status CodeMessageDescription
200OKThe request was successful. The system found a valid route and returned the requested data.
404NoRouteNo route exists between the specified locations. Confirm that the locations are accessible by route.
401Not Authorized - No TokenAuthentication failed. No valid token was provided. Please include a valid authentication token.
401Not Authorized - Invalid TokenThe authentication token provided is either invalid or expired. Use a current, valid token.
422InvalidInputThe request parameters are incorrect. Review the input values and adjust as needed.

Example

fetch('https://mapapi.gebeta.app/api/v1/route/geocoding?name=bole&apiKey={your-api-key}')
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error('Error:', error));

On this page