Swagger Editor
9
1
{"openapi":"3.0.1","info":{"title":"RoutiGo Geocoding REST API","contact":{"name":"RoutiGo Team","url":"https://www.routigo.com","email":"team@routigo.com"},"version":"1.0"},"servers":[{"url":"https://api.routigo.com/api"}],"tags":[{"name":"Geocoding","description":"This API provides the following functionality: \n**Geocode Addresses**: A solution to convert addresses into accurate longitudes and latitudes. \n\n**Reverse Geocoding**: Transform geographic coordinates into human-readable addresses effortlessly."}],"paths":{"/v1/geocoding/geocode":{"get":{"tags":["Geocoding"],"summary":"Convert addresses into accurate longitudes and latitudes.","description":"Obtain geographic coordinates for a given address or perform a free-format search. Choose between providing a free-text address using the 'address' query parameter or use structured parameters for more granular control.","operationId":"geocode","parameters":[{"name":"address","in":"query","description":"Free-text address for a free-format search.","required":true,"example":"RoutiGo, maarssen, utrecht"},{"name":"streetName","in":"query","description":"Name of the street.","required":true,"example":"Bisonspoor"},{"name":"houseNumber","in":"query","description":"Number of the building or house.","required":true,"example":3002},{"name":"houseNumberAddition","in":"query","description":"Additional information for the house number, if applicable (e.g., apartment number or building section).","required":true,"example":"A 901"},{"name":"postcode","in":"query","description":"Postal code of the area.","required":true,"example":3605},{"name":"cityName","in":"query","description":"Name of the city or locality.","required":true,"example":"Maarssen"},{"name":"countryCode","in":"query","description":"ISO 3166-1 alpha-2 country code.","required":true,"example":"NL"}],"responses":{"200":{"description":"Successful response with geocoded coordinates or address details.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeocodingResults"}}}},"400":{"description":"There was a problem with the request itself. See the response for a more detailed error description."},"401":{"description":"Authent![]()
![]()