Geocoding

Geocodificar una dirección

Convierte una dirección de texto en coordenadas geográficas. Utiliza el servicio OpenStreetMap Nominatim para la geocodificación.

post/geocoding

Request

  • Base URL: https://api.cambio-uruguay.com
  • URL: https://api.cambio-uruguay.com/geocoding
  • Auth: one of:
    • none
    • API key in header X-API-Key

Request body

addressstring required

Dirección a geocodificar

Example request

{
  "address": "18 de Julio 1234, Montevideo, Uruguay"
}

Response

Resultados de geocodificación

display_namestring required

Nombre completo del lugar

latstring required

Latitud

lonstring required

Longitud

boundingboxstring[]

Límites geográficos

Example response

[
  {
    "display_name": "Montevideo, Uruguay",
    "lat": "-34.9011127",
    "lon": "-56.1645314",
    "boundingbox": [
      "-34.9411127",
      "-34.8611127",
      "-56.2045314",
      "-56.1245314"
    ]
  }
]

Changes

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